#!/bin/bash # # # Startup Raid before the kernel starts booting # --------------------------------------------- # # Original Files # -------------- # http://Linux-Boot.net/Boot/LinuxRC/linuxrc.Raid # http://www.linuxjunkies.org/html/Boot+Root+Raid+LILO.html # # # lilo.conf # --------- # image = /boot/vmlinuz # initrd = /boot/initrd.gz # root = /dev/md0 # # append = "root=/dev/ram0 init=/linuxrc rw" # # # fstab # ----- # /dev/md0 / ext2 defaults 1 1 # # mount /proc # raidstart /dev/md0 # cat /proc/mdstart # # x900 == /dev/md0 echo 0x900 > /proc/sys/kernel/real-root-dev # umount /proc # exit # # End of file