Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PzwKA-00087j-Vq for mharc-grub-devel@gnu.org; Wed, 16 Mar 2011 15:24:03 -0400 Received: from [140.186.70.92] (port=35696 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzwK9-00086i-0w for grub-devel@gnu.org; Wed, 16 Mar 2011 15:24:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzwK7-0002M2-Ph for grub-devel@gnu.org; Wed, 16 Mar 2011 15:24:00 -0400 Received: from caffeine.csclub.uwaterloo.ca ([129.97.134.17]:50801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzwK7-0002Lx-JZ for grub-devel@gnu.org; Wed, 16 Mar 2011 15:23:59 -0400 Received: by caffeine.csclub.uwaterloo.ca (Postfix, from userid 20367) id CCE5112DE; Wed, 16 Mar 2011 15:23:58 -0400 (EDT) Date: Wed, 16 Mar 2011 15:23:58 -0400 To: The development of GNU GRUB Message-ID: <20110316192358.GG343@caffeine.csclub.uwaterloo.ca> References: <20110316151332.GC343@caffeine.csclub.uwaterloo.ca> <4D80D75C.9080007@gmail.com> <20110316173216.GE343@caffeine.csclub.uwaterloo.ca> <4D810D54.1020008@cfl.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D810D54.1020008@cfl.rr.com> User-Agent: Mutt/1.5.18 (2008-05-17) From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 129.97.134.17 Cc: Lennart Sorensen Subject: Re: How to debug 'out of disk' error. X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2011 19:24:02 -0000 On Wed, Mar 16, 2011 at 03:19:48PM -0400, 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. Well usually it should, but not always. Here is the partition table: Disk /dev/sda: 80.0 GB, 80032038912 bytes 255 heads, 63 sectors/track, 9730 cylinders, total 156312576 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0004a073 Device Boot Start End Blocks Id System /dev/sda1 * 2048 152350719 76174336 83 Linux /dev/sda2 152352766 156311551 1979393 5 Extended /dev/sda5 152352768 156311551 1979392 82 Linux swap / Solaris -- Len Sorensen