all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Ada Stevenson <adanskana@gmail.com>
Cc: Franz Geffke <m@f-a.nz>,  guix-devel@gnu.org
Subject: Re: Guix bios installation: Grub error: unknown filesystem
Date: Thu, 02 May 2024 00:06:22 +0200	[thread overview]
Message-ID: <87frv12nmp.fsf@gnu.org> (raw)
In-Reply-To: <c211dde2-89b3-5bfb-2786-31daafb7e1db@gmail.com> (Ada Stevenson's message of "Sun, 21 Apr 2024 06:14:49 +0000")

Hi Ada,

Ada Stevenson <adanskana@gmail.com> skribis:

> Basically, there is a compatibility issue regarding the ext4
> filesystem features that GRUB 2.06 supports and the features that
> `e2fsprogs@1.47.0` enables by default when creating your ext4
> filesystem. When these features are enabled, it changes the structure
> of the filesystem enough that GRUB can't recognise it properly and it
> fails.
>
> To fix this, you will need to make sure you create your ext4
> filesystem with the following features:
> `mkfs.ext4 /dev/you-partition-here -O
> has_journal,ext_attr,resize_inode,dir_index,filetype,needs_recovery,extent,flex_bg,sparse_super,large_file,huge_file,uninit_bg,dir_nlink,extra_isize`
>
> These are the features that worked for me. I had to do a lot of trial
> and error, and I used `tune2fs -l` to see what features weren't
> supported. The ones I can remember are the metadata_csum features, and
> some other ones (they showed up as FEATURE_X when running `tune2fs` on
> my Guix installation image, so I used a Gparted Live CD to get rid of
> the features that weren't recognised by tune2fs).
>
> This should allow grub to recognise your filesystem during the
> installation process. I think using a later version of grub would fix
> this, but that hasn't happened yet. I think there's a patch to upgrade
> it in `core-updates` somewhere, but I'm not sure.

Just recently I noticed that our installation tests had starting failing
with that exact same ‘grub-install’ error that was mentioned:

  https://ci.guix.gnu.org/build/3708453/details

Cuirass says the culprit is in the 4003c60..daab3da, which indeed
includes the e2fsprogs update to 1.47.0.

Have you tried upgrading GRUB?  I see ‘guix refresh grub’ finds a new
version.  If fixing the bug is what it takes, we should do that.

Thanks for the investigation!

Ludo’.


  parent reply	other threads:[~2024-05-01 22:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-19 14:24 Guix bios installation: Grub error: unknown filesystem Franz Geffke
2024-04-21  6:14 ` Ada Stevenson
2024-04-21 10:49   ` Franz Geffke
2024-04-22 21:04   ` Attila Lendvai
2024-04-23  5:52     ` Ada Stevenson
2024-05-01 22:06   ` Ludovic Courtès [this message]
2024-05-02  5:22     ` adanskana
2024-05-02  8:33       ` Ludovic Courtès
2024-05-02 14:26         ` Efraim Flashner

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

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

  git send-email \
    --in-reply-to=87frv12nmp.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=adanskana@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=m@f-a.nz \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.