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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37164 in the body.
You can then email your comments to 37164 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Fri, 23 Aug 2019 17:41:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jesse Gibbons <jgibbons2357 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 23 Aug 2019 17:41:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Mon, 26 Aug 2019 20:45:01 GMT) Full text and rfc822 format available.

Message #8 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>
Cc: 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Mon, 26 Aug 2019 22:44:35 +0200
[Message part 1 (text/plain, inline)]
Hello,

Jesse Gibbons <jgibbons2357 <at> 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.

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
>
>
>
>
Best regards,
g_bor

-- 
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Tue, 27 Aug 2019 02:49:02 GMT) Full text and rfc822 format available.

Message #11 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: Gábor Boskovits <boskovits <at> gmail.com>
Cc: 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Mon, 26 Aug 2019 20:48:45 -0600
On Mon, 2019-08-26 at 22:44 +0200, Gábor Boskovits wrote:
> Hello,
> 
> Jesse Gibbons <jgibbons2357 <at> 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.




Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Tue, 27 Aug 2019 05:11:01 GMT) Full text and rfc822 format available.

Message #14 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>
Cc: 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Tue, 27 Aug 2019 07:09:43 +0200
[Message part 1 (text/plain, inline)]
Hello,

Jesse Gibbons <jgibbons2357 <at> 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 <at> 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
Could you try again after guix pull?

Best regards,
g_bor

-- 
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Wed, 28 Aug 2019 01:18:01 GMT) Full text and rfc822 format available.

Message #17 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: Gábor Boskovits <boskovits <at> gmail.com>
Cc: 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Tue, 27 Aug 2019 19:17:31 -0600
On Tue, 2019-08-27 at 07:09 +0200, Gábor Boskovits wrote:
> Hello,
> 
> Jesse Gibbons <jgibbons2357 <at> 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 <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Wed, 28 Aug 2019 08:31:01 GMT) Full text and rfc822 format available.

Message #20 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>
Cc: Gábor Boskovits <boskovits <at> gmail.com>,
 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Wed, 28 Aug 2019 10:30:09 +0200
[Message part 1 (text/plain, inline)]
Hi,

could you check gnu/bootloader/grub.scm install-grub (and maybe install-grub-efi) ?
They are build-side code so you can just use (write "foo\n") to add debugging messages.
Interesting would be DEVICE, MOUNT-POINT.

FWIW, I successfully built a new installation iso image from guix master (and booted it) a few days ago.

I still have that image and file(1) says:

>guix-master-i686.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 2483356, 5760 sectors

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Wed, 28 Aug 2019 09:43:02 GMT) Full text and rfc822 format available.

Message #23 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>
Cc: 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Wed, 28 Aug 2019 11:42:09 +0200
Hello Jesse,

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)'
>
> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Wed, 28 Aug 2019 22:18:02 GMT) Full text and rfc822 format available.

Message #26 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>, 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Thu, 29 Aug 2019 00:17:44 +0200
[Message part 1 (text/plain, inline)]
Hi Jesse,

On Wed, 28 Aug 2019 11:11:45 -0600
Jesse Gibbons <jgibbons2357 <at> gmail.com> wrote:

> Did you follow the instructions in the manual calling the file to
> generate that (as the manual specifies) or did you include the option:
> 
> -e '(@ (gnu system install) installation-os)'
> 
> to specify the os configuration?

The former.  I've now tried the invocation you used and I get both the funny
characters and the image without grub in it.

Then I tried the invocation I usually use and it's the same, funny characters
and the image is without grub.

Something is definitely up O_o

$ guix describe
Generation 11   27. August 2019 01:23:33        (aktuell)
  guix d8f0834
    Repository-URL: https://git.savannah.gnu.org/git/guix.git
    Branch: master
    Commit: d8f08344a7d6060fca73c12fe27a0d1a3528acda

GUIX_PACKAGE_PATH="/home/dannym/.local/guix"

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Wed, 28 Aug 2019 22:26:02 GMT) Full text and rfc822 format available.

Message #29 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
Cc: 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Wed, 28 Aug 2019 16:25:14 -0600
[Message part 1 (text/plain, inline)]
I tried re-enabling verbose debugging in the following script:

guix gc
guix system disk-image --file-system-type=iso9600 --verbosity=2 -e '(@
(gnu system install) installation-os)'

 and got the attached log. Note the following near the end:

