From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KLJW8-0005RK-8K for mharc-grub-devel@gnu.org; Tue, 22 Jul 2008 11:11:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLJW6-0005R9-D8 for grub-devel@gnu.org; Tue, 22 Jul 2008 11:11:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLJW3-0005Ql-JM for grub-devel@gnu.org; Tue, 22 Jul 2008 11:11:05 -0400 Received: from [199.232.76.173] (port=56687 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLJW3-0005Qi-Ag for grub-devel@gnu.org; Tue, 22 Jul 2008 11:11:03 -0400 Received: from mail.gmx.net ([213.165.64.20]:60345) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KLJW2-00030K-UN for grub-devel@gnu.org; Tue, 22 Jul 2008 11:11:03 -0400 Received: (qmail invoked by alias); 22 Jul 2008 15:10:59 -0000 Received: from unknown (EHLO archvile.hell) [92.116.204.211] by mail.gmx.net (mp036) with SMTP; 22 Jul 2008 17:10:59 +0200 X-Authenticated: #20154811 X-Provags-ID: V01U2FsdGVkX180zEwxfhA0KPP/YBWFCsHEkI+6JLL7mwxoYxgoM0 XFvhBP8TWg9aEh Received: by archvile.hell (Postfix, from userid 1000) id E39C242447D; Tue, 22 Jul 2008 17:09:45 +0200 (CEST) Date: Tue, 22 Jul 2008 17:09:45 +0200 From: Andy Kittner To: grub-devel@gnu.org Message-ID: <20080722150945.GA4788@archvile> References: <20080722133416.GB5524@archvile> <20080722095021.p15u40gtyc88csco-cebfxv@webmail.spamcop.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <20080722095021.p15u40gtyc88csco-cebfxv@webmail.spamcop.net> User-Agent: Mutt/1.5.18 (2008-07-21) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.59 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Issue with boot != root and chainloading 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: Tue, 22 Jul 2008 15:11:07 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline On Tue, Jul 22, 2008 at 09:50:21AM -0400, Pavel Roskin wrote: >Quoting Andy Kittner : > >> Everything went smooth, however after rebooting I get dropped in rescue >> mode with this message: "unknown device fd1,5" > >Please check your /boot/grub/device.map. You may need to remove it >and let grub-install regenerate it. It would be great if you post it >here, before and after it's regenerated. I already did an rm -rf /boot/grub before installing grub2 so so the old cruft wouldn't get in the way. I'll include the corresponding generated device.map after running grub-install: ---- grub legacy ---- (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb --------------------- ---- grub 2 --------- (hd0) /dev/sda (hd1) /dev/sdb --------------------- Which looks all fine for me (even better than grub-legacy where I always removed the spurious fd0) >I've seen that fd1 somewhere, but I don't remember where. I guess >GRUB just defaults to that value if it cannot figure out the real >device number of the root device. > >If you check the archives, you'll see that your message is greatly timed :-) Yeah, I've seen that support for this is pretty fresh, but I thought I'd give it a try ;-) >> Now for my second problem: >> If I try to chainload grub legacy on another partition it just hangs >> after printing "GRUB ". The command I used to do this was: >> chainloader (hd0,5)+1 > >Maybe the installation is broken? To make sure I reinstalled grub in that partition chainloader (hd0,5)+1 still didn't work, but: set root=(hd0,5) chainloader +1 this did. As thats basically what I did with the old grub too, I guess this one was my fault for not setting root correctly before firing the chainloader. Thanks for the help Andy --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkiF+DkACgkQp/ooA5on7H4ypwCdGeDfo/IFxAEK7ARs29jS1Mdc sucAn14QnDEu/ccBLHnhZckNyOSpzRGY =/1cM -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--