From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 28 05:42:19 2019 Received: (at 37164) by debbugs.gnu.org; 28 Aug 2019 09:42:19 +0000 Received: from localhost ([127.0.0.1]:49882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2uT5-0003OK-Em for submit@debbugs.gnu.org; Wed, 28 Aug 2019 05:42:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2uT4-0003O8-1V for 37164@debbugs.gnu.org; Wed, 28 Aug 2019 05:42:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i2uSy-0004C8-Sa; Wed, 28 Aug 2019 05:42:12 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45626 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i2uSx-0002D2-S6; Wed, 28 Aug 2019 05:42:12 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jesse Gibbons Subject: Re: bug#37164: Generated installation image does not include grub. References: <7eb5e5964ad6564c7cc6cc7711b18daf1faac64a.camel@gmail.com> Date: Wed, 28 Aug 2019 11:42:09 +0200 In-Reply-To: <7eb5e5964ad6564c7cc6cc7711b18daf1faac64a.camel@gmail.com> (Jesse Gibbons's message of "Fri, 23 Aug 2019 11:40:13 -0600") Message-ID: <87o909lj7y.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37164 Cc: 37164@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Jesse, Jesse Gibbons skribis: > 1. generate the install image > guix system disk-image --file-system-type=3Diso9600 --verbosity=3D3 -- > root=3Dinstallation-os-x86_64.iso --system=3Dx86_64-linux -e '(@ (gnu > system install) installation-os)' > > 2. examine the resulting iso > readlink installation-os-x86_64.iso | xargs file > > output: /gnu/store/3xp541s4zrxass6h6rcwfz7bc33wv84p-disk-image: DOS/MBR > boot sector; partition 1 : ID=3D0x83, active, start-CHS (0x0,32,33), end- > CHS (0xe3,198,58), startsector 2048, 3657239 sectors; partition 2 : > ID=3D0xef, start-CHS (0xe3,198,59), end-CHS (0xe8,224,16), startsector > 3659287, 81921 sectors > > 3. Compare this output with what file says about the official > installation iso: > wget https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.1.x86_64-linu > x.iso.xz > unxz guix-system-install-1.0.1.x86_64-linux.iso.xz > readlink guix-system-install-1.0.1.x86_64-linux.iso > > output:guix-system-install-1.0.1.x86_64-linux.iso: DOS/MBR boot sector; > GRand Unified Bootloader, stage1 version 0x79, boot drive 0xbb, stage2 > address 0x8e70, 1st sector stage2 0xb8db31c3, stage2 segment 0x201; > partition 1 : ID=3D0xee, start-CHS (0x0,0,2), end-CHS (0x3f6,38,4), > startsector 1, 2694403 sectors, extended partition table (last) > > It appears file discovered the GRand Unified Bootloader in the official > iso but not in the generated iso. I can=E2=80=99t seem to reproduce it now: --8<---------------cut here---------------start------------->8--- $ guix describe=20 Generacio 101 Aug 26 2019 09:31:24 (nuna) guix a707484 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: a707484d64e7e46f8cb8401c660fbb6eb77ab9c6 $ guix system disk-image --file-system-type=3Diso9660 gnu/system/install.sc= m=20 /gnu/store/cpyyjnwbpm2hrpcjf1j8y4yjis9za33s-image.iso $ file /gnu/store/cpyyjnwbpm2hrpcjf1j8y4yjis9za33s-image.iso /gnu/store/cpyyjnwbpm2hrpcjf1j8y4yjis9za33s-image.iso: DOS/MBR boot sector;= GRand Unified Bootloader, stage1 version 0x79, boot drive 0xbb, stage2 add= ress 0x8e70, 1st sector stage2 0xb8db31c3, stage2 segment 0x201; partition = 2 : ID=3D0xef, start-CHS (0x3ff,63,32), end-CHS (0x3ff,63,32), startsector = 2711068, 5760 sectors $ guix system disk-image --file-system-type=3Diso9660 -e '(@ (gnu system in= stall) installation-os)' /gnu/store/cpyyjnwbpm2hrpcjf1j8y4yjis9za33s-image.iso --8<---------------cut here---------------end--------------->8--- Not sure what=E2=80=99s going on=E2=80=A6 Ludo=E2=80=99.