From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YNCNT-0005dw-JX for mharc-grub-devel@gnu.org; Sun, 15 Feb 2015 22:29:43 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNCNR-0005dq-7M for grub-devel@gnu.org; Sun, 15 Feb 2015 22:29:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNCNO-0004Hr-15 for grub-devel@gnu.org; Sun, 15 Feb 2015 22:29:41 -0500 Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:62379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNCNN-0004Hb-Oo for grub-devel@gnu.org; Sun, 15 Feb 2015 22:29:37 -0500 Received: by mail-lb0-f178.google.com with SMTP id w7so24768054lbi.9 for ; Sun, 15 Feb 2015 19:29:36 -0800 (PST) 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=+MbsYhsZrsxuEzAGk02lmd+dwyFpKUmG15fEXE6nIUA=; b=vp2zs9uKAUIcbYr4SUaSTRjDyT2jQyx0ZMkgtdx1H4ICv35v3/ErRhNczbev0d6Gwj pWGv2WCTgEN8AeACghACEv3LSUJBNIS7USM42RxtKBudib93ZeiRskIC9KKuahqRtC3v 81/rw3E2FkFBu73g7igOmd+1pqkPfq9UAnI0F0lVl87iPjt3rUGjITHkQlQDykDItP4W c4ABM0oxPdeB9bwwjv/FguFBFpWw/Z7AQO2o7KjEB3KszwIVSIqxU9ZtOOzZQuQgG47K RTAW0e2oZ8SuK0aP8mQ2QKGBPX31kcZEKrsG2SjJvgulwKDpbmB7V6GSat4HbPl1U12K uddg== X-Received: by 10.152.7.204 with SMTP id l12mr19801806laa.1.1424057376864; Sun, 15 Feb 2015 19:29:36 -0800 (PST) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id f9sm2682367laa.20.2015.02.15.19.29.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Feb 2015 19:29:35 -0800 (PST) Date: Mon, 16 Feb 2015 06:29:33 +0300 From: Andrei Borzenkov To: Beeblebrox Subject: Re: Live-ISO's over PXE+HTTP using loopback Message-ID: <20150216062933.2e36fe63@opensuse.site> In-Reply-To: <20150215213713.5123e30a@rsbsd.rsb> References: <20150215213713.5123e30a@rsbsd.rsb> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.25; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::232 Cc: grub-devel 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: Mon, 16 Feb 2015 03:29:42 -0000 =D0=92 Sun, 15 Feb 2015 21:37:13 +0200 Beeblebrox =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Hi. > I'm trying to boot several live ISO's using my PXE-boot server and Grub l= oopback. ISO's are fetched by Grub from an HTTP server on the same host. > * I can boot the kernels of all live ISO's through PXE+HTTP transfer. > * Boot process fails at mount-root stage, where rootfs will obviously be = mounted from the ISO. Error message is usually similar "could not find the= ISO" or "unable to find medium containing a live file system". > * A sample menu entry I'm using (thanks to previous answers from this lis= t): > menuentry "Debian-testing-i386-lxde.iso"" --class gnu-linux --class gnu= --class os { > set root=3D"http,192.168.2.100" > set isofile=3D"debian-testing-i386-lxde.iso" > loopback loop0 ($root)/iso/$isofile > linux (loop0)/install.386/vmlinuz > initrd (loop0)/install.386/initrd.gz >=20 > As the first step of solving this problem: Is ISO modification the only c= hoice, or is it possible to boot a normal ISO by passing the correct parame= ters to grub.cfg? I think the problem could be that ramdisk fails to be cre= ated when PXE is involved. >=20 You need to tell your kernel/initrd where to find ISO and it should be able to fetch data from it via HTTP.