From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Subject: bug#37164: Generated installation image does not include grub. Date: Mon, 26 Aug 2019 22:44:35 +0200 Message-ID: References: <7eb5e5964ad6564c7cc6cc7711b18daf1faac64a.camel@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ffdc8e05910b390e" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57828) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2LrM-0004C0-3z for bug-guix@gnu.org; Mon, 26 Aug 2019 16:45:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2LrK-0007dc-Cd for bug-guix@gnu.org; Mon, 26 Aug 2019 16:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38450) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2LrK-0007dW-6t for bug-guix@gnu.org; Mon, 26 Aug 2019 16:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i2LrJ-0003lp-VO for bug-guix@gnu.org; Mon, 26 Aug 2019 16:45:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <7eb5e5964ad6564c7cc6cc7711b18daf1faac64a.camel@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Jesse Gibbons Cc: 37164@debbugs.gnu.org --000000000000ffdc8e05910b390e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Jesse Gibbons ezt =C3=ADrta (id=C5=91pont: 2019. a= ug. 23., P, 19:41): > 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)' > > Just a wild guess, does it work with the verbosity option removed? I had issues with that in the past. 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. > > When I try to use the generated iso in virt-manager, it claims there > are no bootable drives. I think this is because the generated iso has > no GRUB. > > The manual says to specify the file gnu/system/install.scm instead of > the value (@ (gnu system install) installation-os)) but ultimately they > give guix the same value, so I think that wouldn't make a difference. > > removing --system=3Dx86_64 does not trigger a full rebuild, so it looks > like guix does not expect to build anything different. > > Guix describe outputs: > > Generation 47 Aug 23 2019 09:22:24 (current) > guix d78bc23 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: d78bc23411b1351ff9495a511c22b27d17f9226f > > GUIX_PACKAGE_PATH=3D"/home/jesse/Documents/broken-guix/Broken-Guix- > Packages" > > Thanks > -Jesse > > > > Best regards, g_bor --=20 OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21 --000000000000ffdc8e05910b390e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Jesse Gibbons <jgibbons2357@gmail.com> ezt =C3=ADrta (id=C5=91pont= : 2019. aug. 23., P, 19:41):
1. generate the install image
=C2=A0guix system disk-image --file-system-type=3Diso9600 --verbosity=3D3 -= -
root=3Dinstallation-os-x86_64.iso=C2=A0 --system=3Dx86_64-linux -e '(@ = (gnu
system install) installation-os)'


Just a wild guess, does it work with t= he verbosity option removed?
I had issues with that in the past.=

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.

When I try to use the generated iso in virt-manager, it claims there
are no bootable drives. I think this is because the generated iso has
no GRUB.

The manual says to specify the file gnu/system/install.scm instead of
the value (@ (gnu system install) installation-os)) but ultimately they
give guix the same value, so I think that wouldn't make a difference.
removing --system=3Dx86_64 does not trigger a full rebuild, so it looks
like guix does not expect to build anything different.

Guix describe outputs:

Generation 47=C2=A0 =C2=A0Aug 23 2019 09:22:24=C2=A0 =C2=A0 (current)
=C2=A0 guix d78bc23
=C2=A0 =C2=A0 repository URL: https://git.savannah.gnu.org/= git/guix.git
=C2=A0 =C2=A0 branch: master
=C2=A0 =C2=A0 commit: d78bc23411b1351ff9495a511c22b27d17f9226f

GUIX_PACKAGE_PATH=3D"/home/jesse/Documents/broken-guix/Broken-Guix- Packages"

Thanks
-Jesse




Best regards,
g_bor

--
O= penPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
--000000000000ffdc8e05910b390e--