Hi.
The raid arrays with dynamic minor number will be hardly identified for installation. For instance if we create the raid array with
Code:
mdadm --create /dev/md/home --level 1 --raid-devices 2 /dev/sda2 /dev/sdb2
the devices won't be visible in the installer.
I don't know if i'm on the right track, but here is a suggestion for the probe script of the initrd.img.
Code:
--- sbin/probe.bak 2012-10-15 10:24:50.058021543 +0200
+++ sbin/probe 2012-10-15 10:15:26.972019923 +0200
@@ -142,7 +142,13 @@
list_md() {
if ( is_swap "/dev/$2" ); then TYPE="Linux swap"; else TYPE="Linux"; fi
- echo "/dev/$2 1 2 $1 kk $TYPE" >> $TMP/SeTfdisk
+ ARRAY_NAME=`mdadm --detail /dev/$2 | grep "Name : " | sed -e "s/ *Name : //"`
+ if [ "$ARRAY_NAME" = "" ]; then
+ ARRAY_NAME="$2"
+ else
+ ARRAY_NAME="md/$ARRAY_NAME"
+ fi
+ echo "/dev/$ARRAY_NAME 1 2 $1 kk $TYPE" >> $TMP/SeTfdisk
}
list_lvm() {
P.S. : The purpose of these messages is not so much to solve a personal problem, but try to find an official way of doing an "out of the box working" raid installation. The history of messages for this problem :
Install on raid setup and /dev/md127
http://www.linuxquestions.org/questi...ab-4175431267/
RAID howto discussion on the slackdocs ml