From f282e6560fd238e6ce8a12562e10f8d13e256b1e Mon Sep 17 00:00:00 2001 From: vasilito Date: Fri, 3 Jul 2026 15:07:59 +0300 Subject: [PATCH] =?UTF-8?q?Rename=20ESP=20label=20VTOYEFI=20=E2=86=92=20HI?= =?UTF-8?q?SOEFI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We are not Ventoy. The ventoy_check_official_device label check is already bypassed via patch_ventoy_212.py's early return 0, so this is safe. --- scripts/package_release.sh | 6 ++---- src/installer/tool/hiperiso_lib.sh | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/package_release.sh b/scripts/package_release.sh index c0e4c84..5928496 100755 --- a/scripts/package_release.sh +++ b/scripts/package_release.sh @@ -224,10 +224,8 @@ fi _progress 6 "Creating 32MB FAT16 ESP image ($(find "$ESP_STAGING" -type f | wc -l) files, $(du -sh "$ESP_STAGING" | cut -f1))..." dd if=/dev/zero of="$ESP_IMG" bs=1M count=32 2>/dev/null -# FAT16 volume label MUST be "VTOYEFI" (modsrc's GRUB hardcodes -# this check at ventoy_check_official_device). Using "HISOEFI" here -# would fail with error 10 "Partition name is not VTOYEFI". -mkfs.vfat -F 16 -n "VTOYEFI" "$ESP_IMG" >/dev/null 2>&1 +# FAT16 volume label "HISOEFI" — we are not Ventoy. +mkfs.vfat -F 16 -n "HISOEFI" "$ESP_IMG" >/dev/null 2>&1 _progress 7 "Populating ESP (single mcopy)..." # mcopy with a wildcard of subdirs + ::/ does not recurse reliably diff --git a/src/installer/tool/hiperiso_lib.sh b/src/installer/tool/hiperiso_lib.sh index 0b110b7..b0b4f76 100644 --- a/src/installer/tool/hiperiso_lib.sh +++ b/src/installer/tool/hiperiso_lib.sh @@ -381,7 +381,7 @@ EOF for i in 0 1 2 3 4 5 6 7 8 9; do check_umount_disk "$PART2" - if mkfs.vfat -F 16 -n VTOYEFI -s 1 $PART2; then + if mkfs.vfat -F 16 -n HISOEFI -s 1 $PART2; then echo 'success' break else @@ -504,7 +504,7 @@ format_hiperiso_disk_gpt() { for i in 0 1 2 3 4 5 6 7 8 9; do check_umount_disk "$PART2" - if mkfs.vfat -F 16 -n VTOYEFI -s 1 $PART2; then + if mkfs.vfat -F 16 -n HISOEFI -s 1 $PART2; then echo 'success' break else