From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1T97nK-0000su-Aj for mharc-grub-devel@gnu.org; Wed, 05 Sep 2012 01:04:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T97nH-0000s1-WC for grub-devel@gnu.org; Wed, 05 Sep 2012 01:04:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T97nF-0003C8-VS for grub-devel@gnu.org; Wed, 05 Sep 2012 01:04:51 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:52971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T97nF-0003C2-P2 for grub-devel@gnu.org; Wed, 05 Sep 2012 01:04:49 -0400 Received: by wgbdt14 with SMTP id dt14so94750wgb.30 for ; Tue, 04 Sep 2012 22:04:49 -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:cc:subject :references:in-reply-to:x-enigmail-version:content-type; bh=+HwG0lSdssy59QF93PN9wF5W1KvqA4IbiknhpK9nMXU=; b=IXPYrndswAsW7yg5/E70Sy4Ax0zQ8TZPKKhe7rpREO7+Y1mPozZ36KHvf/dV37JVrV vXGASGEM87t+dXoFtHpZKWYuszFouTio/KGo7HRVXvZl2eMg0EwxddaOwvZlWvJlndfv /yx/pEI5GHUaqEDG7hRY9Lc5QPQ0qAmVUqs2rkF67Y1iU0do1Btrlg0rptrqtQ4gYOQ+ RouLt/6332l3kpD0XaMugPogrMlZwPfTqv588/h9ZWQQkAWy0UlKe7Pr80SQQJUtB07B tCI6VWf8wNYF0YXTPiBlfvDYK7zB0fDTseUds8D1rvGInwQKpRikjofJAG6pLrh9lncv 4fFw== Received: by 10.180.93.68 with SMTP id cs4mr35183443wib.14.1346821489040; Tue, 04 Sep 2012 22:04:49 -0700 (PDT) Received: from debian.x201.phnet (51-233.197-178.cust.bluewin.ch. [178.197.233.51]) by mx.google.com with ESMTPS id h9sm27278338wiz.1.2012.09.04.22.04.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Sep 2012 22:04:48 -0700 (PDT) Message-ID: <5046DD63.4010700@gmail.com> Date: Wed, 05 Sep 2012 07:04:35 +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: Arnout Vandecappelle Subject: Re: [PATCH] grub-setup: make it possible to specify the root device References: <1346769168-28089-1-git-send-email-arnout@mind.be> <50463187.1090303@gmail.com> <50464C0E.9010707@essensium.com> In-Reply-To: <50464C0E.9010707@essensium.com> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig58D2A0D504CC6E4D5B8D6247" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 Cc: The development of GNU GRUB 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: Wed, 05 Sep 2012 05:04:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig58D2A0D504CC6E4D5B8D6247 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04.09.2012 20:44, Arnout Vandecappelle wrote: > On 09/04/12 18:51, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: >> On 04.09.2012 16:32, Arnout Vandecappelle (Essensium/Mind) wrote: >> >>> From: "Arnout Vandecappelle (Essensium/Mind)" >>> >>> When creating a bootable disk image in a file rather than on a physic= al >>> 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 a= nd >> 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 > I want to create an image file without superuser access. So I can't m= ount > a loopback device, so the grub directory is not actually inside the ima= ge: > it's the directory from which the target filesystem is created. >=20 > If there's another way to do that, I'd be glad to hear it. >=20 grub-mkrescue >=20 > By the way, I'm also thinking about patching the build infrastructure > to support building a cross-installer (e.g. grub-mkimage as an x86 > executable > but cross-compiling lib/grub/powerpc-ieee1275/*). Is there an interest= for > that? Long since done. It's also use for automated tests. >=20 >=20 > Regards, > Arnout >=20 g --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig58D2A0D504CC6E4D5B8D6247 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/ iF4EAREKAAYFAlBG3WoACgkQNak7dOguQgmuKQEAifZuPFJMU0tHJAAqQwJbN1oe bRkKXlJXDq7MocOv6zsBAKou6inDGMBFPgrN59VPfSeVZhTldeVj7khntmfx9UJu =ZcfH -----END PGP SIGNATURE----- --------------enig58D2A0D504CC6E4D5B8D6247--