LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   initrd (https://www.linuxquestions.org/questions/linux-software-2/initrd-295159/)

chris318 02-26-2005 12:33 PM

initrd
 
I've built a 2.6.10 kernel and included "ram disk support and support for initial ram disk (initrd) support into the kernel", not as modules. Now when I make an initrd image with say "mkinitrd -c -k 2.6.10 -m fbcon:i810fb" and then put it in grub like:


title 2.6.10 custom
root (hd0,0)
kernel /boot/vmlinuz-2.6.10c root=/dev/hda1 ro
initrd /boot/initrd.gz

When it gets to the point of mounting my hda1 reiserfs it says something like: not syncing: VFS: fs could not be loaded on block (whatever).

The thing is I've built my ide and reiserfs into the kernel so I don't know what's up with that. By the way, I can boot the kernel without the initrd line in grub since ide and reiserfs is built into the kernel:

title 2.6.10 custom
root (hd0,0)
kernel /boot/vmlinuz-2.6.10c root=/dev/hda1 ro

Works fine. I'm scratching my head here.

chris318 02-27-2005 04:28 PM

I solved my own problem. My hard drive is using Reiserfs so I made ext2 filesystem a module, but the initrd image is using an ext2 filesystem so I hade to compile the ext2 in the kernel as well.


All times are GMT -5. The time now is 11:16 AM.