Loss of Grub when upgrading from 20.04 LTS to 22.04LTS?

Hello, is there a loss of grub with this upgrade (from 20.04 LTS to 22.04LTS? thank you Have a nice day

We are not aware of any major issues such as described.

But like any software upgrade - whether minor or major you should keep really good backups of all your data. Clonezilla/Timeshift and Deja Dup should be used regularly - especially before a major uplift like 20.04 to 22.04.

1 Like

is your system a dual boot configuration?

yes dual boot with windows 11

In addition, Ubuntu no longer shows other installed operating systems in the boot menu when upgrading, unless you are doing a fresh install and already have another operating system installed.

Do you have somehow access to the /etc/default/grub?
The line GRUB_TIMEOUT_STYLE=menu must be present. If not, alter or insert it.

After all: sudo update-grub in the termnal. Reboot.

This may be the GRUB_DISABLE_OS_PROBER issue.
What I would do is; first at the command line do a sudo update-grub
See if you can see the windows partitions. If not then;
edit file /etc/default/grub
add the line GRUB_DISABLE_OS_PROBER=false
sudo update-grub
reboot

Thanks for your answers, I will try

Actually, you don’t need to dig around in the terminal and enable os-prober anymore. Ubuntu automatically detects other operating systems now, but only at install time.

@Basilcat he was doing an upgrade.

@makitso I upgraded from Kubuntu 21.10 to 22.04 and never had to probe around in grub to let it show windows.

1 Like