Re: Customized 2.6.10 kernel on a Compact Flash

Rahul Karnik
2005-02-16T22:15:07Z

> 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