[vox-tech] grub not finding root partition

Peter Jay Salzman p at dirac.org
Fri May 20 08:09:45 PDT 2005


On Fri 20 May 05,  8:03 AM, Jonathan Stickel <jjstickel at sbcglobal.net> said:
> Peter Jay Salzman wrote:
> >New install.
> >
> >Grub seems to work for my Debian kernels:
> >
> >   title		Debian GNU/Linux, kernel 2.6.8-2-686 
> >   root		(hd1,0)
> >   kernel		/vmlinuz-2.6.8-2-686 root=/dev/hda6 ro 
> >   initrd		/initrd.img-2.6.8-2-686
> >   savedefault
> >   boot
> >
> >But not for a home compiled kernel:
> >
> >   title		Debian GNU/Linux, kernel 2.6.11
> >   root		(hd1,0)
> >   kernel		/vmlinuz-2.6.11 root=/dev/hda6 ro 
> >   savedefault
> >   boot
> >
> >When I try to boot 2.6.11, the kernel can't find the root filesystem and
> >panics.
> >
> >I don't know grub very well -- anyone have a guess what's going on?
> >
> 
> Here is a typical grub entry for me, if it helps:
> 
> title=linux-2.6.10-gentoo-r6_4-19-05
> root (hd0,1)
> kernel (hd0,1)/boot/vmlinuz-2.6.10-gentoo-r6_4-19-05 root=/dev/hda5
> 
> I notice you don't specify an initrd for your custom kernel.  My guess 
> is you missed specifying 'y' rather than 'm' for something important, 
> something that's required for your root filesystem.  I've done that a 
> few times, and that's the error message I get.
 
Whoops!  You're right.  ext3 was built as a module.  I just remedied that
and recompiled.

Hopefully I'll be able to respond to this email in a few minutes.  ;)

Pete

-- 
Every theory is killed sooner or later, but if the theory has good in it,
that good is embodied and continued in the next theory. -- Albert Einstein

GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D


More information about the vox-tech mailing list