Bugzilla – Bug 148240
mdadm fails with segmentation error at boot time
Last modified: 2006-02-10 16:05:03 UTC
mdadm fail with segmentation error when started "mdadm --assemble --scan", like in suse 10.1 default initrd image. Installation of additional CDs is not possible, as well as normal booting. SOLUTION: stable version of mdadm (in distribution or available as additional download) WORKAROUND: - after cd1 install boot rescue mode - manualy assemble raid (ex. "mknod /dev/md0 b 9 0" etc., "mdadm -A /dev/md0 /dev/hda1 /dev/hdb1") - mount / partition ("mount /dev/md0 /mnt") - modify initrd ("mkdir /mnt/root/init", "cp /mnt/boot/initrd /mnt/root/init", "gunzip initrd", "cpio -i initrd", "rm /mnt/root/initrd", "vi init", find all lines that call mdadm with --scan option and comment them, add your custom raid assembly commands like "mdadm -A /dev/md0 /dev/hda1 /dev/hdb1" etc.) - make new initrd ("cd /mnt/root/init", "find . | cpio -co | gzip > /mnt/boot/initrd_new") - remove /boot/initrd link and replace it with a new one ("cd /boot", "rm initrd", "ln -s initr_new initrd") That should do the trick to finish the installation.
*** This bug has been marked as a duplicate of 146514 ***
*** Bug 149640 has been marked as a duplicate of this bug. ***