Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub hell
Date: Tue, 13 Nov 2007 19:49:21
Message-Id: 200711131942.40289.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] grub hell by maxim wexler
1 On Tuesday 13 November 2007, maxim wexler wrote:
2 > --- Dan Farrell <dan@×××××××××.cx> wrote:
3 > > On Mon, 12 Nov 2007 15:27:55 -0800 (PST)
4 > >
5 > > maxim wexler <blissfix@×××××.com> wrote:
6 > > > > rootnoverify (hd1,0)
7 > > > > map (hd1)(hd0)
8 > > >
9 > > > Error 11: Unrecognized device string
10 > > >
11 > > > Press any key to continue...
12 >
13 > ___________________________________________________________________________
14 >_________
15 >
16 > > > Get easy, one-click access to your favorites.
17 > > > Make Yahoo! your homepage.
18 > > > http://www.yahoo.com/r/hs
19 > >
20 > > do you have a space in between (hd1) and (hd0) in
21 > > map (hd1) (hd0)
22 > > ?
23 >
24 > space or no space makes no difference.
25 >
26 > The thing is, tab completion finds only hd0 which grub
27 > doesn't seem to realize is the SECOND drive. Using hd1
28 > gives error 21: Selected disk does not exist. Although
29 > it appears in device.map, dmesg, fdisk etc.
30 >
31 > Maybe it's a bug in grub.Gonna send a note to
32 > bug-grub@×××.org see what happens.
33
34 I am not sure if you have tried this or not, but when you map one drive to
35 another {say: map (hd0) (hd1)}, you also need to map the second drive to the
36 first, instead of leaving it hanging. So, the complete entry becomes:
37
38 map (hd0) (hd1)
39 map (hd1) (hd0)
40
41 If this doesn't work you may want to try the hide command. Hide all the other
42 bootable partitions but the one you intend to boot:
43
44 unhide (hd1,0)
45 hide (hd1,0)
46 rootnoverify (hd1,0)
47 map (hd0) (hd1) <--These two may or may not be
48 map (hd1) (hd0) <--needed with un/hide command
49 makeactive
50 chainloader +1
51
52 It is also a good idea to only have the bootable flag set with fdisk on the
53 WinXP partition (Linux /boot doesn't need it anyway).
54
55 Finally, you could also try changing the device map from (hd1) /dev/hdc to
56 (hd2) /dev/hdc.
57
58 HTH.
59 --
60 Regards,
61 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] grub hell maxim wexler <blissfix@×××××.com>