Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

Can not boot Ubuntu 22.04, dual boot installation, no GRUB loader

Writer 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?

5

2 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.

  1. Use your installation media to boot into a live session.
  2. Mount the installed, but unobtainable partition if not already done automatically.
  3. Edit /etc/default/grub eg sudo gedit /etc/default/grub in a terminal.
  4. Add the live GRUB_DISABLE_OS_PROBER=false
  5. Save and exit
  6. In a terminal, run sudo update-grub
  7. 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.

2

Might 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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy