Gentoo Archives: gentoo-user

From: Maarten <gentoo@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
Date: Sun, 12 Feb 2006 23:10:44
Message-Id: 43EFBF09.9000107@ultratux.org
In Reply to: Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo by Gilberto Martins
1 Gilberto Martins wrote:
2
3 > livecd / # cat /boot/grub/grub.conf
4 > default 0
5 > timeout 0
6 > #splashimage=(hd0,0)/grub/splash.xpm.gz
7 >
8 > title Gentoo Linux 2.6.12.gentoo-r10
9 > root (hd0,0)
10 > kernel /kernel-gentoo-2.6.12-gentoo-r10 root=/dev/hdb3
11
12 You say /dev/hdB, and above (hd0,0). Therefore implying that there is no
13 /dev/hdA in the system. Is that correct ? If not, and you do have a
14 hda device, the (hd0,0) is wrong and should probably be (hd1,0).
15 But in that case your BIOS will probably boot from hda anyway so grub
16 will never even be launched in the first place. What lives on hda,
17 windows ?
18
19 You can trivially check this by running 'grub' and, within grub, say
20 'root (hd0,0)'. It should then reply by saying "Filesystem type is XXX"
21 where XXX is ext2 or ext3 or whatever you used. If it says something
22 like FAT or yields an error (Selected disk does not exist | No such
23 partition) you have the wrong mapping. Trying 'root (hd1,0)' will then
24 be more successful probably. However, your BIOS would still boot hda in
25 most cases, so you had better look into installing grub on /dev/hda (but
26 without breaking whatever lives on hda)
27 If you have no hda, or if hda is the CDrom, it may be prudent to change
28 the cabling so that linux is on the /dev/hda device. Altough it is
29 possible to boot from the slave drive, but it is more straightforward to
30 boot from the master, and you may save yourself some headaches.
31
32 Maarten
33 --
34 gentoo-user@g.o mailing list