F5F Stay Refreshed Software Operating Systems Problems with Grub setup

Problems with Grub setup

Problems with Grub setup

M
MCKeyblade81
Member
72
11-28-2022, 05:43 PM
#1
Hello everyone, I’ve had a dual boot setup with Windows and Linux Mint before. When I attempted to switch to Ubuntu, things went wrong. After resetting everything, cleaning the Windows installer, and reinstalling both OSes, I noticed that when I boot into GRUB, it loads settings from my Linux Mint installation instead of the Ubuntu one. This is unusual and confusing. What could cause this, and how can I resolve it?
M
MCKeyblade81
11-28-2022, 05:43 PM #1

Hello everyone, I’ve had a dual boot setup with Windows and Linux Mint before. When I attempted to switch to Ubuntu, things went wrong. After resetting everything, cleaning the Windows installer, and reinstalling both OSes, I noticed that when I boot into GRUB, it loads settings from my Linux Mint installation instead of the Ubuntu one. This is unusual and confusing. What could cause this, and how can I resolve it?

S
sironip
Member
191
11-28-2022, 07:52 PM
#2
It seems both Linux distributions added the grub boot loader to separate spots. You should open your BIOS settings and see if multiple grubs are recognized, then adjust the boot sequence to favor the Ubuntu installation.
S
sironip
11-28-2022, 07:52 PM #2

It seems both Linux distributions added the grub boot loader to separate spots. You should open your BIOS settings and see if multiple grubs are recognized, then adjust the boot sequence to favor the Ubuntu installation.

F
Floppie20
Member
51
11-30-2022, 08:21 AM
#3
Launch your fresh distribution and run sudo update-grub. In the BIOS, confirm you’re using the correct storage device with your GRUB bootloader selected.
F
Floppie20
11-30-2022, 08:21 AM #3

Launch your fresh distribution and run sudo update-grub. In the BIOS, confirm you’re using the correct storage device with your GRUB bootloader selected.

A
anza16
Junior Member
45
12-05-2022, 08:50 AM
#4
Some distributions install grub into the EFI partition, along with it's configuration files. Not all do, but that is one valid way to install grub. What this means, is that even after deleting all partitions of the said Linux installation, it's grub might still linger on and have it's configuration in the EFI partition. You can even have many grub installation in the EFI partition. If for whatever reason the default UEFI entry is the old grub UEFI entry, updating grub settings from the current Linux OS will not fix things - unless the said command also ensures the grub instance it is controlling is also the default UEFI entry (which, IMHO, it should not do unless the user specifically ask it to do it, since there might be situations where the user does not want it to be the default on purpose). Overall there is too much guesswork with the level of information OP has provided. Post your whole partition layout and contents of the root of the EFI partition and "EFI" folder on the EFI partition. That way people here can help you =).
A
anza16
12-05-2022, 08:50 AM #4

Some distributions install grub into the EFI partition, along with it's configuration files. Not all do, but that is one valid way to install grub. What this means, is that even after deleting all partitions of the said Linux installation, it's grub might still linger on and have it's configuration in the EFI partition. You can even have many grub installation in the EFI partition. If for whatever reason the default UEFI entry is the old grub UEFI entry, updating grub settings from the current Linux OS will not fix things - unless the said command also ensures the grub instance it is controlling is also the default UEFI entry (which, IMHO, it should not do unless the user specifically ask it to do it, since there might be situations where the user does not want it to be the default on purpose). Overall there is too much guesswork with the level of information OP has provided. Post your whole partition layout and contents of the root of the EFI partition and "EFI" folder on the EFI partition. That way people here can help you =).