unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jesse Gibbons <jgibbons2357@gmail.com>
To: "Gábor Boskovits" <boskovits@gmail.com>
Cc: 37164@debbugs.gnu.org
Subject: bug#37164: Generated installation image does not include grub.
Date: Tue, 27 Aug 2019 19:17:31 -0600	[thread overview]
Message-ID: <e247b0cbd4f1d5d412000f94a86a5d7b3711cc05.camel@gmail.com> (raw)
In-Reply-To: <CAE4v=ph7XkAFSvk07xuwL442K5eQYxit-kTxt3=1fdfkZx8p1Q@mail.gmail.com>

On Tue, 2019-08-27 at 07:09 +0200, Gábor Boskovits wrote:
> Hello,
> 
> Jesse Gibbons <jgibbons2357@gmail.com> ezt írta (időpont: 2019. aug.
> 27., K, 4:48):
> > On Mon, 2019-08-26 at 22:44 +0200, Gábor Boskovits wrote:
> > > Hello,
> > > 
> > > Jesse Gibbons <jgibbons2357@gmail.com> ezt írta (időpont: 2019.
> > aug.
> > > 23., P, 19:41):
> > > > 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)'
> > > > 
> > > 
> > > Just a wild guess, does it work with the verbosity option
> > removed?
> > > I had issues with that in the past.
> > I tried generating an install image with --verbosity and another
> > without --verbosity. There was no difference because guix does not
> > expect the --verbosity option to make a difference.
> > 
> > I deleted the link and ran the garbage collector, then tried
> > building
> > the image without --verbosity, but file does not detect grub. I
> > think
> > it isn't a problem with 'file' because a virtual machine setup with
> > virt-manager does not think the ISO is bootable.
> 
> Is it possible that you are hit by this issue?
> https://issues.guix.gnu.org/issue/36865
I don't see how grub.cfg not being a GC root could cause guix to build
an ISO without GRUB. Perhaps you could clarify your thoughts?

> Could you try again after guix pull?
I pull'd but nothing changed.


commit according to guix describe:
48752f277c589435aab4d80947fa80f01577d55d


> Best regards,
> g_bor
> 

I tried the following:
cd ~/.config/guix/current/share/guile/site/2.2/gnu/system/examples/
guix system disk-image --file-system-type=iso9600 bare-bones.tmpl |
xargs file

end result:
/gnu/store/g1ba8gkhkcjkdraxpnrw166i5qpa7cb9-disk-image: DOS/MBR boot
sector; partition 1 : ID=0x83, active, start-CHS (0x0,32,33), end-CHS
(0xac,86,27), startsector 2048, 2766577 sectors; partition 2 : ID=0xef,
start-CHS (0xac,86,28), end-CHS (0xb1,111,48), startsector 2768625,
81921 sectors


As you can see, GRUB was not detected by file.

I noticed guix outputs odd characters when I try to build an ISO.
Here's a sample:
/��@ build-log 23054 1
�@ build-log 23054 1
�@ build-log 23054 1
"@ build-log 23054 1
)@ build-log 23054 1
@ build-log 23054 1

\��@ build-log 23054 1
�@ build-log 23054 1
�@ build-log 23054 1
)@ build-log 23054 1
@ build-log 23054 1

-��@ build-log 23054 1
�@ build-log 23054 1
�@ build-log 23054 1
>@ build-log 23054 1
)@ build-log 23054 1
@ build-log 23054 1

\��@ build-log 23054 1
�@ build-log 23054 1
�@ build-log 23054 1
"@ build-log 23054 1
)@ build-log 23054 1
 @ build-log 23054 1
�@ build-log 23054 1
�@ build-log 23054 1
�@ build-log 23054 1
)@ build-log 23054 1
@ build-log 23054 1

Perhaps this could be related.

I'm curious if anyone is able to replicate this bug.
-- 
-Jesse

  reply	other threads:[~2019-08-28  1:18 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 [this message]
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

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=e247b0cbd4f1d5d412000f94a86a5d7b3711cc05.camel@gmail.com \
    --to=jgibbons2357@gmail.com \
    --cc=37164@debbugs.gnu.org \
    --cc=boskovits@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).