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
How to Reins GRUB After the New Update of WINDOWS
原文:https://www.cnblogs.com/hexsix/p/10228903.html