windows更新后,丢失manjaro的uefi引导

使用manjaro live 修复

参考:
1. Manjaro引导项丢失修复 - 灰信网(软件开发博客聚合)
2. (14条消息) manjaro grub引导失效修复(error:no such partition)_人间世庄子的博客-CSDN博客_manjaro引导修复
3. (14条消息) grub系列命令的使用_风之子10的博客-CSDN博客_grub-mkrescue (没有仔细看)

修复过程:

  1. 进入live CD系统
  2. 挂载原manjaro系统的/分区,挂载efi分区,我的系统没有单独划分boot分区,就不挂载了
  3. 使用chroot切换:manjaro-chroot .
  4. 执行 grub-insatll 修复

IMG_20220326_233637.jpg

grub 中没有windows 修复一下

   ~sudo grub-mkconfig -o /boot/grub/grub.cfg  ✔
[sudo] yx 的�密�码�:�
正�在�生�成� grub 配�置�文�件� …
找�到�主�题�:�/usr/share/grub/themes/manjaro/theme.txt
找�到� Linux 镜�像�:�/boot/vmlinuz-5.10-x86_64
找�到� initrd 镜�像�:�/boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
找�到� Linux 镜�像�:�/boot/vmlinuz-5.4-x86_64
找�到� initrd 镜�像�:�/boot/intel-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
警�告�:� os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
找�到� Windows Boot Manager 位�于� /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
找�到� Deepin 20.3 (20.3) 位�于� /dev/sda7
Adding boot menu entry for UEFI Firmware Settings …
Found memtest86+ image: /boot/memtest86+/memtest.bin
完�成�
   ~  ✔  13s 