Michael wrote: > > Answered my own question, for those interested: > > I'm trying to put together a minimum initrd to start a raid1 over > > raid0 root raid set. I can't seem to get raidstart to start the > > second raid set. I've done this before with the old raid tools but > > without the overlayed raid, no problem. > > > > I've stripped all the libraries and only have a static linked > > raidstart. Will this not work?? > > > Does not work. ldd reveals that at a minimum > the ld.xx.so files and links as well as the libc files and links are > needed by mount, umount, cat, raidstart. > I suppose they could all be built static, but that is too much > hassle. > > > linuxrc contains > > #!/bin/sh > > /bin/mount /proc > > /bin/raidstart /dev/md1 > > /bin/raidstart /dev/md2 > > #commented out to see if md's start > > #echo 0x902>/proc/sys/kernel/real-root-dev > > echo 0x302>/proc/sys/kernel/real-root-dev > > /bin/umount /proc > > exit > > #*************** > > > > Michael > > > [EMAIL PROTECTED] It is possible to strip libraries to only those parts used by specified binaries, this can make a *big* difference to the size of the required libraries. This method is used by the debian boot-floppies to generate the libraries for the root disk. It would be much better for your circumstances than just using the strip command. I think the old raid-howto touched on starting raid from initrd, im not too sure though, its been a while now scince i looked at them. If you want i could dig out the debian script that pull the libraries apart and send it too you. Glenn McGrath