[vox-tech] grub not finding root partition

David Hummel dhml at comcast.net
Fri May 20 08:03:07 PDT 2005


On Fri, May 20, 2005 at 10:45:32AM -0400, Peter Jay Salzman wrote:
> 
> 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.

If the root filesystem is on /dev/hda, then the drive should be hd(0,0).

http://www.gnu.org/software/grub/manual/html_node/Naming-convention.html#Naming%20convention

-David



More information about the vox-tech mailing list