calin radoni's humble web presence |
home![]() ![]() ![]() |
Fedora Core 3 installation failed (disk_dos.c:485)
Fedora Core 3 failed to install with the message:
Bug: Assertion (heads>0) at disk_dos.c:485 in function probe_partition_for_geom() failed.
In my case this was happened after I have installed FreeBSD
.
It seems that FreeBSD's installer has changed the logical disk geometry.
One of the powerfull utilities you can find in Linux is called sfdisk
.
Quoting from the sfdisk
's man page:
"
sfdisk
has four (main) uses: list the size of a partition, list the
partitions on a device, check the partitions on a device, and - very dangerous - repartition
a device.
"
Some simple examples for using sfdisk:
# sfdisk -s
# sfdisk -l
Warning: Be sure to read the man page for sfdisk before usage !
In my case the following procedure has restored the logical disk geometry to normal but in your case it may NOT be the correct one, rendering to useless bits your whole partition table, and your data, of course.
Warning: Be carefull what you are typing !
One typing mistake and ALL YOUR DATA could be lost !
Warning: The example uses /dev/hda !
Replace /dev/hda with your harddisk name.
Next, is the procedure I have used to change the number of heads, in partition table, to 255.
sfdisk
:
# sfdisk -d /dev/hda > hddPart.out
hddPart.out
,
to remove the warning present there.
sfdisk
requesting the change of heads to 255
preserving the partitions as stated in the file hddPart.out
:
# sfdisk --no-reread -H 255 /dev/hda < hddPart.out
This document is copyrighted (c) 2005 by Calin Radoni. Permission is granted to copy and/or distribute this document.
No liability for the contents of this document can be accepted. Use the concepts, examples and information at your own risk. There may be errors and inaccuracies that could be damaging to your system. Proceed with caution, the author do not take any responsibility.
All copyrights are held by their respective owners, unless specifically noted otherwise. Use of a term in this document should not be regarded as affecting the validity of any trademark or service mark. Naming of particular products or brands should not be seen as endorsements.