Rename ESP label VTOYEFI → HISOEFI

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.
This commit is contained in:
2026-07-03 15:07:59 +03:00
parent 1931a250b3
commit f282e6560f
2 changed files with 4 additions and 6 deletions
+2 -4
View File
@@ -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