ubuntu更新重启之后出现
[quote]the symbol "grub_xputs" not found[/quote]
错误,比较雷的是这个grub rescue连help都没有。。还好有个ipad可以上网,找到如下解决方法
注0: 大概会输出 (hd0) (hd0,1) (hd0,5)……为下一步准备的,没什么用
注1: 确定root分区,方法是分别尝试执行ls (hdx, y)/ 看到出来的是/下的文件列表就是了
注2: 这里的sda是对应的硬盘,如果是usb可能会是sdb之类的
[b]进入系统[/b]
1. 找个工具省事
[url]https://help.ubuntu.com/community/Boot-Repair[/url]
2. 自己执行命令,重新安装grub([b]自己未测,不知道是否还需要其他步骤[/b])
[b]参考[/b]
[url]http://ubuntuforums.org/showthread.php?t=1195275[/url]
[url]http://bit.ly/w2qhCc[/url]
以上记录。
[quote]the symbol "grub_xputs" not found[/quote]
错误,比较雷的是这个grub rescue连help都没有。。还好有个ipad可以上网,找到如下解决方法
grub rescue>ls <-- 注0
grub rescue>set root=(hdx, y) <-- 注1
grub rescue>insmod /boot/grub/linux16.mod
grub rescue>linux16 /vmlinuz root=/dev/sda ro <-- 注2
grub rescue>initrd16 /initrd.img
grub rescue>boot
注0: 大概会输出 (hd0) (hd0,1) (hd0,5)……为下一步准备的,没什么用
注1: 确定root分区,方法是分别尝试执行ls (hdx, y)/ 看到出来的是/下的文件列表就是了
注2: 这里的sda是对应的硬盘,如果是usb可能会是sdb之类的
[b]进入系统[/b]
1. 找个工具省事
[url]https://help.ubuntu.com/community/Boot-Repair[/url]
2. 自己执行命令,重新安装grub([b]自己未测,不知道是否还需要其他步骤[/b])
sudo grub-install /dev/sda <-- 选择自己对应的硬盘设备
[b]参考[/b]
[url]http://ubuntuforums.org/showthread.php?t=1195275[/url]
[url]http://bit.ly/w2qhCc[/url]
以上记录。