Gentoo Archives: gentoo-user

From: maxim wexler <blissfix@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub hell
Date: Mon, 12 Nov 2007 17:59:04
Message-Id: 944813.69214.qm@web31714.mail.mud.yahoo.com
In Reply to: Re: [gentoo-user] grub hell by Mick
1 > My guess is that you have incompatible jumper
2 > settings on the back of the
3 > drives. Check these and make sure that they reflect
4 > what the BIOS sees.
5 > Also, check your /boot/grub/device.map for
6 > consistency. Then use tab
7 > completion from the grub prompt to find devices and
8 > bootable partitions.
9
10 Both drives are set to master which the BIOS confirms.
11
12 Device map:
13
14 (fd0) /dev/fd0
15 (hd0) /dev/hda
16 (hd1) /dev/hdc
17
18 is consistent.
19
20 Tab completion at the grub prompt only finds the
21 second drive which it insists on calling the first
22 contrary to device.map.
23
24 > If the above doesn't get you booting please post
25 > your grub.conf, along with
26 > fdisk -l.
27
28 grub.conf:
29
30 #XP
31 title=XP
32 rootnoverify (hd0,0)
33 map (hd1)(hd0)
34 makeactive
35 chainloader +1
36 boot
37
38 (I used one 'map' command following Dan Farrell's
39 model but using two made no difference)
40
41 #Gentoo
42 title=Gentoo
43 root (hd0,0)
44 kernel /vmlinuz root=/dev/hdc3
45 video=aty128fb:1024x768@76
46 boot
47
48 Note:
49
50 The entry for XP elicits:
51
52 Error 11 Unrecognized device string
53
54 no matter how I edit it using the 'e' command in grub.
55
56 Gentoo will not boot unless grub is told it's on the
57 FIRST drive contrary to device.map anything else and
58 grub reports "disk does not exist"
59
60 fdisk -l:
61
62
63 Disk /dev/hda: 6448 MB, 6448619520 bytes
64 255 heads, 63 sectors/track, 784 cylinders
65 Units = cylinders of 16065 * 512 = 8225280 bytes
66
67 Device Boot Start End Blocks Id
68 System
69 /dev/hda1 1 783 6289416 7
70 HPFS/NTFS
71
72 Disk /dev/hdc: 122.9 GB, 122942324736 bytes
73 176 heads, 63 sectors/track, 21656 cylinders
74 Units = cylinders of 11088 * 512 = 5677056 bytes
75
76 Device Boot Start End Blocks Id
77 System
78 /dev/hdc1 * 1 7 38776+ 83
79 Linux
80 /dev/hdc2 8 96 493416 82
81 Linux swap / Solaris
82 /dev/hdc3 97 10666 58600080 83
83 Linux
84 /dev/hdc4 10667 21656 60928560 83
85 Linux
86
87 I've tried toggling the bootable flag on /dev/hda.
88 Didn't work.
89
90 As I mentioned before attempts to install grub to
91 /dev/hda fail completely forcing a reboot w/Win98 and
92 entering A:\fdisk /mbr after which XP boots but only
93 if the second drive is disabled. Installing to
94 /dev/hdc at least lets me boot gentoo.
95
96 Both drives pass smartctl tests.
97
98 grub is version 0.97
99
100 Don't know what else to add.
101
102 -mw
103
104 __________________________________________________
105 Do You Yahoo!?
106 Tired of spam? Yahoo! Mail has the best spam protection around
107 http://mail.yahoo.com
108 --
109 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] grub hell Dan Farrell <dan@×××××××××.cx>