Gilberto Martins wrote:

> livecd / # cat /boot/grub/grub.conf
> default 0
> timeout 0
> #splashimage=(hd0,0)/grub/splash.xpm.gz
> 
> title Gentoo Linux 2.6.12.gentoo-r10
> root (hd0,0)
> kernel /kernel-gentoo-2.6.12-gentoo-r10 root=/dev/hdb3

You say /dev/hdB, and above (hd0,0). Therefore implying that there is no
 /dev/hdA in the system.  Is that correct ?  If not, and you do have a
hda device, the (hd0,0) is wrong and should probably be (hd1,0).
But in that case your BIOS will probably boot from hda anyway so grub
will never even be launched in the first place.  What lives on hda,
windows ?

You can trivially check this by running 'grub' and, within grub, say
'root (hd0,0)'. It should then reply by saying "Filesystem type is XXX"
where XXX is ext2 or ext3 or whatever you used. If it says something
like FAT or yields an error (Selected disk does not exist | No such
partition) you have the wrong mapping. Trying 'root (hd1,0)' will then
be more successful probably. However, your BIOS would still boot hda in
most cases, so you had better look into installing grub on /dev/hda (but
without breaking whatever lives on hda)
If you have no hda, or if hda is the CDrom, it may be prudent to change
the cabling so that linux is on the /dev/hda device.  Altough it is
possible to boot from the slave drive, but it is more straightforward to
boot from the master, and you may save yourself some headaches.

Maarten
-- 
gentoo-user@gentoo.org mailing list

Reply via email to