送上容嬷嬷的表情包,辟邪!!!!
由于不作死就不会死的精神的指导,使用win10周年补丁更新,导致原Linux的启动报错,悲剧啊。网上搜了一些方法及查看deepin的wiki相关命令方法的摸索试错,终于成功恢复了正常的双系统引导菜单。
win10周年更新后的惨状error:unknown filesystem grub rescue 出现在引导页,吓人啊。
grub rescue>ls回车 /本机所有磁盘及分区呈现如下
(hd0) (hd0,gpt12) (hd0,gpt11) (hd0,gpt10)........ (hd0,gpt1) (cd0)
然后就是瞎子摸象了,其实也可以用U盘工具的PE系统来定位磁盘分区,但本人懒的重启
grub rescue> ls (hd0,gpt1)回车
~~~~(>_<)~~~~
(hd0,gpt1):Filesystem is unknown.
中间省去N次~~~~(>_<)~~~~
grub rescue> ls (hd0,gpt7)回车,见证奇迹的时刻到了
O(∩_∩)O哈哈~
(hd0,gpt1):Filesystem is ext2. 这里我得到的和其他网友提供的不同,是因为原来安装的分区造成的,这里得到的反馈仅供大家参考,可能是其他的分区参数
同理推出(hd0,gpt11)为EFI
grub rescue> set cmdpath=(hd0,gpt2)/EFI/deepin prefix=(hd0,gpt11)/boot/grub root=hd0,gpt11
继续
grub rescue> set prefix=(hd0,gpt11)/boot/grub grub rescue> set root=hd0,gpt11
然后按网上方法输入命令
grub rescue> insmod normal回车
grub rescue> normal回车
然后人品正常的,就看到引导界面了,多系统的界面出来了,人懒没拍照
进入LINUX后,貌似正常了,但我们还是要继续修复,记得进入终端,重要的事情说三遍,终端,终端,终端
sudo update-grub2
Generating grub configuration file ...
Found theme: /boot/grub/themes/deepin/theme.txt
Found background image:
/boot/grub/themes/deepin/background.png
Found linux image: /boot/vmlinuz-4.xxxx-amd64 这边是版本号,因为我懒,所以没拍照,直接用XXX代替了
Found initrd image: /boot/initrd.img-4.xxxx-amd64
Found Windows Boot Manager on
/dev/sda数字@/EFI/Microsoft/Boot/bootmgfw.efi 数字是你自己电脑的
Adding boot menu entry for EFI firmware configuration
done
网上找到的方法用# grub-install /dev/sda 试了一下不对,其他原因很简单,是因为我们没有root权限执行不了
sudo grub-install /dev/sda 回车,然后继续update一下,重启,人品好的话就正常了
已有1位网友发表了看法:
发表评论