Re: mkinitrd
On Thu, 29 May 2003 17:50:10 +0200, Axel Gerster wrote:
>> > can someone please explain to me how to get an module into an existing
>> > initrd.img and get it loaded on bootup? Or does someone know a good
>> > howto?
>>
If you just want to add a module, and not recreate it from scratch, try
this:
cp initrd.img initrd.gz
gunzip initrd.gz
mkdir mnt
mount -o loop initrd mnt
Now, copy whatever you want into mnt/...
umount initrd
gzip initrd
cp initrd.gz initrdnew.img
That's from memory, so I may have missed a step or two.
-Bruce
Reply to:
- Follow-Ups:
- Re: mkinitrd
- From: Axel Gerster <gerster@informatik.tu-muenchen.de>
- References:
- mkinitrd
- From: Axel Gerster <gerster@informatik.tu-muenchen.de>
- Re: mkinitrd
- From: Mike M <linux-support@earthlink.net>
- Re: mkinitrd
- From: Axel Gerster <gerster@informatik.tu-muenchen.de>