[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 Tue, Sep 29, 2009 at 05:34:57PM -0400, Justin Piszcz wrote:
> Hi,
> 
> Anyone else with grub2 have any advice for Andrew?  Is it normal for
> grub2 to show a blank screen when booting a kernel?

I think grub2 add quiet to the kernel options and thus blank screen,
edit the grub line on reboot and remove the quiet and maybe put in
verbose.

although these might be a feature of the initrd ......

> 
> Justin.
> 
> On Tue, 29 Sep 2009, Andrew Perrin wrote:
> 
> >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.
> >>
> >
> 
> 

-- 
Love is the triumph of imagination over intelligence.
		-- H. L. Mencken

Attachment: signature.asc
Description: Digital signature


Reply to: