[Tfug] kernel issues 2.6.15
Robert Hunter
bobjim.hunter at gmail.com
Sat Feb 25 09:15:32 MST 2006
On 2/24/06, erich <erich1 at copper.net> wrote:
> Here's my grub file:
>
> default 0
> timeout 30
> splashimage=(hd0,5)/grub/splash.xpm.gz
> title =linux-2.6.13-suspend2-r4
> root(hd0,5)
> kernel /linux-2.6.13-suspend2-r4 root=/dev/hda7 vga=791
> What always confuses the hell out of people is the meaning of
> the word "root" The meaning changes from the next to the last
> line to the meaning on the last line in a grub file.
>
The second reference to "root" is a parameter that grub is passing to
the kernel. The meaning is the same, but the syntax is different.
Both are references to the boot partition. Grub uses a zero-based
system: (BIOS drive number, partition number ). Linux uses a
one-based system where the partition number is appended to device
file. Don't be confused by the similarity between the grub "hd*"
notation, and the linux "/dev/hd*" IDE disk, as they are unrelated.
--
Rob
More information about the tfug
mailing list