unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Jesse Gibbons <jgibbons2357@gmail.com>
Cc: 37164@debbugs.gnu.org
Subject: bug#37164: Generated installation image does not include grub.
Date: Wed, 28 Aug 2019 11:42:09 +0200	[thread overview]
Message-ID: <87o909lj7y.fsf@gnu.org> (raw)
In-Reply-To: <7eb5e5964ad6564c7cc6cc7711b18daf1faac64a.camel@gmail.com> (Jesse Gibbons's message of "Fri, 23 Aug 2019 11:40:13 -0600")

Hello Jesse,

Jesse Gibbons <jgibbons2357@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)'
>
> 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.

I can’t seem to reproduce it now:

--8<---------------cut here---------------start------------->8---
$ guix describe 
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=iso9660 gnu/system/install.scm 
/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 address 0x8e70, 1st sector stage2 0xb8db31c3, stage2 segment 0x201; partition 2 : ID=0xef, start-CHS (0x3ff,63,32), end-CHS (0x3ff,63,32), startsector 2711068, 5760 sectors
$ guix system disk-image --file-system-type=iso9660 -e '(@ (gnu system install) installation-os)'
/gnu/store/cpyyjnwbpm2hrpcjf1j8y4yjis9za33s-image.iso
--8<---------------cut here---------------end--------------->8---

Not sure what’s going on…

Ludo’.

  parent reply	other threads:[~2019-08-28  9:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o909lj7y.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=37164@debbugs.gnu.org \
    --cc=jgibbons2357@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).