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

Re: Building a 2.6.30 kernel that does NOT require initrd



I'm using grup-pc, which is grub2:

che:/home/aperrin# dpkg -l | grep grub
ii grub-common 1.97~beta3-1 GRand Unified Bootloader, version 2 (common files) ii grub-pc 1.97~beta3-1 GRand Unified Bootloader, version 2 (PC/BIOS version)


----------------------------------------------------------------------
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



On Tue, 29 Sep 2009, Justin Piszcz wrote:



On Tue, 29 Sep 2009, Andrew Perrin wrote:


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



Are you using grub or grub2?

$ dpkg -l | grep -i grub

Someone who has worked with grub/grub2 more is going to have to take a look at this, I still use lilo on all my hosts here, it sounds like your kernel is ok as you stated you upgrade it regularly.

When you boot do you select the image that you installed? I'd be curious what the problem is here as well :)

Justin.



Reply to: