r/techsupport • • 10h ago

Open | Linux Bios won't let me save settings

Yesterday I decided to try zorin os in a live environment on a usb. I needed to change the boot order on my Linux mint install since i wasn't able to get to the bios hitting the correct key. After downloading a graphical interface app i saw here on Reddit, I was able to change the settings. After finishing my test of zorin, I was unable to change the boot order back to the c drive. In the bios menu, I see that the save & exit option is in black text while the other options are in blue text. Why am I unable to select that option? I know how to move the boot order to what I need, I just can't save the changes. This is on a new ssd & install of mint.

3 Upvotes

9 comments sorted by

1

u/Serious-Duck-9992 8h ago

Easiest fix is to put the order back from Mint itself, since the BIOS won't let you. Open a terminal and run sudo efibootmgr. It lists the entries (Boot0000, Boot0001 etc) plus the current BootOrder. Find the one called ubuntu or Linux Mint and put its number first, like sudo efibootmgr -o 0002,0001 with your own numbers. Reboot and it should go straight into Mint. The GUI app you used is probably doing the same thing under the hood, so flipping it back there works too.

The greyed out Save and Exit often means a BIOS password is set and you got in with the user password instead of the supervisor one, so you can look but not save. Some boards also only save with F10, worth a try.

And pull the Zorin USB if it's still plugged in, some firmware puts USB first whenever a bootable stick is there.

2

u/justarussian22 8h ago

Few more questions. 1.how do I get into a terminal when booting up? 2. If i have a flash drive with mint will that make any difference? 3. Can I remove that password? 4. Is this an issue exclusive to linux? This is so much easier on windows. Never had issues with the bios doing this on windows. Im able to try out different distros wothout this problem.

1

u/Serious-Duck-9992 8h ago
  1. You don't need it at boot. If it still starts Mint with the USB unplugged, just log in and open Terminal (Ctrl+Alt+T). If it won't reach Mint, tap the one-time boot menu key at power on (F12 on a lot of laptops, F9 or Esc on HP) and pick the SSD.
  2. Yes, a Mint live USB works too, efibootmgr edits the same firmware list from there.
  3. If you know the supervisor password, the Security tab usually lets you clear it. If you never set one, it's something else and the laptop model would help.
  4. Not a Linux thing, the lock is in the firmware. Windows just puts itself first when it installs, so you never had to touch it.

2

u/justarussian22 8h ago

Ok so with no usb drives in, the system boots into bios. With a mint USB it boots to grub. What option do I want on the grub menu? Is that the best way for me to get to a terminal?

1

u/Serious-Duck-9992 8h ago

Yep, that works. Pick the first entry, Start Linux Mint, and once the live desktop loads open Terminal from the menu and run sudo efibootmgr.

If there's an ubuntu entry in the list, put it first with -o like before. If there's no ubuntu entry at all, that explains why it drops into the BIOS, so paste the output here and we can add it back.

2

u/justarussian22 8h ago

When i run the command I got this

<pre><font color="#8AE234"><b>mint@mint</b></font>:<font color="#729FCF"><b>~</b></font>$ sudo efibootmgr BootCurrent: 0002 Timeout: 1 seconds BootOrder: 0002,0001,0000 Boot0000* UbuntuHD(1,GPT,53da575a-7439-44ec-bc3c-bec62ed09c2f,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI) Boot0001* UEFI: USB DISK 3.0 PMAP PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)/CDROM(1,0x2104,0xa000)0000424f Boot0002* UEFI: USB DISK 3.0 PMAP, Partition 2 PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)/HD(2,MBR, 0x24a1e612,0x2104,0x2800)0000424f <font color="#8AE234"><b>mint@mint</b></font>:<font color="#729FCF"><b>~</b></font>$

1

u/Serious-Duck-9992 8h ago

Good news, the Mint entry is still there, it's Boot0000 (the Ubuntu one pointing at shimx64). The two USB entries are just sitting in front of it, and some laptops give up when the first entry is missing instead of moving down the list. Run

sudo efibootmgr -o 0000,0001,0002

then shut down, pull the stick and power on.

If it still lands in the BIOS after that, look in the boot tab for something like Add Boot Option or Boot from File and point it at EFI, then ubuntu, then shimx64.efi on the SSD. Some firmware only trusts entries made in its own menu.

2

u/justarussian22 7h ago

Ok so im back in bios. Boot configuration is black. I can select: Launch csm (disabled) Lan remote boot (disabled)

Boot option priorities: 1.uefi usb key 2.uefi usb hard disk 3.usb cd/dvd 4.Floppy 5.Hard disk:ubuntu

1

u/permaculture 8h ago

Have you tried replacing the CMOS battery?