I forgot an essential initial step and final step, as initrd is a compressed ext2 file system on file, sorry. The steps are: cp /boot/initrd.xxx /boot/initrd.xxx.bck gzip -dc /boot/initrd.xxx > /tmp/initrd.xxx mkdir /tmp/initrd_loop mount -o loop /tmp/initrd.xxx /tmp/initrd_loop cd /tmp/initrd_loop see the modules loaded by linuxrc script and corresponding .o files in lib directory remove the modules unneeded and corresponding insmod command in linuxrc umount /tmp/initrd_loop verify if size is affordable gzip -c /tmp/initrd.xxx > /boot/initrd.xxx if you have grub you are done, else run lilo reboot sorry -----Original Message----- From: ext3-users-admin@xxxxxxxxxx [mailto:ext3-users-admin@xxxxxxxxxx]On Behalf Of Cecchi, Gianluca Sent: lunedì 12 gennaio 2004 12.27 To: David Baron; Matt Bernstein Cc: Adam Williams; Juri Haberland; ext3-users@xxxxxxxxxx Subject: RE: Getting ext3 up and running cp /boot/initrd.xxx /boot/initrd.xxx.bck cp /boot/initrd.xxx /tmp mkdir /tmp/initrd_loop mount -o loop /tmp/initrd.xxx /tmp/initrd_loop cd /tmp/initrd_loop see the modules loaded by linuxrc script and corresponding .o files in lib directory remove the modules unneeded and corresponding insmod command in linuxrc umount /tmp/initrd_loop verify if size is affordable cp /tmp/initrd.xxx /boot if you have grub you are done, else run lilo reboot HIH, GIanluca -----Original Message----- From: ext3-users-admin@xxxxxxxxxx [mailto:ext3-users-admin@xxxxxxxxxx]On Behalf Of David Baron Sent: domenica 11 gennaio 2004 10.44 To: Matt Bernstein Cc: Adam Williams; Juri Haberland; ext3-users@xxxxxxxxxx Subject: Re: Getting ext3 up and running On Thursday 08 January 2004 20:44, Matt Bernstein wrote: > On Jan 7 David Baron wrote: > >On Wednesday 07 January 2004 15:20, Matt Bernstein wrote: > >> Why not take the large initrd image and just "remove stuff"(tm) till > >> lilo will take it? Or just try grub.. > > > >By setting moduls=non and specifying jbd and ext3 in the root parameter of > > the mkinitrd.conf, I got the size down to 972k. I think it should be 1/3 > > of that. This is still too big to be on the image menu and using it as a > > lilo initrd still panics! > > I meant be dirtier than that.. take your initrd image and mount it > loopback, see what's in it that you don't need.. ;)] How do I do this? _______________________________________________ Ext3-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ext3-users _______________________________________________ Ext3-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ext3-users _______________________________________________ Ext3-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ext3-users