Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4476  / 2 Years ago, mon, october 10, 2022, 8:55:22

After a firmware update on my laptop, the Grub menu disappeared and I can only boot on Windows 10.


Machine configuration:



  • Lenovo X1 Carbon Gen 7th shipped with Windows 10.

  • I installed Ubuntu 18.04 with dual boot.

  • Grub boot menu selection was working fine up to firmware update yesterday.

  • The laptop is now booting directly to W10, without Grub menu showing up.


What I did:



  • Try to upgrade grub using this post. Result was that a boot item was added in the BIOS. However when selected, it does nothing.

  • Try to add a boot item using efibootmgr using following command line efibootmgr -c -d /dev/nvme0n1p1 -p 1 -l EFIubuntugrubx64.efi -L "GRUB ubuntu". I did that following this other post. Result was that a boot item was added in the BIOS. However when selected, it does nothing.

  • Use boot-repair. I got following message: The boot of your PC is in EFI mode, but no ESP partition was detected. You may want to retry after creating a ESP partition (FAT32, 100MB~250MB, start of the disk, boot flag). Are you sure you want to continue anyway? And I didn't continue.


Ubuntu Pastebin is here. I notice in the Pastebin the message: Grub2 (v1.99-2.00) is installed in the MBR of /dev/nvme0n1 and looks at sector 2048 of the same hard drive for core.img, but core.img can not be found at this location. But I don't know how to use this information.


Ubuntu system is still on the disk:


nvme0n1                477G                                
├─nvme0n1p1 vfat 260M SYSTEM
├─nvme0n1p2 16M
├─nvme0n1p3 97.7G
├─nvme0n1p4 ntfs 1000M /mnt/boot-sav/nvme0n1p4 WinRE_DRV
└─nvme0n1p5 ext4 378G /mnt/boot-sav/nvme0n1p5

at partition 5.


I have in my pocket: an old Clonezilla image of the full disk, a two days old backup... and the working laptop booting on W10 and on an Ubuntu USB stick.


Any suggestion on what to do? My target is to avoid reinstalling Ubuntu...


Thanks for your attention.


More From » boot

 Answers
2

According to comments above, it seems that several ways can be used to solve the issue.


In case the EFI System Partition - ESP has been marked as hidden, this flag has to be removed in order to run boot-repair.


You may also have to unlock secure boot in BIOS in order to run boot-repair.


Bottom line, boot-repair is the a solution, but running it may require some preliminary actions.


[#2909] Monday, October 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
velelf

Total Points: 395
Total Questions: 115
Total Answers: 107

Location: Sudan
Member since Mon, Jun 1, 2020
4 Years ago
velelf questions
Sat, Nov 6, 21, 05:08, 3 Years ago
Fri, Sep 24, 21, 01:23, 3 Years ago
Sun, Oct 9, 22, 07:37, 2 Years ago
Thu, Feb 17, 22, 00:27, 2 Years ago
;