Problem with lenny booting an RAID1 devices
SteF
stephane.abondance at gmail.com
Wed Mar 25 19:29:12 UTC 2009
Hello,
I would like to report a problem, seems to be a Lenny mdadm problem or
may be initramfs-tools. but I'm not sure, please tell me?
After many Lenny installation trying to install a / ext3 FS on two disks
to make a software RAID1 bootable system (of course following the
correct procedure, for fdisk, mdadm, and so on), I still not able to
boot it.
I finish to (initramfs) all the time.
I perfectly installed the system (base system).
Putting grub on kernel .... root=/dev/md0 ro debug=true
debian report : ALERT! /dev/md0 does exist. dropping to the shell!
Nevertheless, I can perfectly after that, make :
modprobe md
modprobe raid1
mdadm -A /dev/md0
then /dev/md0 exists, and I can mount it.
To correct this, I try to make a new ramdisk, and changing
/etc/initramfs-tools/modules and add sd_mod, md, raid1, then run an
"update-initramfs -u -v", the hooks works well too, modules are added,
but after rebooting, it still the same.
I'm going to (initramfs).
The only way to boot is putting in GRUB the kernel root device to
/dev/sda1, then it boot correctly, but not assembling /dev/md0.
If I create other md devices, for swap for example, I can assemble them
perfectly later, but booting on /dev/md0 is not working.
So, I would like to know if I fill a bug, or may be I'm wrong and
booting on RAID1 devices is not allowed on Lenny.
And of course, if I'm wrong, I apologize in advance to waste your time.
Just tell me.
Kind regards, and thanks for your work on mdadm.
Stephane
More information about the pkg-mdadm-devel
mailing list