Bug 196613 - Built system is not bootable from MBR boot loader
Summary: Built system is not bootable from MBR boot loader
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-26 00:13 UTC by David K. Means
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-26 14:44:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David K. Means 2006-06-26 00:13:08 UTC
Description of problem:
Installer produces a perfectly valid system that is inaccessible
to GRUB, on account of BIOS (even LBA) not being able to retrieve
config file.  This leads to a 3-hour turnaround time before a usable
installation can be built.

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


How reproducible:
100%.  But it requires a target disc with non-Linux partition using up
the first 2GB of space.  This is pretty easy to do with a 40GB dis.

Steps to Reproduce:
1.  Use a 1999 BIOS (lots of them still around)
2.  Fill first 2GB with FAT partition
3.  Build Fedora Core 5, letting it take default actions about disc space
assignment.
  
Actual results:
GRUB>
does not boot
GRUB> root (hd0,0)
Error 15 (I think)

Expected results:


Additional info:

Comment 1 Jesse Keating 2006-06-26 00:47:12 UTC
What did you do to fix this?  I'm not sure we can query the bios to see if it is
a 1999 bios as you say to work around it...

Comment 2 David K. Means 2006-06-26 03:43:21 UTC
I was lazy, so to get around this, I deleted all the partitions on the disc,
and created /boot first, so that it would be addressable (no matter how small
the LBA field was).  I recommend that, when the installer comes up with a place
to put the GRUB config file, it check the block address by asking the BIOS to
seek there, and see if an error comes back.  This would save the unsuspecting
user from having to spend three hours wading through all the build screens (and CDs)
before discovering that the system would be unbootable.

Thanks for the quick reply.

Comment 3 Jesse Keating 2006-06-26 13:20:12 UTC
Moving over to anaconda.  Not sure if this is doable.

Comment 4 Jeremy Katz 2006-06-26 14:44:31 UTC
Unfortunately, there's no reliable way to do this -- we used to actually try to
check but there were at least as many false hits as actual helpful ones.  And
given that it's not a problem for modern BIOS'es (which still trigger the false
hit in some cases), keeping the code around was causing more problems than help.


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