loading '/gnu/store/sy8cllslzndsm5wg76xhj44acxmsbyyg-linux-vm-
loader'...
environment variable `PATH' set to
`/gnu/store/ql5vzaj81wvcrpvp26s40iprw8dkar9m-qemu-minimal-
3.1.0/bin:/gnu/store/nrdc0di2v294y9ygiqdxw6sxkziym7mi-parted-
3.2/sbin:/gnu/store/hlx65zy9dddvzfzna59830ba73sny9yr-e2fsprogs-
1.45.2/bin:/gnu/store/hlx65zy9dddvzfzna59830ba73sny9yr-e2fsprogs-
1.45.2/sbin:/gnu/store/sxr2q3rcqk48lrpckazzlncp99k8bkp4-dosfstools-
4.1/sbin:/gnu/store/lmfddplnplxd03bcqv3w9pynbnr1fp8k-sed-
4.5/bin:/gnu/store/02k245xy33cvcnr8vm3lagm9zmb1s2wa-grep-
3.1/bin:/gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-
8.30/bin:/gnu/store/fd621k6fmdnr1yiw0lbvw5spqaa169j3-findutils-
4.6.0/bin:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/bin'
[    2.090988] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
creating partition table with 2 partitions (1786.0 MiB, 40.0 MiB)...
Warning: The resulting partition is not properly aligned for best
performance.
Backtrace:
           4 (primitive-load
"/gnu/store/x19zk71zj8mh9i5mbhy4i1ml6vi���@ build-log 32326 1
�@ build-log 32326 1
�@ build-log 32326 1
"@ build-log 32326 1
)@ build-log 32326 1

@ build-log 32326 1

In ./gnu/build/vm.scm:
    563:4  3 (initialize-hard-disk "/dev/vda" #:bootloader-package _
���@ build-log 32326 1
�@ build-log 32326 1
�@ build-log 32326 1
)@ build-log 32326 1

@ build-log 32326 1

In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure initialize-partition (partition)> #)
In ./gnu/build/vm.scm:
    329:3  1 (initialize-partition #<<partition> device:
"/dev/vda1"���@ build-log 32326 1
�@ build-log 32326 1
�@ build-log 32326 1
>@ build-log 32326 1
)@ build-log 32326 1

@ build-log 32326 1

In unknown file:
           0 (scm-error misc-error #f "~A" ("Unsupported file syst���@
build-log 32326 1
�@ build-log 32326 1
�@ build-log 32326 1
"@ build-log 32326 1
)@ build-log 32326 1
 @ build-log 32326 1
�@ build-log 32326 1
�@ build-log 32326 1
�@ build-log 32326 1
)@ build-log 32326 1

@ build-log 32326 1


ERROR: In procedure scm-error:
Unsupported file system.
[   70.721155] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000100
[   70.722153] CPU: 2 PID: 168 Comm: init Not tainted 5.2.10-gnu #1
[   70.722933] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),
BIOS rel-1.12.0-0-ga698c8995f-prebuilt.qemu.org 04/01/2014
[   70.724324] Call Trace:
[   70.724654]  dump_stack+0x63/0x85
[   70.725085]  panic+0xfe/0x2d4
[   70.725461]  do_exit+0xb9d/0xba0
[   70.725848]  ? wait_woken+0x80/0x80
[   70.726251]  do_group_exit+0x43/0xb0
[   70.726682]  get_signal+0x14f/0x830
[   70.727089]  ? new_sync_read+0x122/0x1b0
[   70.727546]  do_signal+0x34/0x6d0
[   70.727933]  ? __vfs_read+0x29/0x40
[   70.728341]  ? fput+0x13/0x20
[   70.728690]  exit_to_usermode_loop+0x7c/0xf0
[   70.729191]  do_syscall_64+0x118/0x130
[   70.729631]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   70.730216] RIP: 0033:0x4bac5c
[   70.730670] Code: Bad RIP value.
[   70.731085] RSP: 002b:00007f251e8323b0 EFLAGS: 00000246 ORIG_RAX:
0000000000000000
[   70.732018] RAX: fffffffffffffe00 RBX: 0000000000000005 RCX:
00000000004bac5c
[   70.732942] RDX: 0000000000000001 RSI: 00007f251e832880 RDI:
0000000000000005
[   70.733801] RBP: 00007f251e832880 R08: 0000000000000000 R09:
0000000000652030
[   70.734623] R10: 0000000000000008 R11: 0000000000000246 R12:
0000000000000001
[   70.735434] R13: 0000000000000002 R14: 0000000000000002 R15:
000000000000000a
[   70.736326] Kernel Offset: 0x11000000 from 0xffffffff81000000
(relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[   70.737555] Rebooting in 1 seconds..
file-size: /gnu/store/kw357rqfm7kw4rhx1sbakw3jc4zpi6gy-nss-certs-
3.45/etc/ssl/certs/NetLock_Arany_=Class_Gold=_F??tan??s??tv??ny:2.6.73.
65.44.228.0.16.pem: No such file or directory
file-size: /gnu/store/vysii5zxdaxiz4pmb468rpn7i4x08qga-
profile/etc/ssl/certs/NetLock_Arany_=Class_Gold=_F??tan??s??tv??ny:2.6.
73.65.44.228.0.16.pem: No such file or directory


Am I really the only one who has this issue? Could it be related to
something in my os configuration or in my local profile?
-- 
-Jesse
[build.log (text/x-log, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Wed, 28 Aug 2019 22:38:01 GMT) Full text and rfc822 format available.

Message #32 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>, 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Thu, 29 Aug 2019 00:36:51 +0200
[Message part 1 (text/plain, inline)]
> Then I tried the invocation I usually use and it's the same, funny characters
> and the image is without grub.

Debugging it some further, it's trying to format an iso9660 partition inside the VM.

There's an (error ...) inside the VM and the later Guix parts say "successfully built". WTF?!

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Wed, 28 Aug 2019 22:56:01 GMT) Full text and rfc822 format available.

Message #35 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>, 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Thu, 29 Aug 2019 00:54:52 +0200
[Message part 1 (text/plain, inline)]
I also see in the VM:

file-size: /gnu/store/kw357rqfm7kw4rhx1sbakw3jc4zpi6gy-nss-certs-3.45/etc/ssl/certs/NetLock_Arany_=Class_Gold=_F??tan??s??tv??ny:2.6.73.65.44.228.0.16.pem: Noy
file-size: /gnu/store/vysii5zxdaxiz4pmb468rpn7i4x08qga-profile/etc/ssl/certs/NetLock_Arany_=Class_Gold=_F??tan??s??tv??ny:2.6.73.65.44.228.0.16.pem: No such fy


(garbagge in the original)
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Wed, 28 Aug 2019 23:47:01 GMT) Full text and rfc822 format available.

