Bug 56408 - grub-install reports "/dev/hda4 does not have any corresponding BIOS drive"
grub-install reports "/dev/hda4 does not have any corresponding BIOS drive"
Product: Red Hat Linux
Classification: Retired
Component: grub (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2001-11-16 16:38 EST by Alex Cruise
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-11-16 17:00:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alex Cruise 2001-11-16 16:38:24 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

Description of problem:
grub can't seem to install itself to the HD on my Dell Latitude C600 

"sudo /sbin/grub-install '(hd0)'" reports:
/dev/hda4 does not have any corresponding BIOS drive.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Borrow my laptop
2. Login as root
3. /sbin/grub-install '(hd0)'

Actual Results:  Error message as above.

Expected Results:  I've never seen grub run successfully, I dunno!

Additional info:

"fdisk -l /dev/hda" reports:

"Partition table entries are not in disk order."

Drive is an IBM-DJSA-220.  This partition setup was done using Partition 
Magic 4.x.
Comment 1 Jeremy Katz 2001-11-16 16:40:41 EST
What do /boot/grub/grub.conf and /boot/grub/device.map look like?
Comment 2 Alex Cruise 2001-11-16 16:47:40 EST
/boot/grub/device.map only contained one entry, for (fd0).  I added an entry for 
(hd0) and grub-install says it has worked.  Rebooting now...
Comment 3 Alex Cruise 2001-11-16 16:50:45 EST
It worked, but how do I make it graphical? :)
Comment 4 Jeremy Katz 2001-11-16 17:00:05 EST
What does your /boot/grub/grub.conf look like?  You need something like
(assumign that you don't have a separate /boot)

Comment 5 Alex Cruise 2001-11-16 17:10:36 EST
My /boot is in fact a separate partition, /dev/hda4.  I added:


And now it works beautifully.  Resolved, thanks!

Note You need to log in before you can comment on or make changes to this bug.