From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1X4Xcl-0006nT-Ra for mharc-grub-devel@gnu.org; Tue, 08 Jul 2014 11:48:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Xce-0006mT-KS for grub-devel@gnu.org; Tue, 08 Jul 2014 11:48:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4XcY-0004EA-Iz for grub-devel@gnu.org; Tue, 08 Jul 2014 11:48:00 -0400 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:43683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4XcY-0004Dw-Ap for grub-devel@gnu.org; Tue, 08 Jul 2014 11:47:54 -0400 Received: by mail-la0-f45.google.com with SMTP id hr17so4137511lab.18 for ; Tue, 08 Jul 2014 08:47:53 -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=gOyjvwz2X9hle+vxEMMXYuLCG9sx0p5KZTtxIxquF4o=; b=M9emGduXXUmXCGl5+QsDsPrTwNLU60VAnihKud+UnKQirZFkyHOiyH5RWExUz57hgP wMmFhPvLRuIBscz9QHs5Kb1RvuTobIJqrdHFdJpRWV/Mj80xFZdje2O2S4ZV87pLALUV 47H8gfVB1LL93YDp5i4e235LHqPB7X4+fBtB9q4pv7fXv3QQ4B2I3oqzYfnNFeON1EUe hxW0HxA7SwRp/1Ns+CghTnzrURQL2y57xl+vjE3IUd022I43qTl25CqeC5MeM18JFYyj bIWgZNyeo9d9aIXjSpE13XpMT/Jhwhh/bBM7XAra3ImPrYkwTTC5YG5arWBbvdbr7FLV wlEQ== X-Received: by 10.112.139.167 with SMTP id qz7mr27179666lbb.22.1404834473072; Tue, 08 Jul 2014 08:47:53 -0700 (PDT) Received: from opensuse.site (ppp94-29-76-101.pppoe.spdop.ru. [94.29.76.101]) by mx.google.com with ESMTPSA id go4sm56875467lbc.35.2014.07.08.08.47.52 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Jul 2014 08:47:52 -0700 (PDT) Date: Tue, 8 Jul 2014 19:47:51 +0400 From: Andrey Borzenkov To: The development of GNU GRUB Subject: Re: Chainloadig from grub2 to isolinux Message-ID: <20140708194751.780a0225@opensuse.site> In-Reply-To: <20140708163941.1ae7c9ce@rsbsd.rsb> References: <20140702124650.683dd1a1@rsbsd.rsb> <20140702163755.50be186b@rsbsd.rsb> <20140702175254.5bc1b2ab@rsbsd.rsb> <20140708163941.1ae7c9ce@rsbsd.rsb> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22d Cc: rsb@berentweb.com 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: Tue, 08 Jul 2014 15:48:06 -0000 В Tue, 8 Jul 2014 16:39:41 +0300 "Raif S. Berent" пишет: > Not to beat a dead horse, but I'd like to clarify a few issues that > seem to be not working. > > 1. I compiled and installed Grub_trunk on an old laptop, then copied > the debian.iso to a folder under (hd0,gpt*). Modified the grub.cfg and > tried to use "syslinux_configfile -i (loop)/isolinux/isolinux.cfg -r > (loop)" I got the exact same result as PXE booting (No CD-ROM). From > what I can tell, debian needs the loopback module from the iso loaded > and the iso to be loop-mounted as a second device in order to get this > working (have not asked the debian folk). > > 2. Most Debian-based iso's fail to properly boot with loopback over > PXE, including the likes of GParted and Inquisitor. They mostly fail > with kernel panic: can't mount root. > If I understand correctly, you expect linux to be able to access grub (loop) device. That's not going to work. Once grub loads linux and transfers control to it, (loop) no more exists. > 3. MEMDISK: There were several programs I can boot from my USB setup by > including syslinux memdisk. These now fail due to memdisk error - for > example (<...> means options I have tried): menuentry "HDT: hardware > diagnostics tool" { set root="http,192.168.2.100" set > memfile="/pub/tftp/rescue/rscd/memdisk" set > isofile="/pub/tftp/rescue/rscd/hdt.img" linux16 ($root)$memfile > initrd16 ($root)$isofile } > With PXE, memdisk may need to be replaced with gpxelinux.0, but that > will require using Grub's broken pxechain. Is there a better way to do > this? syslinux apparently can also use memdisk for iso booting KERNEL > memdisk \ APPEND iso initrd=http://192.168.2.100/path/isofile.iso > I briefly tested memdisk from syslinux 4.04 with hdt.img 0.5.2 under grub master head and it works. I did in in qemu if it makes difference. Files were local but I do not expect any difference (when memdisk gets control, both files are loaded in memory already). > 4. I think it would be a great idea if known grub.cfg entries could be > listed in the official Grub-wiki. The distro maintainers might also be > convinced or willing to post their code and solutions regarding iso > loopback from HDD/USB/PXE variations. I don't know, Just an idea... >