From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z8OjK-0000wc-Ni for mharc-grub-devel@gnu.org; Fri, 26 Jun 2015 04:11:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8OjI-0000uT-Hd for grub-devel@gnu.org; Fri, 26 Jun 2015 04:11:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8OjE-00032t-Gm for grub-devel@gnu.org; Fri, 26 Jun 2015 04:11:20 -0400 Received: from mail-la0-x232.google.com ([2a00:1450:4010:c03::232]:33013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8OjE-00032c-9Q for grub-devel@gnu.org; Fri, 26 Jun 2015 04:11:16 -0400 Received: by laka10 with SMTP id a10so59054724lak.0 for ; Fri, 26 Jun 2015 01:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=SjDEPiu3cJ/VIkN2A27NaYZFCZfSbJbP1xxwKhoTQ5U=; b=nV303QSm9UA2y2shG8dTcAb50U01KncckehXmQpnIPZ8lUWCD2dXXVlkUDpQc16+7k UP55IgPqbEAzbA4HbNr/5hjMtxC29+3Z03+TTnlb1YbNwhgbLFpC4QuV/ii83th4ENY6 LtkuBzxdN5mDErSVOFj781iqDsjvGUB0YmzoOPK0HUh6Hv9WGyKipLzycKwiG0PSaA0J Kf4pXxetBMH/BeYz0wtTbrAjEto+P1PNopAL+S2NMg1WgaQngFZxt0e4tY3Ue4jqpNlR /qpBIIm7N6uobOXgTfTYDPKdLzyEagQg7ZC2wtcWKSgnpKa2h/0zEq/qUP/+tdSiXSTN Zgmg== X-Received: by 10.152.43.37 with SMTP id t5mr387858lal.96.1435306275594; Fri, 26 Jun 2015 01:11:15 -0700 (PDT) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id bn2sm7959608lbc.47.2015.06.26.01.11.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jun 2015 01:11:14 -0700 (PDT) Date: Fri, 26 Jun 2015 11:11:14 +0300 From: Andrei Borzenkov To: "Dale Carstensen" Subject: Re: grub rescue read or write sector outside of partition Message-ID: <20150626111114.247a6e3a@opensuse.site> In-Reply-To: <20150626000953.M20169@lampinc.com> References: <20150626000953.M20169@lampinc.com> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.28; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::232 Cc: grub-devel@gnu.org 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 08:11:21 -0000 =D0=92 Thu, 25 Jun 2015 17:33:25 -0700 "Dale Carstensen" =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > 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. >=20 How? Please show exact commands you used as well as your disk configuration. > 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. >=20 > 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. >=20 Please show output of "set" command at this point. > So, set debug=3Dall 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. >=20 > 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. >=20 > 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. >=20 > Any advise? >=20 > Thanks. >=20 > -- > Open WebMail Project (http://openwebmail.org) >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel