Debian上的软件RAID 1 – GRUB光标闪烁

我有两个500GB的驱动器,以前我安装了XP和Debian。 6个月前,我更换了一个驱动器,只有XP存活下来。 但没关系。 我把垃圾清理干净了

我需要再次安装Debian。

http://www.youtube.com/watch?v=rMyfljiCz3A这是参考video…现在我正在尝试安装Debian 5.0.5 Lenny。

无论如何。 在Debian安装之前,有四个主要分区:1个用于XP,65GB用于Debian,另外2个用于文件存储。

我为Debian分配了65GB,与youtubevideo中显示的设置非常相似(几乎相同)。

设置进行的很好,但我无法从GRUB启动。 我根本没有看到grub菜单。 我留下了GRUB _一个空白的光标。

我试用了使用Debian CD 1的恢复模式:

shell#:cat / proc / mdstat

md1: active raid 1 sad10[0] sdb10[1] 55472320 blocks [2/2 ][UU] md0: active raid 1 sad7[0] sdb7[1] 120384 blocks [2/2 ][UU] 

shell#:mdadm –detail / dev / md0(我也可以为md1做)

 number major minor raidDevice state 0 8 7 0 active sync /dev/sda7 1 8 23 1 active sync /dev/sdb7 

我现在处于救援模式,我该怎么办? 谢谢

编辑:

shell#:df -h

 /dev/mapper/acm_main-root Mounted on / /dev/md0 Mounted on /boot /dev/mapper/acm_main-home Mounted on /home /dev/mapper/acm_tmp-tmp Mounted on /tmp /dev/mapper/acm_main-usr Mounted on /usr /dev/mapper/acm_main-var Mounted on /var tmpfs Mounted on /dev 

任何人有这个想法? 至less我必须回到Windows …..任何帮助表示赞赏!

顺便说一下,在救援模式下找不到grub命令…

您可能需要在两个磁盘上设置grub,因为您在RAID-1中。 如果您的救援磁盘没有grub,我build议您下载并刻录CD上的Knoppix并从中启动。 全部启动后运行以下命令:

 # grub grub> root (hd0,0) grub> setup (hd0) grub> root (hd1,0) grub> setup (hd1) 

您的输出应该类似于以下内容:

 # grub GNU GRUB version 0.95 (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,0) Filesystem type is ext2fs, partition type 0xfd 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)"... 15 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded Done. grub> root (hd1,0) Filesystem type is ext2fs, partition type 0xfd grub> setup (hd1) 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 (hd1)"... 15 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd1) (hd1)1+15 p (hd1,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded Done. grub> quit 

之后,你应该能够通过闪烁的光标。 希望这可以帮助!