Menu

Re: Bug#1031622: d-i regression in weekly builds: FEATURE_C12 unsupported by the installed e2fsck

2023-03-01
2023-03-02
  • Marc Leeman

    Marc Leeman - 2023-03-01

    Note that updating ext2fs with these new features also breaks other
    software components like refind (volume detection) in bookworm (this is how
    I came to this bug).

     
    • Marc Leeman

      Marc Leeman - 2023-03-02

      I fixed my builds with the bookworm weekly netinst by adding this in the
      preseed:

      d-i partman/early_command string \
      sed -i -e "s/,metadata_csum_seed//g" -e "s/,orphan_file//g"
      /etc/mke2fs.conf;\
      ...

      On Wed, 1 Mar 2023 at 15:59, Marc Leeman marc.leeman@gmail.com wrote:

      Note that updating ext2fs with these new features also breaks other
      software components like refind (volume detection) in bookworm (this is how
      I came to this bug).

      --
      g. Marc

       
      • Roderick W. Smith

        That might work for you on your installation, but it doesn't do much good for anybody else (unless they happen to read this thread). What I need to know to help other people is whether version 0.13.3.8 of rEFInd (or its ext4fs_x64.efi driver file, to be more precise) fixes the problem for the setup where you encountered the problem but without your modifications. It's worked for me in my tests using a local build of e2fsprogs 1.47.0 on an Ubuntu 22.04 system, but that's different from your use case, so it would be helpful to get confirmation that my fix (actually, submitted by Martin Whitaker) is actually working for you without your local workaround.

        One caveat: I discovered in doing my test that refind-install wasn't installing the driver files at all under Ubuntu 22.04, but it did work with Ubuntu 21.10 and 22.10. I fixed that bug, but it's not fixed in the 0.13.3.8 file I referenced in my earlier post to this thread. In other words, you'll need to copy the driver file manually, not rely on refind-install to do so.

         
  • Roderick W. Smith

    Could you please try the latest (pre-release) version in the git repository, or available as a .zip file here:

    https://www.rodsbooks.com/refind-bin-0.13.3.8.zip

    I did some tests, and that latest version has no problems with an ext4 filesystem created with mkfs.ext4 using e2fsprogs 1.47.0. I suspect that any problems you ran into were not actually caused by FEATURE_C12 (aka orphan_file), but rather by the metadata_csum_seed flag, which was also enabled by e2fsprogs 1.47.0; but the metadata_csum_seed flag is properly handled (that is, ignored) by the very latest (pre-release) rEFInd ext4fs driver. If you have problems with this latest pre-release version, please post back with more details, since I'd like to fix any such problem before I release the next rEFInd version.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.