Am Mittwoch, den 07.09.2005, 10:25 +0200 schrieb Christoph Gysin:
> Neil Bothwick wrote:
> > Correct, and /dev/hda5 is (hd0,4) despite all the conflicting advice
> > you've been given.  All my boxes have /boot on hda5 and all use hd0,4
> > (well, except the iBook which uses that horrible yaboot thing, anyone
> > who wants to start a grub vs. lilo flame war should be made to use
> > yaboot).
> 
> Sorry for the confusing answers. I was pretty sure grub doesn't care wether 
> your 
> partions are primary or logical, giving each a number starting from 0. 
> Appearantly this is *not* the case. From the docs:
> 

Grub's a nasty hog, that's for sure (but still superior over Lilo IMHO).
Another very important point to consider is that Grub looks at drive
sequences from a BIOS perspective. Say you have disk 1 (primary IDE) and
disk 2 (secondary IDE). When you boot Grub in sunshine mode it'll see
disk 1 as hd0 and disk 2 as hd1. But if you jump into your BIOS and set
disk 2 to your primary boot medium Grub will change it's perspective and
match disk 2 to hd0.

>       (hd0,1)
> 
>     Here, `hd' means it is a hard disk drive. The first integer `0'
> indicates the drive number, that is, the first hard disk, while the
> second integer, `1', indicates the partition number (or the PC slice
> number in the BSD terminology). Once again, please note that the
> partition numbers are counted from _zero_, not from one. This
> expression means the second partition of the first hard disk drive. In
> this case, GRUB uses one partition of the disk, instead of the whole
> disk.
> 
>       (hd0,4)
> 
>     This specifies the first "extended partition" of the first hard disk
> drive. Note that the partition numbers for extended partitions are
> counted from `4', regardless of the actual number of primary partitions
> on your hard disk.
> 
> Hope this made things clearer now...
> 
> Christoph
> -- 
> echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
         [EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
         A-4540 Bad Hall
         Austria / Europe

-- 
gentoo-user@gentoo.org mailing list

Reply via email to