Quote:
Originally Posted by Richard Cranium
Try this: - Boot into your system using the huge kernel.
- run the following command as root
Code:
mdadm -E -s > /boot/initrd-tree/etc/mdadm.conf
- run the following command as root
Code:
mkinitrd -o /boot/initrd.gz
- reboot and try using the generic kernel
The command in bullet #2 should create a valid mdadm.conf file in your initrd-tree area. The command in bullet #3 should rebuild your initrd using only what is in your initrd-tree.
Please let us know if that worked. If it doesn't work, please tell us what was put into /boot/initrd-tree/etc/mdadm.conf after you ran the command in bullet #2.
|
Sorry for the late response, I only found some time now doing some extensive testing. Here's what worked for me.
Once the installation is finished, chroot into the newly installed environment.
Generate mdadm.conf:
Code:
# mdadm -E -s > /etc/mdadm.conf
Edit /etc/mkinitrd.conf and set RAID="1" (meaning "yes" and not the RAID level)
Generate an initrd:
Speed up disk synchronization:
Code:
# echo 50000 > /proc/sys/dev/raid/speed_limit_min
Edit LILO, exit and reboot.
With a RAID 1 setup, rebooting can be done even when the disks are not yet synchronized. With a RAID 5 setup, disk synchronization has to be finished, otherwise you get a kernel panic on reboot.
Now everything works like a charm.
I humbly suggest a little update for the official Slackware RAID documentation. Some stuff is missing.
Cheers,
Niki