Summary: | generates initrd that fails to start init and can't find root | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Paul Pacheco <paulpach> |
Component: | genkernel | Assignee: | Brad House <brad> |
Status: | RESOLVED INVALID | ||
Severity: | critical | CC: | avenj, drobbins, eonwe, livewire, matteo-ml, tratz, x86-kernel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Paul Pacheco
2003-12-30 14:57:13 UTC
It happens the same thing also to me. It's pretty annoying. Other kernels don't have this problem, i guess it's on with initrd or something like that. Whilst the old genkernel built always the busybox and etc, now it uses the cached tbz2. Could it be a problem (since they should be re-generated)? Quite critical, indeed, as specifying the real partition when asked result in a awful kernel panic. Genkernel 1.9 didn't do that. PS Also tried manually compiling the kernel. The only thing I left out was initrd and busybox, so I guess the problem should be with that. It occurs to me as well, the root partition is XFS over here. I found the solution. In grub, you have to add the following parameters to the kernel line: root=/dev/ram0 init=/linuxrc real_root=/dev/hda Of course, replace /dev/hda for your real root partition. This is what I have in my grub file: title=Gentoo root (hd2,0) kernel /boot/kernel-2.6.1-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/sdb5 video=vesa:ywrap,mtrr vga=0x317 quiet splash=silent initrd /boot/initrd-2.6.1-gentoo If it does not come out right, the kernel line ends with splash=silent I am going to close this bug since it works now with those parameters. I use lilo. What have I to set it to? invalid bug. RTFM /usr/share/genkenel/README you MUST pass root=/dev/ram0 real_root=/dev/hdX1 to the kernel For lilo, you can pass the same arguments by using append= under your kernel image. Please see `man lilo.conf` for more information on using append= |