diff options
author | Eric Hameleers <alien@slackware.com> | 2017-07-21 21:08:49 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-07-21 21:08:49 +0200 |
commit | 35b31ec24bef6f2bc25aaee6837127c013b1b39c (patch) | |
tree | 2f216d197e31d63d3dd8b0a5817f204f729fce8d /iso2usb.sh | |
parent | b29a98a3574573958d27cf7b46c9f780bf9ee557 (diff) | |
download | liveslak-35b31ec24bef6f2bc25aaee6837127c013b1b39c.tar.gz liveslak-35b31ec24bef6f2bc25aaee6837127c013b1b39c.tar.xz |
New syslinux requirement: disable 64bit feature in mke2fs command
See http://www.syslinux.org/wiki/index.php?title=Filesystem
As of Syslinux 6.03, "pure 64-bits" compression/encryption is not supported.
Modern mke2fs creates file systems with the metadata_csum and 64bit
features enabled by default.
Explicitly disable 64bit feature in the mke2fs command with '-O ^64bit';
otherwise, the syslinux bootloader (>= 6.03) will fail.
Diffstat (limited to '')
-rw-r--r-- | iso2usb.sh | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -550,7 +550,13 @@ if [ $REFRESH -eq 0 ]; then if mount |grep -qw ${TARGET}3 ; then umount ${TARGET}3 || true fi - mkfs.ext4 -F -F -L "${LIVELABEL}" -m 0 ${TARGET}3 + # http://www.syslinux.org/wiki/index.php?title=Filesystem + # As of Syslinux 6.03, "pure 64-bits" compression/encryption is not supported. + # Modern mke2fs creates file systems with the metadata_csum and 64bit + # features enabled by default. + # Explicitly disable 64bit feature in the mke2fs command with '-O ^64bit'; + # otherwise, the syslinux bootloader (>= 6.03) will fail. + mkfs.ext4 -F -F -L "${LIVELABEL}" -m 0 -O ^64bit ${TARGET}3 tune2fs -c 0 -i 0 ${TARGET}3 fi # End [ $REFRESH -eq 0 ] |