Message #38 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>, 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Thu, 29 Aug 2019 01:46:33 +0200
[Message part 1 (text/plain, inline)]
And also the volume uuid passed to xorriso is:

"\x0eJ)\x90ö± bn\x00\x19y+u\x90ê"
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Thu, 29 Aug 2019 00:36:02 GMT) Full text and rfc822 format available.

Message #41 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Thu, 29 Aug 2019 02:34:58 +0200
[Message part 1 (text/plain, inline)]
> 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
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Jesse Gibbons <jgibbons2357 <at> gmail.com>:
You have taken responsibility. (Thu, 29 Aug 2019 05:19:02 GMT) Full text and rfc822 format available.

Notification sent to Jesse Gibbons <jgibbons2357 <at> gmail.com>:
bug acknowledged by developer. (Thu, 29 Aug 2019 05:19:02 GMT) Full text and rfc822 format available.

Message #46 received at 37164-close <at> debbugs.gnu.org (full text, mbox):

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. 




Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Thu, 29 Aug 2019 06:06:01 GMT) Full text and rfc822 format available.

Message #49 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: Jesse Gibbons <jgibbons2357 <at> gmail.com>, 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Thu, 29 Aug 2019 08:05:05 +0200
[Message part 1 (text/plain, inline)]
Hello,

Danny Milosavljevic <dannym <at> scratchpost.org> ezt írta (időpont: 2019. aug.
29., Cs, 2:36):

> > 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
>

Wow, nice...

Yes, it is quite a hard to spot...

-- 
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
[Message part 2 (text/html, inline)]

Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Sep 2019 20:38:02 GMT) Full text and rfc822 format available.

Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 01 Sep 2019 20:38:03 GMT) Full text and rfc822 format available.

Merged 34276 37164. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 01 Sep 2019 20:38:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#37164; Package guix. (Sun, 01 Sep 2019 20:42:02 GMT) Full text and rfc822 format available.

Message #58 received at 37164 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: Jesse Gibbons <jgibbons2357 <at> gmail.com>, 37164 <at> debbugs.gnu.org
Subject: Re: bug#37164: Generated installation image does not include grub.
Date: Sun, 01 Sep 2019 22:40:56 +0200
Hi,

Danny Milosavljevic <dannym <at> scratchpost.org> skribis:

>> 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

As it turns out, what happens is this:

--8<---------------cut here---------------start------------->8---
creating partition table with 2 partitions (1351.0 MiB, 40.0 MiB)....
Warning: The resulting partition is not properly aligned for best performance..
Backtrace:.
           4 (primitive-load "/gnu/store/j4941c2hs3dnhj8lvcmclsr4wmk…").
In ./gnu/build/vm.scm:.
    563:4  3 (initialize-hard-disk "/dev/vda" #:bootloader-package _ …).
In srfi/srfi-1.scm:.
    640:9  2 (for-each #<procedure initialize-partition (partition)> #).
In ./gnu/build/vm.scm:.
    329:3  1 (initialize-partition #<<partition> device: "/dev/vda1"…>).
In unknown file:.
           0 (scm-error misc-error #f "~A" ("Unsupported file syst…") …).
.
ERROR: In procedure scm-error:.
Unsupported file system..
[   44.968721] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100.
--8<---------------cut here---------------end--------------->8---

Unfortunately, as noted in <https://issues.guix.gnu.org/issue/34276>,
that still produces an image, albeit a broken image.

I’m merging the bugs.

To be continued…

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 24 Apr 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 361 days ago.

Previous Next


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