On 2023-04-06 13:15, Richard Dunbar wrote:
Kind regards to all CRUX developers,maintainers, and users.
64bit has to be removed from ext4 features for extlinux-6.03 to work. sudo dumpe2fs /dev/sda1 | grep features extlinux --version If this is the case try this: In resize2fs, the -s parameter (that is, an hyphen followed by a lower-case letter "s") disables the "64bit" feature of an already-created filesystem volume, if its size allows it.
Reference: https://wiki.syslinux.org/wiki/index.php?title=Filesystem As of Syslinux 6.03, "pure 64bit", compression and/or encryption are not supported. Quoting part of the release notes of version 1.43 of e2fsprogs (May 17, 2016): Mke2fs will now create file systems with the metadata_csum and 64bit features enabled by default. Users should rather (manually) disable the 64bit feature in the mke2fs command when creating / formatting a boot volume with ext4; otherwise, the bootloader (as of version 6.03) will fail.
Notes: For a 4KiB block size, an ext2/3/4 volume size of less than 16TiB when created without the "64bit feature" is supported by Syslinux as of version 6.03. To manually disable the "64bit" feature when creating ext4 volumes, use -O ^64bit in the mke2fs (or equivalent) command. That is, an hyphen, immediately followed by an upper-case letter "O", a space character, the caret "^" symbol, followed by "64bit" (no hyphen). In some cases, a backslash character before the caret might be needed: -O \^64bit In resize2fs, the -s parameter (that is, an hyphen followed by a lower-case letter "s") disables the "64bit" feature of an already-created filesystem volume, if its size allows it.
This issue is resolved in pre-release syslinux-6.0.4 with this patch: https://repo.or.cz/syslinux.git/patch/af7e95c32cea40c1e443ae301e64b27f068b49...
Greetings, I remember seeing some reference to this, but also on the same working test system from which I posted some output: ---------- $ syslinux --version syslinux 6.03 Copyright 1994-2014 H. Peter Anvin et al $ sudo tune2fs -l /dev/sda2 | grep -E 'features|Block size' Filesystem features: has_journal ext_attr resize_inode dir_index orphan_file filetype needs_recovery extent 64bit flex_bg metadata_csum_seed sparse_super large_file huge_file dir_nlink extra_isize metadata_csum orphan_present Block size: 4096 ---------- The '64bit' feature is enabled on this partition/filesystem as reported by both tune2fs and dumpe2fs. Very strange, not sure what to make of that. Regards, Matt