GRUB & RAID have me Stumped
klussier at comcast.net
klussier at comcast.net
Fri Jun 16 10:48:00 EDT 2006
-------------- Original message ----------------------
From: Paul Lussier <p.lussier at comcast.net>
> 1. Boot of an existing installed configuration on /dev/sda1
> 2. Re-partition /dev/sd[bcd] as shown above
> 3. Configure RAID-1 sets across /dev/sd[bcd] and a "missing" drive to
> be added later.
> 4. Reboot, telling grub that / is now on /dev/sdb1.
> 5. Repartition /dev/sda to be as mentioned above.
> 6. Add /dev/sda[125789] into the appropriate RAID-1 sets.
>
> In theory, after I've completed step 6, I should be able to reboot.
> Thus far, all attempts to do so have resulted in a cursor blinking
> around the screen and finally a small ascii smiley-face in the lower
> left corner of the screen, put there, I'm sure, by GRUB or mdadm
> specifically to mock me :)
> At this point however, I've tried several different things to convince
> GRUB that it should really boot off /dev/sda1. In this process, not
> only have I discovered that I seem to not fully understand GRUB, but I
> stumbled upon something which I believe to either be really wrong, or
> an indication that I also completely misunderstand RAID-1!
Can you post your /boot/grub/menu.lst ? You probably need to change it to something like:
title Debian GNU/Linux, kernel 2.6.15-1-686-smp
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-1-686-smp root=/dev/sda1 ro
initrd /boot/initrd.img-2.6.15-1-686-smp
savedefault
boot
The root line and the kernel line are fairly picky about what you put in there. Although, I am a little confused here. In #4 above, you have / on /dev/sdb1, but you're trying to boot off of /dev/sda1 ?
C-Ya,
Kenny
More information about the gnhlug-discuss
mailing list