On Thu, Aug 08, 2002 at 03:14:48PM -0400, Andre Berger wrote: > * Jerome Acks Jr <jracksjr@bellatlantic.net>, 2002-08-08 14:40 -0400: > > On Wed, Aug 07, 2002 at 05:48:14PM -0400, Andre Berger wrote: > > > > > > > > I use initrd, how can I "make sure the ext3 module is included in > > > it"? > > > > > > -Andre > > > > > > > > > > something like: > > > > # cd /etc/mkinitrd > > # echo jbd >>modules > > # echo ext3 >>modules > > # echo ext2 >>modules > > > > then run "mkinitrd ..." to build initrd.img > > What exactly would the "mkinitrd" command be? Like > > mkinitrd -o /boot/initrd.img-2.4.18-386 /lib/modules/2.4.18-386/ > > ? Yes, for stock 2.4.18-386 kernel. > > > then run "lilo" > > > > But, if you are using stock 2.4.x-386, I think you also need to use > > pivot_root to get root file system to mount as ext3 > > > > See: > > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=135537&repeatmerged=yes > > OK, there is a diff file listing. I can't really translate this into > something I could read. Has anyone succeeded to create files using > this recipe? And would share them with me? "diff -u" lists all lines of /usr/share/initrd-tool/linuxrc that are unchanged along with added and removed lines. Edit /usr/share/initrd-tools/linuxrc to make changes Add new script mount_ext3 to /etc/mkinitrd/scripts Last two lines of /etc/initrd/modules should be: jbd ext3 The other lines in /etc/initrd/modules are all comments. then mkinitrd ...lilo...[cross fingers]...reboot -- Jerome
Attachment:
pgpXkkKHWFsTy.pgp
Description: PGP signature