From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1T8wLq-0006oe-K7 for mharc-grub-devel@gnu.org; Tue, 04 Sep 2012 12:51:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8wLk-0006il-QM for grub-devel@gnu.org; Tue, 04 Sep 2012 12:51:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8wLj-0003IZ-FF for grub-devel@gnu.org; Tue, 04 Sep 2012 12:51:40 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:52932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8wLj-0003FU-8M for grub-devel@gnu.org; Tue, 04 Sep 2012 12:51:39 -0400 Received: by bkcjc3 with SMTP id jc3so2803082bkc.0 for ; Tue, 04 Sep 2012 09:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=Afj+q5m/e0PpNqqnrzBdCZeDT2a35yAnue1DiHzl/1c=; b=fABrmqR68c86EokkfGQi1dsSWg/rcec1zMDQf9c3TeSKa1ON0gcI/Kd/JVQf0PNWxL S81nC9nOiRxB7SGi0rLqrlrYv3i/liLBuSZ9Mj3byNVEUfHAIp1josV6Dkm6Oot+EYps 9rf3cXDpjsiuxlKGyuWMgSefsOyQJtr3eueYY81hFC9QVkV/EpmDUZoz+PB2N8/C4jaf Df0RVd/LyL437KZ2O0ME5C4I4KaHTFG+Vfhd8NCX0nk4P8uK8YxaqKVhfr6IRf3FErNV J6iLCu7M581FCVsdkUYtSuI8qP0hEyUecL5w8oQXdp+Gm0gTKSIvNK5W47H0KZuVyLAd hTEw== Received: by 10.204.128.214 with SMTP id l22mr8285690bks.86.1346777497653; Tue, 04 Sep 2012 09:51:37 -0700 (PDT) Received: from debian.x201.phnet (69-232.197-178.cust.bluewin.ch. [178.197.232.69]) by mx.google.com with ESMTPS id gq2sm10969383bkc.13.2012.09.04.09.51.35 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Sep 2012 09:51:36 -0700 (PDT) Message-ID: <50463187.1090303@gmail.com> Date: Tue, 04 Sep 2012 18:51:19 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH] grub-setup: make it possible to specify the root device References: <1346769168-28089-1-git-send-email-arnout@mind.be> In-Reply-To: <1346769168-28089-1-git-send-email-arnout@mind.be> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig3236C2EB79990375886F9E3E" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.41 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, 04 Sep 2012 16:51:45 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3236C2EB79990375886F9E3E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04.09.2012 16:32, Arnout Vandecappelle (Essensium/Mind) wrote: > From: "Arnout Vandecappelle (Essensium/Mind)" >=20 > When creating a bootable disk image in a file rather than on a physical= > device, it is not possible to guess the root partition. Therefore, > allow the root partition to be specified on the command line. Looks like you just do it wrong. Correct way is to create a loopback and then use kpartx to discover partitions, not use loopback with offset. This "root device" is purely technical information and it should be discovered automatically from the information we already have (we have a directory) --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig3236C2EB79990375886F9E3E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlBGMZIACgkQNak7dOguQglUxwD+Nv/aolK/D/z+i8Ai4VibYUHZ +I/FcvyoUnek1jkm+PoA/R3zkCrbfGICQ8i9XYB/jIRWfOvJxmTiOH0Spc0GzHna =9CCC -----END PGP SIGNATURE----- --------------enig3236C2EB79990375886F9E3E--