From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRmwN-0006WD-J6 for guix-patches@gnu.org; Sun, 02 Jul 2017 18:02:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRmwM-0001we-NZ for guix-patches@gnu.org; Sun, 02 Jul 2017 18:02:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46468) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRmwM-0001wN-Ja for guix-patches@gnu.org; Sun, 02 Jul 2017 18:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dRmwM-0001SS-31 for guix-patches@gnu.org; Sun, 02 Jul 2017 18:02:02 -0400 Subject: [bug#27521] [PATCH v5] build: Add iso9660 system image generator. Resent-Message-ID: Date: Mon, 3 Jul 2017 00:01:44 +0200 From: Danny Milosavljevic Message-ID: <20170703000144.0da80a05@scratchpost.org> In-Reply-To: <87y3s64n47.fsf@gnu.org> References: <20170629020954.22464-1-dannym@scratchpost.org> <20170629134707.12576-1-dannym@scratchpost.org> <87bmp299cc.fsf@gnu.org> <20170702203706.43b1f0de@scratchpost.org> <87y3s64n47.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27521@debbugs.gnu.org On Sun, 02 Jul 2017 22:09:28 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Heya, >=20 > Danny Milosavljevic skribis: >=20 > >> Let=E2=80=99s add #:key (volume-id "GuixSD") and then: > >>=20 > >> "--" "-volid" (string-upcase volume-id) =20 > > > > It will fail when booting from CD because GuixSD can't find the root fs= . =20 >=20 > I don=E2=80=99t understand. What I suggest here is equivalent to what wa= s in > the patch (=E2=80=9C-volid GUIXSD=E2=80=9D), except that it avoids hard-c= oding the > value; it=E2=80=99s purely cosmetic. Yeah, sorry. Ok :) >You mean we could always use =E2=80=98grub-mkrescue=E2=80=99 instead of us= ing it in one case and using =E2=80=98grub-install=E2=80=99 & co. in the ot= her case, right? Yeah that. The only problem is it doesn't work yet for real in the USB sti= ck case. I tried it now :) grub-mkrescue documents the fact that it should work from USB quite clearly= - so it probably does (probably after I found all the uuid / label convers= ion problem locations). Note that ISO9660 is read-only so the ISO9660 image is not a good replaceme= nt for an actual installed system. > guix system image -f FORMAT Sounds good. I think with three formats my threshold for having an option = "-f" is reached :) >Perhaps it=E2=80=99s simpler to just add =E2=80=9Cguix system iso-image=E2= =80=9D in this patch series and to think about the other option separately. Okay. If we want to keep the stuff where it is I can commit it now. I've = tested the ISO9660 image with "qemu -cdrom", works fine. Or if we want we can also move both system-disk-image and iso9660-image int= o a new module - something like (gnu system image) ? Moving only one of them, on the other hand, wouldn't decrease the potential= confusion - especially once there is a common "guix system image" :)