aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-01-06 12:50:19 +0100
committer Eric Hameleers <alien@slackware.com>2023-01-06 12:50:19 +0100
commitee43ab3984a7fcd36fa10f00585e3f649c3f86cf (patch)
treeb2fcf976790757afc3cb1b4d6ce5bf53191938d7
parente1154ffb0c80258ea7a5c7a577ed31ad3bfdc2da (diff)
downloadliveslak-ee43ab3984a7fcd36fa10f00585e3f649c3f86cf.tar.gz
liveslak-ee43ab3984a7fcd36fa10f00585e3f649c3f86cf.tar.xz
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'.
-rw-r--r--iso2usb.sh2
1 files changed, 1 insertions, 1 deletions
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