Gentoo Archives: gentoo-user

From: Christoph Gysin <cgysin@×××.ch>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub over the top of Win XP
Date: Wed, 07 Sep 2005 07:04:39
Message-Id: 431E8F1F.5030806@gmx.ch
In Reply to: [gentoo-user] grub over the top of Win XP by Mark Knecht
1 Mark Knecht wrote:
2 > The disk layout is like this
3 >
4 > (MBR) - Win XP
5 > /dev/hda1 - Win XP
6 > /dev/hda2 - extended partition
7 > /dev/hda5 - /boot
8 > /dev/hda6 - swap
9 > /dev/hda7 - /
10 > /dev/hda8 - /home
11 >
12 > Now, my question, where do I write grub? I believe it's into the
13 > MBR and not into partition 1, correct? If so I'd use:
14 >
15 > grub
16 >
17 > grub> root (hd0,4)
18 > grub> setup (hd0) (Install GRUB in the MBR)
19 > grub> quit
20 >
21 > Is this correct?
22
23 Not quite. At least you got the confusing numbering scheme right ;-)
24
25 (hd0,4) would be your / partition. But grub expects the partition containing the
26 grub installation files, which are located on /boot so it should be (hd0,2)
27
28 Christoph
29 --
30 echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3
31 --
32 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] grub over the top of Win XP Christoph Gysin <cgysin@×××.ch>