Hello!
I'm using Lenovo Ideapad 700-15ISK and recently they've published a BIOS update that fixes some battery issues. After flashing the BIOS it no longer recognizes my NVMe SSD as bootable. I tried running Mint off USB and I can still see all partitions on the disk intact. I have dual-boot on it (Windows 10 and Mint 14 Cinnamon 64-bit, I believe). I've tried switching boot options between UEFI and Legacy but that made no changes, it just won't recognize anything bootable on the SSD and run GRUB.
I've googled about the problem but found nothing helpful. On most places they recommend booting off an USB and selecting "Rescue a broken system" but I don't see that option anywhere. Since I can't find a solution anywhere I've decided to register on the forum and ask about this.
Any help would be appreciated!
Cannot access GRUB or boot the OS after BIOS upgrade
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Cannot access GRUB or boot the OS after BIOS upgrade
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Cannot access GRUB or boot the OS after BIOS upgrade
I guess flash-the-BIOS will reset any battery-backed RAM settings too. Did you need to tweak anything when you first installed Mint, like the access mode for your main storage?
Re: Cannot access GRUB or boot the OS after BIOS upgrade
I've tried all options in BIOS. UEFI, secure boot off, secure boot on, Legacy, etc.
I've tried command and a few variations of it in order to point BIOS to where GRUB actually is but even though the entry was visible in BIOS, it didn't boot anything.
I've tried
Code: Select all
efibootmgr -c -d /dev/nvmed1 -p 7 -l \\EFI\\linuxmint\\grubx64.efi -L GRUB
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Cannot access GRUB or boot the OS after BIOS upgrade
You need to boot from a CD/DVD or flash drive, then identify Mint's root partition on the machine.
These instructions assume that your boot partition is /dev/sda1 and your root / partition is /dev/sda2. You need to assure yourself that these assumptions are correct before proceeding and make the necessary adjustments if needed.
If Mint's root partition is /dev/sda2 then the command is:
Next, you need to chroot into the installation on your machone:
Next, you need to identify the boot partition, probably /dev/sda1:
When that's done, ctrl-d a few times to exit out of the chroot jail and the terminal. Now you can reboot and try again.
These instructions assume that your boot partition is /dev/sda1 and your root / partition is /dev/sda2. You need to assure yourself that these assumptions are correct before proceeding and make the necessary adjustments if needed.
If Mint's root partition is /dev/sda2 then the command is:
Code: Select all
sudo mount /dev/sda2 /mnt
Code: Select all
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
Code: Select all
grub-install --recheck /dev/sda
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Cannot access GRUB or boot the OS after BIOS upgrade
Does your machine's EFI setup have an option for selecting a "trusted EFI file" to boot? If so this has probably been wiped; I had to select the efi file (in /efi/boot/ IIRC) in order to get an Acer ES1 to boot (otherwise "No bootable device"). I left "Secure Boot" on.
EDIT: See there have been two more replies, forgot to refresh.
EDIT: See there have been two more replies, forgot to refresh.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Lenovo T440 - Manjaro KDE with Mint VMs
Toshiba NB250 - Manjaro KDE------------------------Acer Aspire One D255E - LM21.3 Xfce
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----… Two ROMS don't make a WRITE …
Toshiba NB250 - Manjaro KDE------------------------Acer Aspire One D255E - LM21.3 Xfce
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----… Two ROMS don't make a WRITE …
Re: Cannot access GRUB or boot the OS after BIOS upgrade
I went onto catweazel's method and halfway, while mounting the EFI partition realized that my EFI path I used in my efibootmgr command was incorrect! I then executed the following command:
This solved the issue! "GRUB" boot option appeared and it launched my GRUB2 I was using before the BIOS update. From there I successfully booted both OS-es.
So, if this happens to anyone else, mount your efi partition and check the path to grubx64.efi file inside the EFI folder. I was expecting it would be "linuxmint" but it was actually "ubuntu". Should've checked it earlier!
Thank you for your help!
Code: Select all
sudo efibootmgr --verbose -c -d /dev/nvme0n1 -p 2 -l \\EFI\\ubuntu\\grubx64.efi -L GRUB
So, if this happens to anyone else, mount your efi partition and check the path to grubx64.efi file inside the EFI folder. I was expecting it would be "linuxmint" but it was actually "ubuntu". Should've checked it earlier!
Thank you for your help!
Re: Cannot access GRUB or boot the OS after BIOS upgrade
Is there a way to prevent this from happening in the first place?
In lieu: What should I copy/backup/write down so I can fix is faster?
TNX
In lieu: What should I copy/backup/write down so I can fix is faster?
TNX