euglug.org

[Eug-lug] reiser root file system

작성자

카테고리:



Bob MillerTue Dec 21 09:43:10 PST 2004

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...

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.

1. Compile your kernel with ramdisk and initrd support.
   Your distro may already have initrd.

	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. (-: )

3. Edit grub.conf.

	title=...
	kernel ...
	initrd=/boot/initrd-yourversion

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     kbob at jogger-egg.com