> Hi, > Can anyone point me towards some good instructions on how to build an > initrd file? Something Gentoo specific would be most welcome. > > Thanks, > Mark >
Hmmm.. well I don't know the steps of how to make an initrd but I do know how to modify an existing one! I did this when I was making my own personalized Live CD. Taking a look at the initrd on the gentoo Live CD was a great help to me. Here are the steps (using the Live 1.4_rc CD): 1) mount /mnt/cdrom 2) cd /mnt/cdrom/isolinux 3) cp initrd /tmp; cd /tmp 4) gunzip -c initrd > initrdnew 5) mount -o loop initrdnew /mnt/floppy (or any other mnt point) 6) cd /mnt/floppy (check it out.. the linuxrc file is the important one the rest are just modules, keymaps etc.) You can actually write and remove the stuff while mounted .. so you could add a bunch of kernel modules (for the kernel you will be using) and modify the linuxrc etc. Then: 7) umount /mnt/floppy 8) gzip initrdnew 9) cp intrdnew.gz initrd Now you have your own personalized initrd that you can use with isolinux to boot up a machine the way you want. Cheerio, Jason -- [EMAIL PROTECTED] mailing list
