LinuxSir.cn,穿越时空的Linuxsir!

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

grub装不上是怎么回事?

[复制链接]
发表于 2008-2-24 22:50:18 | 显示全部楼层 |阅读模式
GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> root (hd0,4)
Filesystem type unknown, partition type 0x1b

grub> setup (hd0,4)

Error 17: Cannot mount selected partition

grub>
 楼主| 发表于 2008-2-25 16:25:35 | 显示全部楼层
自己解决了 原来是我以前用PQ把分区隐藏了   而且是在隐藏的情况下格式化 的  这可能是grub不认的原因吧  反正我用PQ把它unhide后  再重新格式化 grub就人出来了  

唉  还是自力更生  才有希望
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-25 16:30:54 | 显示全部楼层
补充一句   第一次LFS  编译安装过程很顺利  
就是在装grub的时候 由于自身系统的原因  搞了半天才pass  希望这个问题能对其他lfser有所帮助

我一向都很少在论坛提问的 平时都是Goooooogle解决   由于心情太急切  题了一次  不过居然没人鸟我  郁闷
回复 支持 反对

使用道具 举报

发表于 2008-2-28 13:28:40 | 显示全部楼层
Post by forstef;1819684
GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> root (hd0,4)
Filesystem type unknown, partition type 0x1b

grub> setup (hd0,4)

Error 17: Cannot mount selected partition

grub>


不知道你是不是真的这么解决的,但是看你贴出来的文字来看,grub> setup (hd0,4) 应该改成grub> setup (hd0)。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-29 19:59:16 | 显示全部楼层
呵呵  ,我没有把他装到MBR上  ,而是用原来我机器上的Ubuntu来启动它
回复 支持 反对

使用道具 举报

发表于 2008-2-29 20:35:05 | 显示全部楼层
- -p 那你直接改ubuntu的grub.conf不就可以了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-29 21:47:44 | 显示全部楼层
不知道改楼上说的这个文件能不能让grub重新识别在windows下用PQ隐藏了的分区,而不出现这样的错误
grub> root (hd0,4)
Filesystem type unknown, partition type 0x1b
回复 支持 反对

使用道具 举报

发表于 2008-3-1 11:47:17 | 显示全部楼层
Post by maitr;1821592
- -p 那你直接改ubuntu的grub.conf不就可以了


同六楼,既然你有了grub还在装一个干吗
回复 支持 反对

使用道具 举报

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

本版积分规则

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