Re: Customized 2.6.10 kernel on a Compact Flash

From: Rahul Karnik
Date: Wed Feb 16 2005 - 17:18:10 EST


> The GRUB detects the CF hard disk as
> hda0 when we boot the embedded board and so in both the kernel parameter in
> grub.conf as well as in the inittab file we have / (root) marked as
> /dev/hda0.

Grub and the kernel number things differently. In particular, grub
numbers partitions starting at 0, while the kernel starts at 1. So
while you would use "root (hd0,0" for grub, the kernel commandline
would be "root=/dev/hda1".

Hope this helps,
Rahul
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/