LinuxSir.cn,穿越时空的Linuxsir!

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

[求助] grub 安装出现错误

[复制链接]
发表于 2010-12-10 16:11:24 | 显示全部楼层 |阅读模式
一台带硬件RAID的服务器安装gentoo,到grub安装时出现异常

错误:
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... failed

Error 22: No such partition

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... failed

Error 16: Inconsistent filesystem structure

我试了/boot分区是ext2、ext3、ext4都不行

gentoo是用http://mirrors.163.com/gentoo/re ... rrent-iso/最新的

mini cd启动后,系统自动有个/dev/md126的设备
我执行了
modprobe raid1
modprobe dm-mod

分区信息:
Disk /dev/md126: 500.1 GB, 500104691712 bytes
2 heads, 4 sectors/track, 122095872 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0xd3c9601b

      Device Boot      Start         End      Blocks   Id  System
/dev/md126p1               1       65537      262146   83  Linux
/dev/md126p2           65538      589826     2097156   82  Linux swap / Solaris
/dev/md126p3          589827    11075587    41943044   83  Linux
/dev/md126p4        11075588   122095872   444081140    5  Extended
/dev/md126p5        11075588    13697028    10485762   83  Linux
/dev/md126p6        13697029    34668549    83886082   83  Linux
/dev/md126p7        34668550   122095872   349709290   83  Linux

google、baidu都搜过了,没结果
 楼主| 发表于 2010-12-10 17:24:55 | 显示全部楼层
晕倒,换lilo试试,结果提示:
Fatal: Sorry, don't know how to handle device 0x10300
回复 支持 反对

使用道具 举报

发表于 2010-12-10 17:42:15 | 显示全部楼层
有/dev/md设备就表示这只是个软RAID……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-10 17:54:21 | 显示全部楼层
Post by druggo;2122688
有/dev/md设备就表示这只是个软RAID……


不是吧?
服务器启动时,有raid配置菜单的,这也算软raid?
回复 支持 反对

使用道具 举报

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

本版积分规则

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