From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8OVD-00029k-Mv for mharc-grub-devel@gnu.org; Fri, 26 Jun 2015 03:56:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8HcG-0003xz-73 for grub-devel@gnu.org; Thu, 25 Jun 2015 20:35:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8HcD-0004lN-1v for grub-devel@gnu.org; Thu, 25 Jun 2015 20:35:36 -0400 Received: from los-alamos.net ([67.133.86.10]:46462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8HcC-0004k0-Qt for grub-devel@gnu.org; Thu, 25 Jun 2015 20:35:32 -0400 Received: from lacn.los-alamos.net (lacn.los-alamos.net [10.9.91.6]) by los-alamos.net (8.12.8/8.10.1) with ESMTP id t5Q0cjZF011315 for ; Thu, 25 Jun 2015 18:38:45 -0600 (MDT) Received: from localhost (lacn.los-alamos.net [127.0.0.1]) by lacn.los-alamos.net (Postfix) with ESMTP id DCCE129C for ; Thu, 25 Jun 2015 18:33:43 -0600 (MDT) Received: from lacn.los-alamos.net ([127.0.0.1]) by localhost (lacn.los-alamos.net [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 13873-10; Thu, 25 Jun 2015 18:33:25 -0600 (MDT) Received: from lacn.los-alamos.net (lacn.los-alamos.net [127.0.0.1]) by lacn.los-alamos.net (Postfix) with ESMTP id 77D5829E; Thu, 25 Jun 2015 18:33:25 -0600 (MDT) From: "Dale Carstensen" To: grub-devel@gnu.org Subject: grub rescue read or write sector outside of partition Date: Thu, 25 Jun 2015 17:33:25 -0700 Message-Id: <20150626000953.M20169@lampinc.com> X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 24.156.13.143 (dlc) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 67.133.86.10 X-Mailman-Approved-At: Fri, 26 Jun 2015 03:56:46 -0400 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Fri, 26 Jun 2015 00:35:37 -0000 I had a drive fail, and it is the one that had grub on it. It had parts of two RAID-6 partitions, too. So I bought a new drive and added partitions on it to replace the failed RAID-6 parts. That was still booting OK from the failed drive, but then I updated the kernel, and I decided to also install a new grub on the new drive. That seemed to go OK until I tried to reboot. I landed in grub rescue. Fortunately I have several computers, so I can look up documentation, etc. without my main desktop functioning. Somewhere I found that grub rescue has only a few commands, none of them "help" or a list of commands, and no TAB-expansions. Well, they seem to be ls, set, unset and insmod. Supposedly, running insmod normal, then normal, will get back to the fuller set of commands with help, but that's where it gets the "outside of partition" error, it seems. I can ls the /boot/grub/i386-pc/ directory, where normal.mod is, so I would think grub rescue could find and read normal.mod, too, but, I guess not. So, set debug=all helped a little, expanding the message from just something like (I'd have to keep trying to reboot to get it verbatim) read or write bad, to the specific size of the partition (in decimal, around 175 million 512-byte blocks) and the sector it is trying to read (read.c:461) (in hexadecimal), around 10 million. But 10 million hex really is larger than 175 million decimal. So maybe my BIOS has some limitation on how deep it can read into this 2 TB drive, or maybe the drive having hardware sectors of 4096 bytes replacing one with 512 confuses grub. But the old drive with the failures gets the same problem. It's gentoo, grub2 (I could look up the version once it's running again), 64-bit (although grub seems not to really notice 32- vs 64-bit, or the kernel, so I'm not sure it's just smart or really dumb), and, like I say, the / partition is RAID-6, including /boot. I'm going to try making a non-RAID /boot, maybe later I'll try making it RAID-1, to see if that helps. Any advise? Thanks. -- Open WebMail Project (http://openwebmail.org)