[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRUB problem with multiple ATA controllers

From: adrian15
Subject: Re: GRUB problem with multiple ATA controllers
Date: Thu, 01 Feb 2007 18:52:57 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Gerry Reno escribió:
cat /boot/grub/device.map:

# this device map was generated by anaconda
(hd3)     /dev/hdi
(hd2)     /dev/hdk

    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
   completions of a device/filename.]

grub> root (hd0,0)
 Filesystem type unknown, partition type 0xfd

grub> root (hd1,0)
 Filesystem type unknown, partition type 0xfd

grub> root (hd2,0)
 Filesystem type is fat, partition type 0xe

grub> root (hd3,0)

Error 21: Selected disk does not exist

grub> quit

As you can see, the first partition on each drive is of type 0xfd which
is Linux Software Raid type. But, for some reason GRUB cannot see the
fourth drive at all and misidentifies the third drive first partition as
fat. So I'm suspecting I've stumbled across a bug in GRUB which is
preventing this system from booting. Has anyone run across this before?

ATA controllers:
 onboard HPT372
 PCI card HPT302
OS: Fedora Core 6
GRUB: grub-0.97-13

I must admit it is the first time I see such a strange configuration.
You try to boot from hd3!

1st thing

As long as grub invents itself the hd0 drive I recommend you running
grub like this and see if it invents hd0 or not again:

grub --device-map=/boot/grub/device.map

2nd thing
I do not know which kind of bios you have but usually the hard disk that
it is booted is labeled by the bios as: hd0 so if you pretend to boot
from /dev/hdi you should perhaps modify your device.map so that you see
something as:

(hd0)     /dev/hdi
(hd1)     /dev/hdk

and then re-install grub, or alternative use the device command inside
grub shell.

If you can tell your bios to boot your hdi drive as hd3 you have a quite
good bios :).

3rd thing
You can use Super Grub Disk ( http://supergrub.forjamari.linex.org )
cdrom, burn it, boot from it and then:

Option Boot & Tools -> Boot Partition to see what hard drives does grub
see and to which actual hard disks are there mapped from the bios point
of view.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]