On 03/16/2011 20:19, Phillip Susi wrote:
On 3/16/2011 1:32 PM, Lennart Sorensen wrote:
So I now have some debug info:
version=48
total_sectors=156312576 C=16383 H=16 S=63
error: hd0,msdos1 out of disk.
Entering rescue mode...
grub rescue>
So version is returning something, and it is actually getting the disk
size properly. I wonder what else could cause the out of disk message
then.
What does the partition table look like? It doesn't extend beyond
sector 156312575 does it?
Also I wonder about why H=16. It should be 255.
I didn't look at the code, but this is probably the ATA geometry of
the disk, which is returned by the INT-13h (Extended) function 48h
(Read Drive Parameters). If I remember correctly, this geometry is
always 16383/16/63 for disks larger than 8.4GB.
Grégoire
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel