From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JMtY3-0004YP-VS for mharc-grub-devel@gnu.org; Wed, 06 Feb 2008 18:19:24 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMtY2-0004Wd-3e for grub-devel@gnu.org; Wed, 06 Feb 2008 18:19:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMtY0-0004Uw-5P for grub-devel@gnu.org; Wed, 06 Feb 2008 18:19:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMtY0-0004Um-0b for grub-devel@gnu.org; Wed, 06 Feb 2008 18:19:20 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JMtXz-0006by-O4 for grub-devel@gnu.org; Wed, 06 Feb 2008 18:19:19 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JMtXu-0001ow-3W for grub-devel@gnu.org; Wed, 06 Feb 2008 23:19:14 +0000 Received: from crypt.ethx.net ([82.165.27.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Feb 2008 23:19:14 +0000 Received: from sam by crypt.ethx.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Feb 2008 23:19:14 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: Sam Morris Date: Wed, 6 Feb 2008 23:19:07 +0000 (UTC) Message-ID: References: <1202161005.7223.38.camel@xerces> <20080204224338.GC28299@thorin> <20080205093519.GA30578@thorin> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: crypt.ethx.net User-Agent: Pan/0.132 (Waxed in Black) Sender: news X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: grub2 and Linux software RAID devices X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2008 23:19:22 -0000 On Wed, 06 Feb 2008 00:49:24 +0000, Sam Morris wrote: > Then the screen blanks, and the next thing printed is: > > Welcome to GRUB! > > Entering into rescue mode... > grub rescue> > > Whereupon I can enter 'insmod normal' and then 'normal' to get to the > regular boot menu. I modified the grub_load_normal_mode function in kern/main.c to print out the value of grub_errno after calling 'grub_dl_load ("normal")'. The result was 11, which corresponds to GRUB_ERR_OUT_OF_RANGE. I think it would be a good idea to modify the code to print out a description of the error at this point, or at least to display the error number, so that users know why they are being booted into the rescue shell. -- Sam Morris http://robots.org.uk/ PGP key id 1024D/5EA01078 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078