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-installafterwards? I haven't used grub in a few years, but you used to. – terdon Nov 28 '19 at 17:50update-grubwill detect installed OSs and will write a new/boot/grub/grub.cfgfile. 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-installcommand 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.cfghave shown up directly on the grub menu after runninggrub-installincluding any customization or new OS. However,update-grubmust 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-installis 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-grubandgrub-installon Kali for the changes to take effect because the current grub is linked to Ubuntu. – mchid Nov 28 '19 at 19:40