From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1H4N3D-0000wq-E4 for mharc-grub-devel@gnu.org; Tue, 09 Jan 2007 14:54:27 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H4N39-0000vf-LI for grub-devel@gnu.org; Tue, 09 Jan 2007 14:54:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H4N37-0000v0-1q for grub-devel@gnu.org; Tue, 09 Jan 2007 14:54:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H4N36-0000ut-Ok for grub-devel@gnu.org; Tue, 09 Jan 2007 14:54:20 -0500 Received: from [194.109.24.23] (helo=smtp-vbr3.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H4N36-0005ns-7j for grub-devel@gnu.org; Tue, 09 Jan 2007 14:54:20 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id l09JsGjh015283 for ; Tue, 9 Jan 2007 20:54:17 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <45A382F6.2010201@beamartyr.net> Mail-Copies-To: mgerards@xs4all.nl Date: Tue, 09 Jan 2007 21:06:40 +0100 In-Reply-To: <45A382F6.2010201@beamartyr.net> (Issac Goldstand's message of "Tue, 09 Jan 2007 13:56:38 +0200") Message-ID: <87lkkcvub3.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: [grub2 newbie] Chainload grub-legacy from grub2 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, 09 Jan 2007 19:54:26 -0000 Issac Goldstand writes: Hi, > I am trying to use grub2 to boot from an iso image. The iso is for a > live cd which in turn runs grub-legacy. I've gotten the loopback > figured out (awesome feature!!!) but can't get the old grub-legacy to boot. > > Currently, I do: > loopback cd (hd0,1)/path/to/image.iso > root=(cd) > chainloader +1 > > But I get > error: invalid signuature. > > Am I missing something? Yeah, loopback should be used to boot by loading from the filesystem. So if it is a GNU/Linux CDROM you can just load the kernel. But in that case the distribution should also understand this feature somehow and mount the loopback image as well. The problems with chainloading is that this might work differently for CDROMs. One thing is that you have to read 2048 bytes instead of 512. Besides that, the code in this sector is not enough to boot the CDROM usually and the boot code will not find the CDROM, because it is not in the CDROM drive. So in your case this feature is not as useful as it seemed to be, I think. -- Marco