帮助,
我的笔记本电脑执行 BIOS 更新后,Grub 丢失了。我仍然不知道如何恢复它。
我已经使用 Live CD 启动了。
我可以看到我的分区:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 2.1G 1 loop /rofs
loop1 7:1 0 55.4M 1 loop /snap/core18/1997
loop2 7:2 0 219M 1 loop /snap/gnome-3-34-1804/66
loop3 7:3 0 64.8M 1 loop /snap/gtk-common-themes/1514
loop4 7:4 0 32.3M 1 loop /snap/snapd/11588
loop5 7:5 0 51M 1 loop /snap/snap-store/518
sda 8:0 1 15.1G 0 disk
└─sda1 8:1 1 15.1G 0 part /cdrom
nvme0n1 259:0 0 953.9G 0 disk
├─nvme0n1p1 259:1 0 499M 0 part
├─nvme0n1p2 259:2 0 100M 0 part
├─nvme0n1p3 259:3 0 16M 0 part
├─nvme0n1p4 259:4 0 222.9G 0 part
├─nvme0n1p5 259:5 0 612M 0 part
├─nvme0n1p6 259:6 0 977M 0 part
└─nvme0n1p7 259:7 0 728.8G 0 part
消息:
root@ubuntu:~# efibootmgr
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0000,0001,0002,0003,0004
Boot0000* Windows Boot Manager
Boot0001* Diskette Drive
Boot0002* USB Storage Device
Boot0003* CD/DVD/CD-RW Drive
Boot0004* Onboard NIC
我已经挂载了分区:
root@ubuntu:~# mkdir /mnt/boot-repair
root@ubuntu:~# mount -v /dev/nvme0n1p6 /mnt/boot-repair/
mount: /dev/nvme0n1p6 mounted on /mnt/boot-repair.
root@ubuntu:~# ls /mnt/boot-repair/
config-5.11.0-25-generic initrd.img-5.11.0-31-generic System.map-5.11.0-25-generic
config-5.11.0-31-generic initrd.img.old System.map-5.11.0-31-generic
efi lost+found vmlinuz
grub memtest86+.bin vmlinuz-5.11.0-25-generic
initrd.img memtest86+.elf vmlinuz-5.11.0-31-generic
initrd.img-5.11.0-25-generic memtest86+_multiboot.bin vmlinuz.old
root@ubuntu:~# ls /mnt/boot-repair/efi/
root@ubuntu:~# ls /mnt/boot-repair/grub/
fonts gfxblacklist.txt grub.cfg grubenv unicode.pf2 x86_64-efi
此刻我有点陷入困境。