Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need to put reiserfs module in initrd.img 2

Status
Not open for further replies.

adm

Technical User
Sep 14, 2001
8
CZ
Hi,
recently I noticed there is a bug in reiserfs implementation in 2.4.3 kernel and is strongly recommended to upgrade kernel (
I tried to compile new kernel 2.4.4 (for my first time). I think compilation goes OK (i read kernel-howto, compile with gcc-2.95.2), but after boot (loading kernel..OK) I get - cannot mount root fs on xxxx.

I found there's no option to compile reiserfs into kernel (??) so i compiled as a module.(yes I did make modules_install). I think the problem will be, that boot-ramdisk initrd.img do not contain reiserfs module. I've experimented with mkinitrd but I'm not able to get reiserfs module in it. How can I do that, or is the problem somewhere else?
 
Hi,

The general syntax of mkinitrd is like this :

/sbin/mkinitrd <ramdisk name> <kernel version>

The code would automatically just include the scsi modules. However, you can manually include a required module into an initrd with the '--with=modulename' syntax. So something like this :

/sbin/mkinitrd -v --with=reiserfs /boot/initrd-2.4.4.img 2.4.4

Rgds
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top