Bug 56408

Summary: grub-install reports "/dev/hda4 does not have any corresponding BIOS drive"
Product: [Retired] Red Hat Linux Reporter: Alex Cruise <alex>
Component: grubAssignee: Jeremy Katz <katzj>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-11-16 22:00:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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!