Bob Miller wrote: > > Allen Brown wrote: > > > The boot partition is separate from the root partition. There > > is a kernel on the boot partition, but no modules. I would need > > to load reiserfs from the boot partition, right? But where? > > Do I need to place the module under some funky directory path > > on the boot partition? Or can I just place it in the same > > place as the kernel and hope it looks there? > > I'm curious why you chose reiserfs for the laptop. All my > filesystems are ext3, and I don't feel like I'm missing anything...
>From my readings in Linux Journal it sounded like reiserfs is faster. But mostly it was an arbitrary choice. I don't really know tradeoffs between the various journaling file systems. > Anyway, what you need to do is use an initrd (initial ramdisk). > Grub loads the initial ramdisk image into memory before booting > the kernel, and the kernel finds it and mounts it. Ah. So the ramdisk image would have the directory structure that the kernel is expecting. > 1. Compile your kernel with ramdisk and initrd support. > Your distro may already have initrd. Yes. I can see that it does have such a file in the /boot/grub directory. > Device Drivers > Block devices > [*] Ram disk support > [*] Initial RAM disk (initrd) support > > 2. Build the ramdisk image. > > The procedure differs from distro to distro. Search your > distro's documentation. (or at least tell us what distro > you're using. (-: ) Debian Sarge. OK. Looks like I need to modify /etc/mkinitrd/modules to list /lib/modules/2.4.27-1-386/kernel/fs/reiserfs/reiserfs.o, altho perhaps not in that format... And I can study /usr/share/man/man4/initrd.4.gz /usr/share/man/man5/mkinitrd.conf.5.gz /usr/share/man/man8/mkinitrd.8.gz /usr/share/man/man8/update-initrd.8.gz > 3. Edit grub.conf. > > title=... > kernel ... > initrd=/boot/initrd-yourversion > -- > Bob Miller K<bob> Thank you. That should get me started. -- Allen Brown work: Agilent Technologies non-work: http://www.peak.org/~abrown/ [EMAIL PROTECTED] [EMAIL PROTECTED] To the hobo I'm imprisoned by everything I own. --- Leon Russell _______________________________________________ EUGLUG mailing list [email protected] http://www.euglug.org/mailman/listinfo/euglug
