unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37164: Generated installation image does not include grub.
@ 2019-08-23 17:40 Jesse Gibbons
  2019-08-26 20:44 ` Gábor Boskovits
  2019-08-28  9:42 ` Ludovic Courtès
  0 siblings, 2 replies; 16+ messages in thread
From: Jesse Gibbons @ 2019-08-23 17:40 UTC (permalink / raw)
  To: 37164

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-09-01 20:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-23 17:40 bug#37164: Generated installation image does not include grub Jesse Gibbons
2019-08-26 20:44 ` Gábor Boskovits
2019-08-27  2:48   ` Jesse Gibbons
2019-08-27  5:09     ` Gábor Boskovits
2019-08-28  1:17       ` Jesse Gibbons
2019-08-28  8:30         ` Danny Milosavljevic
     [not found]           ` <8ae71cee64c17946a72db95ad26805b261f120f5.camel@gmail.com>
2019-08-28 22:17             ` Danny Milosavljevic
2019-08-28 22:36               ` Danny Milosavljevic
2019-08-28 22:54               ` Danny Milosavljevic
2019-08-28 23:46                 ` Danny Milosavljevic
2019-08-28  9:42 ` Ludovic Courtès
2019-08-28 22:25   ` Jesse Gibbons
2019-08-29  0:34   ` Danny Milosavljevic
2019-08-29  5:18     ` Jesse Gibbons
2019-08-29  6:05     ` Gábor Boskovits
2019-09-01 20:40     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).