I'm not getting any option to select the OS. The laptop directly boots into Ubuntu (my main OS) even though kali linux is properly installed in about 300 gb. A technical support will be appreciated.
Regards
I'm not getting any option to select the OS. The laptop directly boots into Ubuntu (my main OS) even though kali linux is properly installed in about 300 gb. A technical support will be appreciated.
Regards
sudo update-grub
, but don't you also needsudo grub-install
afterwards? I haven't used grub in a few years, but you used to. – terdon Nov 28 '19 at 17:50update-grub
will detect installed OSs and will write a new/boot/grub/grub.cfg
file. What I am not completely sure about is whether or not that new file is actually read by grub on boot or if it is copied somewhere bygrub-install
. The old grub (grub1) used to be able to read the file directly and manually editing it would change the menu, but I seem to recall that grub2 does not and you might need thegrub-install
command to make the new config take effect. But, as I said, I'm not sure. – terdon Nov 28 '19 at 19:11/boot/grub/grub.cfg
have shown up directly on the grub menu after runninggrub-install
including any customization or new OS. However,update-grub
must be run from the OS that installed the current grub menu or the changes will not take effect. The only time I've had to rungrub-install
is to repair or replace a broken grub using this method. – mchid Nov 28 '19 at 19:36/boot/grub/grub.cfg
, you would need to runupdate-grub
andgrub-install
on Kali for the changes to take effect because the current grub is linked to Ubuntu. – mchid Nov 28 '19 at 19:40