Forum › Forums › New users › New Users and General Questions › EFI boot order
- This topic has 4 replies, 4 voices, and was last updated Feb 1-4:32 pm by blur13.
-
AuthorPosts
-
January 30, 2021 at 11:50 am #51153Member
blur13
Hi!
The latest “sudo apt upgrade” of Linux Mint 20.1, which included a new kernel, changed the EFI boot order of my system. I usually have AntiX boot first, and thus get its grub menu. Now I get the Linux Mint grub menu, so its placed itself first in the EFI boot order. I have three computers with AntiX/Linux Mint installed, and this happened on all three computers, so its not a one-off. Not a big issue, I thought, and used efibootmgr to change the boot order, placing AntiX back to where it used to be. This worked on two of my computers. On the third, it did not. This is a 10 year old desktop. I get the following error “Could not prepare Boot variable: No space left on device.”
Is this a firmware issue?
Why did the latest apt upgrade of Linux Mint change the EFI boot order? This has never happened before, even with kernel upgrades.
This wouldn’t be a huge deal, except on this desktop booting into ubunto doesnt present me with a grub menu (yes, I’ve changed the grub config file so the menu should appear). Instead it seems to “time out” and boot directly into ubuntu. This has been an issue from the start so I was relieved when after installing AntiX, it placed itself at the front of the EFI boot order and got the grub menu working, so I could easily choose operating system. Now I’m back to hitting F10 at startup and using the bios boot menu to choose AntiX, which then presents the grub menu, and then choosing the operating system. Obviously not an optimal solution.
I’d provide the inxi -Fxz output but I’m not at the desktop at the moment. I’ll append it later.
Any help appreciated!
January 30, 2021 at 2:28 pm #51158Member
Xecure
::Probably Linux mint received a grub update, and after installation it re-ordered the EFI boot order.
On the 10 year old computer, make sure that it is EUFI boot and not legacy boot. If it is UEFI boot, give us the output of the different efibootmgr commands you used.
If it is Legacy boot, re-enter the antiX installation through the BIOS, as you did before, and launch the Boot Repair program (Control Centre > Maintenance > Boot Repair). You will need to reinstall grub and after that Repair grub. This will place antiX grub first.antiX Live system enthusiast.
General Live Boot Parameters for antiX.January 30, 2021 at 4:11 pm #51166Member
fatmac
::If memory serves me right, update grub in the distro you want to boot first should work.
(Been a long time since I dual booted.)
Linux (& BSD) since 1999
January 30, 2021 at 4:33 pm #51171Moderator
caprea
::If you want antiX to take the control again for grub, boot into antiX and from there in terminal
sudo grub-install /dev/sdawhere sda is the device where antiX is installed, specifying the partition is not appropriate here
This always helped me in similar situations
February 1, 2021 at 4:32 pm #51284Member
blur13
::The solution provided by Xecure (Boot Repair program) worked!
Thank you all for the helpful suggestions!
-
AuthorPosts
- You must be logged in to reply to this topic.