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).
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).
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
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:
--
g. Marc
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 onrefind-install
to do so.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.