grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug 'out of disk' error.


From: Grégoire Sutre
Subject: Re: How to debug 'out of disk' error.
Date: Fri, 18 Mar 2011 10:04:42 +0100
User-agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.9.2.13) Gecko/20110128 Lightning/1.0b3pre Lanikai/3.1.7

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]