[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel compile - Unable to mount root fs

In your Grub menu.lst file, there are some lines that look like this one:

  initrd          /initrd.img-2.6.26-2-686

You need a line like that just below the item for the kernel you're
trying to boot, except that you want the initrd version to match the
new kernel version.

initrd stands for Initial RAM Disk.  It's a compressed archive that
contains the contents of a small initial root filesystem, with just
enough in it to to load the modules you're going to need to mount your
root filesystem.  In particular it needs to have the modules for your
lvm and any RAID controllers.

I've never made an initrd on Debian, but on Fedora the command is mkinitrd.

Don Quixote
Don Quixote de la Mancha

Reply to: