GNU bug report logs - #70480
Guix bios installation: Grub error: unknown filesystem

Previous Next

Package: guix;

Reported by: Franz Geffke <m <at> f-a.nz>

Date: Sat, 20 Apr 2024 08:27:03 UTC

Severity: normal

To reply to this bug, email your comments to 70480 AT debbugs.gnu.org.

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#70480; Package guix. (Sat, 20 Apr 2024 08:27:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Franz Geffke <m <at> f-a.nz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 20 Apr 2024 08:27:03 GMT) Full text and rfc822 format available.

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

From: Franz Geffke <m <at> f-a.nz>
To: bug-guix <at> gnu.org
Subject: Guix bios installation: Grub error: unknown filesystem
Date: Sat, 20 Apr 2024 09:25:39 +0100
Hi,

I'm having trouble installing guix in qemu, using a "fresh" guix ISO.

```
building /gnu/store/byjlc85abyjc3fjj9z982677skmda7ib-module-import compiled.drv...
building /gnu/store/psw8xn9qpsjjnrqmjrfv0v3jj9fphq5m-module-import-compiled.drv...
building /gnu/store/a1zcrrcdwhb4wb2g4r0ph8mqclq7f5xn-install-bootloader.scm.drv...
guix system: error: 
'/gnu/store/li1ic17hz460vp1sg0cx2dwgw8q7i8pj-grub-2.06/sbin/grub-install 
--no-floppy --target=i386-pc --boot-directory /mnt/boot /dev/sda' exited with 
status 1; output follows:

  Installing for i386-pc platform.
  /gnu/store/li1ic17hz460vp1sg0cx2dwgw8q7i8pj-grub-2.06/sbin/grub-install: 
error: unknown filesystem.
```

Here's what I've tried so far:
1. The ISO from 2022 
https://ftpmirror.gnu.org/gnu/guix/guix-system-install-1.4.0.x86_64-linux.iso: 
Success
2. Generated a new ISO today: Failure

These are the channels, on the booted ISO:

```
guix describe
  guix 65e8472
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 65e8472a4b6fc6f66871ba0dad518b7d4c63595e
```

Steps I used to install (1) and (2):

```
parted -s /dev/sda -- mklabel msdos mkpart primary ext4 1MiB 100%
parted /dev/sda set 1 boot on
mkfs.ext4 -L my-root /dev/sda1
mount LABEL=my-root /mnt
cp /etc/configuration/lightweight-desktop.scm /mnt/etc/config.scm
# adjust disk, bootloader
herd start cow-store /mnt
guix system init /mnt/etc/config.scm /mnt
```

Findings:

I didn't really dig too deeply yet; Only noticed that this command produces a 
different result, depending on whether the install succeeds, or not `grub-probe 
--target=fs --device /dev/sda`

- Success: `ext2`
- Failure: `grub-probe: error: unknown filesystem.`

I also tried using GPT instead of MBR, but it makes no difference.

Cheers,
Franz

PS: I send this (incorrectly?) to guix-devel <at> gnu.org yesterday and never got a 
confirmation of some sort; So I'll submit again here.




Information forwarded to bug-guix <at> gnu.org:
bug#70480; Package guix. (Sat, 20 Apr 2024 09:25:05 GMT) Full text and rfc822 format available.

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

From: Timotej Lazar <timotej.lazar <at> araneo.si>
To: Franz Geffke <m <at> f-a.nz>, 70480 <at> debbugs.gnu.org
Subject: Re: bug#70480: Guix bios installation: Grub error: unknown filesystem
Date: Sat, 20 Apr 2024 11:23:57 +0200
Franz Geffke <m <at> f-a.nz> [2024-04-20 09:25:39+0100]:
> '/gnu/store/li1ic17hz460vp1sg0cx2dwgw8q7i8pj-grub-2.06/sbin/grub-install 
> --no-floppy --target=i386-pc --boot-directory /mnt/boot /dev/sda' exited with 
> status 1; output follows:
>
>    Installing for i386-pc platform.
>    /gnu/store/li1ic17hz460vp1sg0cx2dwgw8q7i8pj-grub-2.06/sbin/grub-install: 
> error: unknown filesystem.

I got the same error during recent installation and had to disable the metadata_csum_seed
ext4 feature on the root fs:

    tune2fs -O ^metadata_csum_seed /dev/sda1

I think this has been fixed in grub but hasn’t hit guix master yet. Some more info here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866603




Information forwarded to bug-guix <at> gnu.org:
bug#70480; Package guix. (Sun, 21 Apr 2024 10:56:02 GMT) Full text and rfc822 format available.

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

From: Franz Geffke <m <at> f-a.nz>
To: Timotej Lazar <timotej.lazar <at> araneo.si>, 70480 <at> debbugs.gnu.org
Subject: Re: bug#70480: Guix bios installation: Grub error: unknown filesystem
Date: Sun, 21 Apr 2024 11:55:02 +0100
Hi Timotej,

> tune2fs -O ^metadata_csum_seed /dev/sda1

That's exactly what I needed; Thanks so much!
Works great on MBR, GPT and with encrypted disk too.

Cheers,
Franz




This bug report was last modified 13 days ago.

Previous Next


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