Can not boot Ubuntu 22.04, dual boot installation, no GRUB loader
Mia Lopez
good people,
I am trying to dual boot Windows 10 and latest LTS Ubuntu (22.04 Jammy Jellyfish), first time installation was sucesuful on second drive, but when restarted it did not show bootloader menu and just booted to Windows.
I am asuming that it has something with boot/efi because I did not alocated space for it, just for root and swap.
Now it wont boot USB flash drive at all, tried another drive, tried another .iso, another Linux distribution, tried Fedora.
Can only boot when change from UEFI to Legacy, but after initial screen it just show CLI and frozes. PC definitely support UEFI because I installed Ubuntu already before.
Is GRUB missing, how to repair it?
52 Answers
It appears that OS probe is disabled in GRUB 2.06 that is shipped with 22.04, so you have found the "gotcha". However, it can be resolved by editing the grub config file to enable successful probing for other OS's.
- Use your installation media to boot into a live session.
- Mount the installed, but unobtainable partition if not already done automatically.
- Edit /etc/default/grub eg
sudo gedit /etc/default/grubin a terminal. - Add the live
GRUB_DISABLE_OS_PROBER=false - Save and exit
- In a terminal, run
sudo update-grub - Reboot the system.
Grub should then appear with your Windows and Ubuntu installation choices.
Credit should be given to this answer in a related question, and the source for that on OMG! Ubuntu!. Finally, credit is due to Christopher Barnett from the Explaining Computers Youtube channel who first alerted me to this issue.
2Might be a related problem as I just upgraded 20.04 to 22.04 and was getting boot errors. I found the following article on the Ubuntu community forum which solved my problem:
This basically rebuilds grub.