Bug 56408 - grub-install reports "/dev/hda4 does not have any corresponding BIOS drive"
Summary: grub-install reports "/dev/hda4 does not have any corresponding BIOS drive"
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: grub   
(Show other bugs)
Version: 7.2
Hardware: i686 Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-11-16 21:38 UTC by Alex Cruise
Modified: 2008-05-01 15:38 UTC (History)
0 users

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

Attachments (Terms of Use)

Description Alex Cruise 2001-11-16 21:38:24 UTC
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 21:40:41 UTC
What do /boot/grub/grub.conf and /boot/grub/device.map look like?

Comment 2 Alex Cruise 2001-11-16 21:47:40 UTC
/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 21:50:45 UTC
It worked, but how do I make it graphical? :)

Comment 4 Jeremy Katz 2001-11-16 22:00:05 UTC
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 22:10:36 UTC
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.