LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1446|回复: 4

sid更新之后,开机出现error:the symbol 'grub_xputs' not found

[复制链接]
发表于 2010-8-13 22:29:49 | 显示全部楼层 |阅读模式
昨晚更新sid后,今天开机出现:

GRUB loading.
Welcome to GRUB!

error:the symbol 'grub_xputs' not found.
Entering rescue mode...
grub rescue>


不知道该怎么办了
 楼主| 发表于 2010-8-13 22:40:41 | 显示全部楼层
网上找了一下处理方法,但还是不行

grub rescue> set
prefix=(hd0,1)/boot/grub
root=hd0,1
grub rescue> set root=(hd0,1)
grub rescue> set prefix=(hd0,1)/boot/grub
grub rescue> insmod nomal
error: file not found.

到这里,就又出错了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-13 22:48:51 | 显示全部楼层
还是提示找不到grub_xputs,该怎么办?

grub rescue> root=(hd0,1)
grub rescue> prefix=/boot/grub
grub rescue> set root=(hd0,1)
grub rescue> set prefix=(hd0,1)/boot/grub
grub rescue> insmod nomal
error: the symbol 'grub_xputs' not found.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-13 22:51:15 | 显示全部楼层
狗狗“grub_xputs”,居然简体中文网页只有我一个人遇到了相关问题,中大彩了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2011-3-14 06:44:36 | 显示全部楼层
楼主的分区表是什么样的?
如果/boot没有独立于系统根分区,你找到的那种方法就可以:
  1. grub rescure > set                              # 查看当前的设置
  2. grub rescue > set root=(hd0,X)                   # 设定"根分区",代表的是boot directory ,不同于系统的根分区。
  3. grub rescue > set prefix=/boot/grub           
  4. grub rescue > insmod normal                   # 载入normal模块
  5. grub rescue > normal                                   # 进入normal模式
复制代码
而如果你的boot是一个独立分区,就像我的那样,给了它200M的小分区,平时是被挂载在/boot下面的。就需要修改以上的设定:
  1. grub rescue > set
  2. grub rescue > set root=(hd0,X)                  # grub 目录所在分区(引导分区)
  3. grub rescue > set prefix=/grub                   # 注意这一步的不同
  4. grub rescue > insmod normal
  5. grub rescue > normal
复制代码
通过这样的操作,通常grub会加载你之前的grub.cfg配置文件,并显示出平日里常见的系统选项菜单。
进入系统后,使用grub-install 和 update-grub重新安装并更新GRUB2(在这里我不确定是否需要重新安装GRUB2,楼主不妨顺便测试一下)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表