Gentoo Archives: gentoo-user

From: Dan Farrell <dan@×××××××××.cx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub hell
Date: Mon, 12 Nov 2007 02:37:01
Message-Id: 20071111203122.7294f10f@pascal.spore.ath.cx
In Reply to: [gentoo-user] grub hell by maxim wexler
1 On Sun, 11 Nov 2007 14:01:24 -0800 (PST)
2 maxim wexler <blissfix@×××××.com> wrote:
3
4 > Hi group,
5 >
6 > Previously I had a problem with hard drive that turned
7 > out was a faulty IDE controller, not the drive, not
8 > the cable.
9 >
10 > Now I can't use /dev/hdb but /dev/hdc is OK. So my set
11 > up is /dev/hda(WinXP) and /dev/hdc(gentoo), ie, WinXP
12 > is on the first IDE as master and gentoo is on the sec
13 > IDE also as master. hdd is the CDROM(sec IDE,slave),
14 > to complete the setup.
15 >
16 > So far I've tried every possible permutation of root,
17 > rootnoverify and map. I've tried installing the boot
18 > loader on /dev/hda and /dev/hdc. On hda nothing
19 > works(error 21). On hdc the boot menu appears and I
20 > can boot gentoo but not WinXP
21 >
22 > Error messages: "selected disk does not exist", "not
23 > found or not a block device", "could not find device
24 > for boot". Sorry, I can't recall the exact context for
25 > these messages but this will give a flavor hopefully.
26 >
27 > I've tried changing the boot order in the BIOS.
28 >
29 > I can get gentoo to boot if I tell grub it's on
30 > (hd0,0)(?!?!) but WinXP won't boot unless I remove the
31 > HD w/gentoo on it and bypass grub altogether.
32 >
33 > fdisk can see both drives OK. Both drives appear in
34 > dmesg w/o errors. Both drives appear in the POST
35 > screen -- first drive as '0', second drive as '1'
36 >
37 > I've scoured the web for an answer and now must turn
38 > to the authorities on this list as a last resort.
39 >
40 > Maxim
41 >
42 > __________________________________________________
43 > Do You Yahoo!?
44 > Tired of spam? Yahoo! Mail has the best spam protection around
45 > http://mail.yahoo.com
46
47
48 notice how I use the grub 'map' command here to make the windows hard
49 drive 'first' for Windows's sake.
50
51 Here, the boot priority has probably been set in the kernel.
52
53 http://spore.ath.cx/~dan/config/grub.conf.pascal
54
55 --
56 gentoo-user@g.o mailing list