From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: bug#37164: Generated installation image does not include grub. Date: Tue, 27 Aug 2019 19:17:31 -0600 Message-ID: References: <7eb5e5964ad6564c7cc6cc7711b18daf1faac64a.camel@gmail.com> <8d7dfc1c93a24a6dedac3733a6758fd9dafbe7a3.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33628) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2mb5-0001sX-JY for bug-guix@gnu.org; Tue, 27 Aug 2019 21:18:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2mb4-0004JO-9x for bug-guix@gnu.org; Tue, 27 Aug 2019 21:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40826) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2mb4-0004JG-4x for bug-guix@gnu.org; Tue, 27 Aug 2019 21:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i2mb3-0007jT-UJ for bug-guix@gnu.org; Tue, 27 Aug 2019 21:18:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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: =?UTF-8?Q?G=C3=A1bor?= Boskovits Cc: 37164@debbugs.gnu.org On Tue, 2019-08-27 at 07:09 +0200, Gábor Boskovits wrote: > Hello, > > Jesse Gibbons 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 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