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"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: grub
Version: 7.2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2001-11-16 22:00:11 UTC
Embargoed:


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 
laptop.

"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:
Always

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)

splashimage=(hd0,3)/boot/grub/splash.xpm.gz

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

splashimage=(hd0,3)/grub/splash.xpm.gz

And now it works beautifully.  Resolved, thanks!


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