GNU bug report logs - #37164
Generated installation image does not include grub.

Previous Next

Package: guix;

Reported by: Jesse Gibbons <jgibbons2357 <at> gmail.com>

Date: Fri, 23 Aug 2019 17:41:02 UTC

Severity: important

Merged with 34276

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#37164: closed (Generated installation image does not include
 grub.)
Date: Thu, 29 Aug 2019 05:19:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 28 Aug 2019 23:18:45 -0600
with message-id <185062c90db4bb6fa3a2521275bd293e31576938.camel <at> gmail.com>
and subject line Re: bug#37164: Generated installation image does not include grub.
has caused the debbugs.gnu.org bug report #37164,
regarding Generated installation image does not include grub.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
37164: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37164
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: bug-guix mailing list <bug-guix <at> gnu.org>
Subject: Generated installation image does not include grub.
Date: Fri, 23 Aug 2019 11:40:13 -0600
1. generate the install image
 guix system disk-image --file-system-type=iso9600 --verbosity=3 --
root=installation-os-x86_64.iso  --system=x86_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=0x83, active, start-CHS (0x0,32,33), end-
CHS (0xe3,198,58), startsector 2048, 3657239 sectors; partition 2 :
ID=0xef, 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=0xee, 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=x86_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="/home/jesse/Documents/broken-guix/Broken-Guix-
Packages"

Thanks
-Jesse


[Message part 3 (message/rfc822, inline)]
From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 37164-close <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Wed, 28 Aug 2019 23:18:45 -0600
On Thu, 2019-08-29 at 02:34 +0200, Danny Milosavljevic wrote:
> > Jesse Gibbons <jgibbons2357 <at> gmail.com> skribis:
> > 
> > > 1. generate the install image
> > >  guix system disk-image --file-system-type=iso9600 --verbosity=3
> > > --
> > > root=installation-os-x86_64.iso  --system=x86_64-linux -e '(@
> > > (gnu
> > > system install) installation-os)'
> 
> There's a typo there :)
> 
> You wrote: iso9600
> It should be: iso9660
> 
> But the error message could be vastly improved O_o
It looks like this solves the issue. 


This bug report was last modified 5 years and 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.