https://bugzilla.novell.com/show_bug.cgi?id=684291 https://bugzilla.novell.com/show_bug.cgi?id=684291#c20 --- Comment #20 from Robert Schweikert <rschweikert@suse.com> 2011-07-07 17:55:16 UTC --- (In reply to comment #12)
The reason that it doesn't create the correct links is that /lib/mkinitrd/boot/21-dmraid.sh (which is copied into the initrd) runs dmraid as:
/sbin/dmraid -a y -p
The '-p' says "don't create partitions" which causes you problems because you need partitions. So you could just edit that file, run "mkinitrd" and it should reboot perfectly.
However I'm not confident about removing that "-p" in the distro as it is presumably there for a reason and theoretically people cold depend on it.
I would like to see if we can convert it back to using md. This would involve:
1/ edit /lib/udev/rules.d/64-md-raid.rules to replace
TEST!="md/array_state", GOTO="md_end"
with
ENV{DEVTYPE}=="disk",TEST!="md/array_state", GOTO="md_end"
2/ re-create the initrd with md support:
mkinitrd -f md
3/ Restore the old fstab and menu.lst files (from fstab.bck and menu.lst.old).
4/ reboot and when you get the prompt:
dmraid -an mdadm -As Ctrl-D If that doesn't work (which I think it will) try:
mdadm -Ss mdadm -I /dev/sda mdadm -I /dev/sdb
5/ When you have the system booted again, make a new initrd
mkinitrd
and make sure it boots safely.
Please let me know how it goes.
Alright!! Thanks, this worked, the machine once again boots without manual intervention. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.