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

Re: Building a 2.6.30 kernel that does NOT require initrd




On Mon, 28 Sep 2009, Justin Piszcz wrote:

Hi,

I have not used grub2, however- I will ask others on the list--

If you are compiling (most) everything into the image itself, you probably don't need the insmod line below and I am not sure you want the search
line either.

menuentry "Debian GNU/Linux, Linux 2.6.30 (recovery mode)" {
 insmod ext2 <- Remove
 set root=(hd0,1)
 search --no-floppy --fs-uuid --set 19ee8fc7-d4b5-4ea3-86d9-eba7bf3b857e
 linux /boot/vmlinuz-2.6.30 root=/dev/sda1 ro single }

Please try the following instead:

menuentry "Debian GNU/Linux, Linux 2.6.30" {
 set root=(hd0,1)
 linux /boot/vmlinuz-2.6.30 root=/dev/sda1 ro
}

Same problem - no text scrolls by, the first (and last) thing on the screen is:

Kernel panic - not syncing: No init found. Try passing init= option to kernel.


----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Associate Professor and Associate Chair of Sociology
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA



Reply to: