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

Re: kernel compile - Unable to mount root fs



it works!

I just forget:

cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.30-1


and:
mkinitramfs -o /boot/initrd.img-2.6.30-1 2.6.30.1


and to edit grub:
title kernel 2.6.30.1-barminev
root (hd0,1)
kernel /vmlinuz-2.6.30-1 root=/dev/hda2 ro
initrd /initrd.img-2.6.30-1

thank you!!! alias köszi! :D

On Sat, Jul 18, 2009 at 10:01 AM, Aioanei Rares <debian.dev.list@gmail.com> wrote:
mkinitrd is a standard command on all linux systems, so you can check
its manual page. Maybe man update-initramfs can help too. Best of
luck.

On 7/17/09, Don Quixote de la Mancha <quixote@dulcineatech.com> wrote:
> 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
> quixote@dulcineatech.com
> http://www.dulcineatech.com
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: