From: adanskana@gmail.com
To: "Ludovic Courtès" <ludo@gnu.org>, "Franz Geffke" <m@f-a.nz>,
guix-devel@gnu.org
Subject: Re: Guix bios installation: Grub error: unknown filesystem
Date: Thu, 2 May 2024 05:22:40 +0000 [thread overview]
Message-ID: <e7aa6024-e6b2-15f7-06b1-c288c85c9b96@gmail.com> (raw)
In-Reply-To: <87frv12nmp.fsf@gnu.org>
Hi Ludo',
On 5/1/24 10:06 PM, Ludovic Courtès <ludo@gnu.org> wrote:
> 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.
Okay, good to know!
>
> 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.
I might try doing this. It's a little scary though, updating the bootloader... What do you think would be the best way to test it? Should I create a VM and test through that? Or is there a way I can invoke the 'installation tests' that have been failing locally?
>
> Thanks for the investigation!
No worries! I'm very glad I've been able to help; I'd love for this to be resolved :)
>
> Ludo’.
>
Thanks,
Ada
next prev parent reply other threads:[~2024-05-02 5:23 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
2024-05-02 5:22 ` adanskana [this message]
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
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=e7aa6024-e6b2-15f7-06b1-c288c85c9b96@gmail.com \
--to=adanskana@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ludo@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 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).