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