la ji windows
OK 现在我的输入法也装好了,再说一遍,垃圾windows
这次大更新又把我的GRUB搞崩了
这次没有像以前一样用chroot重建grub马上搞定,所以记一下网上找到的方案:
1. 先找到linux的根分区,我的在/dev/sda5, 如果语句正确,会显示 /boot/grub 下的文件
grub rescue>ls (hd0,5)/boot/grub
2. 然后用以下命令临时进入系统
grub rescue>set root=(hd0,5) grub rescue>set prefix=(hd0,5)/boot/grub grub rescue>insmod normal grub rescue>normal
3. 最后用你自己系统的grub修复语句,这里是arch的
# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub # grub-mkconfig -o /boot/grub/grub.cfg
转载自https://www.jianshu.com/p/d4475ea2064e
本文介绍了一次Windows大更新后导致GRUB启动管理器损坏的问题及解决方案。作者通过一系列步骤进入了系统,并最终使用Arch Linux的GRUB修复命令完成了修复。
1218

被折叠的 条评论
为什么被折叠?



