summaryrefslogtreecommitdiffstats
path: root/iso2usb.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-03-18 21:24:37 +0100
committer Eric Hameleers <alien@slackware.com>2016-03-18 21:24:37 +0100
commit4b2d8cf1485ccdfc5871aec8408848d8db6df116 (patch)
tree96d5e73fc75b7bde28b27c308673cb4e3bb4f420 /iso2usb.sh
parenta407de59dab6b5ca5d3b9ed87f8b662f83dfec18 (diff)
downloadliveslak-4b2d8cf1485ccdfc5871aec8408848d8db6df116.tar.gz
liveslak-4b2d8cf1485ccdfc5871aec8408848d8db6df116.tar.xz
Add support for 32-bit UEFI boot (disabled by default).
This requires functionality in grub which is currently not enabled in Slackware's grub package. If you want a 32-bit Live ISO that boots on UEFI computers, you need to recompile Slackware's grub with the patch for grub.SlackBuild which you can find in the ./patches subdirectory. Then you need to set the variable "EFI32" to "YES" in the 'make_slackware_live.sh' script and (re-)generate your 32-bit ISO. The resulting 32-bit Live ISO will be UEFI-bootable.
Diffstat (limited to 'iso2usb.sh')
-rw-r--r--iso2usb.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/iso2usb.sh b/iso2usb.sh
index 75093db..c519035 100644
--- a/iso2usb.sh
+++ b/iso2usb.sh
@@ -469,6 +469,9 @@ if [ -n "$EFIOFFSET" ]; then
if [ ! -f ${EFIMNT}/EFI/BOOT/bootx64.efi ]; then
echo "-- Note: UEFI boot file 'bootx64.efi' not found on ISO."
echo "-- UEFI boot will not be supported"
+ elif [ ! -f ${EFIMNT}/EFI/BOOT/bootia32.efi ]; then
+ echo "-- Note: UEFI boot file 'bootia32.efi' not found on ISO."
+ echo "-- 32-bit UEFI boot will not be supported"
else
EFIBOOT=1
fi