public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Heinz Sporn <heinz.sporn@sporn-it.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] grub over the top of Win XP
Date: Wed, 07 Sep 2005 11:00:42 +0200	[thread overview]
Message-ID: <1126083643.11211.29.camel@spok.local.sporn-it.com> (raw)
In-Reply-To: <431EA3FF.5020108@gmx.ch>

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" org@fr33z3
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   heinz.sporn@sporn-it.com
         heinz.sporn@utanet.at
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
         A-4540 Bad Hall
         Austria / Europe

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-09-07  9:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-07  4:40 [gentoo-user] grub over the top of Win XP Mark Knecht
2005-09-07  5:27 ` Glenn Enright
2005-09-07  6:53   ` Christoph Gysin
2005-09-07  6:56 ` Christoph Gysin
2005-09-07  7:45   ` Christoph Gysin
2005-09-07  7:23 ` Heinz Sporn
2005-09-07  7:58   ` Neil Bothwick
2005-09-07  8:25     ` Christoph Gysin
2005-09-07  9:00       ` Heinz Sporn [this message]
2005-09-07 19:12         ` Mark Knecht
2005-09-07 20:46           ` Willie Wong
2005-09-08 11:17           ` Michael Kintzios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1126083643.11211.29.camel@spok.local.sporn-it.com \
    --to=heinz.sporn@sporn-it.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox