|
一台带硬件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都搜过了,没结果 |
|