I want to install Slackware 11 onto two fresh hard drives, with root on a Software RAID1.
I've booted the default (bare.i 188.8.131.52) kernel and partitioned the disks. I've set the partition types to FD (Linux RAID Autodetect), but what I don't know is how to create the raid devices.
I mean I *know* how to create the raid device:
mdadm --create /dev/md0 --level=raid1 --raid-devices=2 /dev/hda1 /dev/hdb1
But I don't know how to do this during the Slackware 11 installation, after booting off Disc 1.
First I noticed that mdadm was missing so I mounted disc1 and installed mdadm-2.5.3-i486-1. Now I have mdadm but it seems that all it does is say 'Bus error'.
Short of booting a liveCD, is there any way I can get the Slackware Installation CD to create the MD devices (essentially write the MD metadata to the disk)?
Thanks for any tips.
*Edit: I think I got it. Short Story: I had run out of installation space. I found this
which was for LVM, but gave steps to create a RAM disk and move important directories there *BEFORE* installing any packages. Once I did that, and reinstalled the mdadm package I've been able to create my raid devices.
The steps for the ramdisk are:
mount -t tmpfs none /ram
mv /sbin /ram
mv /bin /ram
/ram/bin/mv /lib/modules /ram
/ram/bin/ln -s /ram/sbin /
/ram/bin/ln -s /ram/bin /
/ram/bin/ln -s /ram/modules /lib
Maybe this will help someone else trying to do the same or similar things.
*Edit #2: I stated above that the default was bare.i; it's not. That's what I get for not paying attention. The Slackware 11 default is sata.i