From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JMYTq-0002AL-M7 for mharc-grub-devel@gnu.org; Tue, 05 Feb 2008 19:49:38 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMYTp-0002A2-7n for grub-devel@gnu.org; Tue, 05 Feb 2008 19:49:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMYTo-00029i-J5 for grub-devel@gnu.org; Tue, 05 Feb 2008 19:49:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMYTo-00029f-Ce for grub-devel@gnu.org; Tue, 05 Feb 2008 19:49:36 -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 1JMYTn-0001NT-Vr for grub-devel@gnu.org; Tue, 05 Feb 2008 19:49:36 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JMYTj-0005Jo-0k for grub-devel@gnu.org; Wed, 06 Feb 2008 00:49:31 +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 00:49:31 +0000 Received: from sam by crypt.ethx.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Feb 2008 00:49:31 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: Sam Morris Date: Wed, 6 Feb 2008 00:49:24 +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 00:49:37 -0000 On Tue, 05 Feb 2008 10:35:19 +0100, Robert Millan wrote: > On Tue, Feb 05, 2008 at 01:32:46AM +0000, Sam Morris wrote: >> >> Version 1.96+20080203-1 behaves differently; I am simply dropped to the >> rescue shell, and I can't load any modules (because root is set to >> (hd1,2) which does not show up when I run 'ls'). I guessed that this is >> because 'pc' is not in the list of modules included when grub-install >> creates core.img. > > Did you make sure 'pc' is loaded before 'raid' ? This was required, at > least for LVM. Yes, the exact command I ran was: 'grub-mkimage --output=/boot/grub/ core.img --prefix=/boot/grub ext2 pc biosdisk raid _chain'. >> If I add 'pc' to core.img then things are much healthier: I am still >> dropped into the rescue shell, but I can load the 'normal' module, >> issue the 'normal' command and then I get the (pretty!) menu and am >> able to boot normally. I'm still not sure why I'm dropped into the >> rescue shell in the first place, however. There's a flash of text >> before the prompt appears, but the screen is cleared much to fast to >> read any of it. > > Please can you take a picture of what you see right after the text is > cleared? Ok, I discovered that I can use the Pause key to read what's on the screen. Unfortunately, it's not very useful... it's just the text printed by grub (legacy) as it loads the core.img file! Booting 'Chainload into GRUB 2' root (hd1,1) Filesystem type is ext2fs, partition type 0xfd kernel /boot/grub/core.img [Multiboot-kludge, loadaddr=0x100000, text-and-data=0x7676, bss=0x0, entry=0x1002903] savedefault 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. -- Sam Morris http://robots.org.uk/ PGP key id 1024D/5EA01078 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078