From ee43ab3984a7fcd36fa10f00585e3f649c3f86cf Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 6 Jan 2023 12:50:19 +0100 Subject: iso2usb.sh: change EFI partition label from 'EFI' to 'ESP' Liveslak used to assign the label 'EFI' to the FAT filesystem on the EFI System Partition (ESP). Some UEFI firmwares however cannot cope with a volume- or labelname that is identical to the EFI directory name. When that happens, the buggy firmware decides that an EFI directory does not exist. The computer will not boot. To make liveslak work on those buggy firmwares, it needs to use any name *except* 'EFI'. Let's pick 'ESP' instead, which is still informative about the 'EFI System Partition'. --- iso2usb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iso2usb.sh b/iso2usb.sh index 3ba073c..16b4bc0 100644 --- a/iso2usb.sh +++ b/iso2usb.sh @@ -705,7 +705,7 @@ if [ $REFRESH -eq 0 ]; then # Create filesystems: # Not enough clusters for a 32 bit FAT: mkdosfs -s 2 -n "DOS" ${TARGETP1} - mkdosfs -F32 -s 2 -n "EFI" ${TARGETP2} + mkdosfs -F32 -s 2 -n "ESP" ${TARGETP2} # KDE tends to automount.. so try an umount: if mount |grep -qw ${TARGETP3} ; then umount ${TARGETP3} || true -- cgit v1.2.3