> Simon \"Drake\" Danini schrieb:
>
> Hi all,
> i'm trying to build up a linux system with 2 software raid1 xfs
> partitions (let's say hda1 hda2) ...
> i've tryed almost everything ...
>
> patched mkinitrd (as suggested from this list)
> enabling and disabling devfs
> manually modifying initrd image (to arrange the /dev/md0 problem)
> trying to arrange the various /dev/md0 and/or /dev/md/0
>
> but nothing seems to work
> the kernel used is the one of the 1.0 RedHat installer iso image
> downloaded from sgi
>
> i always get the same error
>
> raid1 personality registred
> Autodetecting RAID arrays ...
> autorun ...
> ... autorun DONE.
> Ext2fs: unable to read superblock
> ...
> XFS: SB read failed
> ... and then obviously the "kernel panic"
>
> Can someone give me some hints ???
>
> Thank a lot in advance and Ciao
>
> Drake
>
>
Did you use this patch for mkinitrd. Previus patches from this list
don't
work as expected.
--- mkinitrd.orig Thu May 10 18:16:05 2001
+++ mkinitrd Thu May 10 18:16:05 2001
@@ -396,8 +396,9 @@
fi
if [ -n "$startraid" ]; then
- cp -a /dev/md0 $MNTIMAGE/dev
+ mknod $MNTIMAGE/dev/md0 b 9 0
echo "raidautorun /dev/md0" >> $RCFILE
+ echo "raidautorun /dev/md/0" >> $RCFILE
fi
chmod +x $RCFILE
Did you try to boot in rescue mode from the install cd? Is the lilo.conf
correct. I mean something like this:
boot=/dev/md0
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=devfs
image=/boot/vmlinuz-2.4.2-SGI_XFS_1.0
label=orig
initrd=/boot/initrd-2.4.2-SGI_XFS_1.0.img.orig
read-only
root=/dev/md0
append="ramdisk_size=2500"
image=/boot/vmlinuz-2.4.2-SGI_XFS_1.0
label=devfs
initrd=/boot/initrd-2.4.2-SGI_XFS_1.0.img
read-only
root=/dev/md0
append="ramdisk_size=2500"
image=/boot/vmlinuz-2.4.2-SGI_XFS_1.0
label=nodevfs
initrd=/boot/initrd-2.4.2-SGI_XFS_1.0.img
read-only
root=/dev/md0
append="ramdisk_size=2500 devfs=nomount"
Greetings
Simon (yes really :))
|