2026-04-26

Porteus - UEFI boot entry -8

 

A simple and easy workaround.
With GRUB4DOS_UEFI, you just need /EFI/BOOT/BOOTX64.EFI and /EFI/grub/menu.lst 2 files.
With GRUB4DOS, you need /grlde and /menu.lst 2 files.

That’s it.


grub4dos-for_UEFI-2025-11-25.7z 1.2M
grub4dos-0.4.6a-2025-11-25.7z 344K


Ref:
ventoy-No bootfile found for UEFI! #97

PorteuX - GRUB4DOS_UEFI #102


https://forum.porteus.org/viewtopic.php?p=105325#p105325

Porteus - UEFI boot entry -7

 

make-grub.sh - /boot/syslinux/efiboot.img

# Then, create a FAT formatted image that contains bootx64.efi in the
# ${EFIDIR} directory. This is used to bootstrap GRUB from the ISO image.

https://download.liveslak.org/liveslak/ ... ke-grub.sh

https://forum.porteus.org/viewtopic.php?p=105324#p105324

2026-04-25

Porteus - UEFI boot entry -3

 

sudo qemu-kvm -m 2G -enable-kvm -cdrom /mnt/sda1/boot/Porteus-XFCE-v5.01-x86_64.iso &
https://reurl.cc/Q2aM5Z
BIOS: Porteus-XFCE-v5.01 boot ok.

sudo qemu-kvm -m 2G -enable-kvm -bios /usr/share/OVMF/OVMF_CODE.fd -cdrom /mnt/sda1/boot/Porteus-XFCE-v5.01-x86_64.iso &
https://reurl.cc/EmQAVR
UEFI: Porteus-XFCE-v5.01 boot failed.


VS.

sudo qemu-kvm -m 2G -enable-kvm -bios /usr/share/OVMF/OVMF_CODE.fd -cdrom /mnt/sda1/boot/slackware64-live-xfce-current.iso &
https://reurl.cc/Q2aMYZ
UEFI: slackware64-xfce-current boot ok.

sudo qemu-kvm -m 2G -enable-kvm -cdrom /mnt/sda1/boot/slackware64-live-xfce-current.iso &
https://reurl.cc/R2kNYe
BIOS: slackware64-xfce-current boot ok.


https://forum.porteus.org/viewtopic.php?p=105312#p105312

Porteus - UEFI boot entry -6

 

slackware64-xfce-current
UEFI: /boot/syslinux/efiboot.img
UEFI_OPTS="-eltorito-alt-boot -no-emul-boot -eltorito-platform 0xEF -eltorito-boot boot/syslinux/efiboot.img"

UEFI_OPTS="-eltorito-alt-boot -e boot/syslinux/efiboot.img -no-emul-boot"

Code: Select all

guest@porteus:~$ ll /mnt/slack
total 7
dr-xr-xr-x 1 root root 2048 Jan  2 21:16 boot/
dr-xr-xr-x 1 root root 2048 Jan  2 21:16 EFI/
dr-xr-xr-x 1 root root 2048 Jan  2 21:16 liveslak/
-r--r--r-- 1 root root   82 Jan  2 21:16 ventoy.dat

guest@porteus:~$ ll /mnt/slack/boot/syslinux/efiboot.img 
-r--r--r-- 1 root root 2949120 Jan  2 21:16 /mnt/slack/boot/syslinux/efiboot.img

guest@porteus:~$ file /mnt/slack/boot/syslinux/efiboot.img 
/mnt/slack/boot/syslinux/efiboot.img: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "mkfs.fat", sectors/cluster 2, root entries 224, sectors 5760 (volumes <=32 MB), sectors/FAT 9, sectors/track 36, serial number 0x59d2f965, unlabeled, FAT (12 bit), followed by FAT

guest@porteus:~$ 7z l /mnt/slack/boot/syslinux/efiboot.img 


https://forum.porteus.org/viewtopic.php?p=105322#p105322

Porteus - UEFI boot entry -5

 

ncmprhnsbl wrote:
26 Apr 2026, 10:47

pointing out that our ISOs do not support UEFI booting

You are right.

Just add
-eltorito-alt-boot -no-emul-boot -eltorito-platform 0xEF \
-eltorito-boot boot/syslinux/efiboot.img


https://forum.porteus.org/viewtopic.php?p=105321#p105321

2026-04-24

Porteus - UEFI boot entry -4


sudo qemu-kvm -m 2G -enable-kvm -cdrom /mnt/sda1/boot/Porteus-XFCE-v5.01-x86_64.iso &
https://reurl.cc/Q2aM5Z
BIOS: Porteus-XFCE-v5.01 boot ok.

sudo qemu-kvm -m 2G -enable-kvm -bios /usr/share/OVMF/OVMF_CODE.fd -cdrom /mnt/sda1/boot/Porteus-XFCE-v5.01-x86_64.iso &
https://reurl.cc/EmQAVR
UEFI: Porteus-XFCE-v5.01 boot failed.


VS.

sudo qemu-kvm -m 2G -enable-kvm -bios /usr/share/OVMF/OVMF_CODE.fd -cdrom /mnt/sda1/boot/slackware64-live-xfce-current.iso &
https://reurl.cc/Q2aMYZ
UEFI: slackware64-xfce-current boot ok.

sudo qemu-kvm -m 2G -enable-kvm -cdrom /mnt/sda1/boot/slackware64-live-xfce-current.iso &
https://reurl.cc/R2kNYe
BIOS: slackware64-xfce-current boot ok.


https://forum.porteus.org/viewtopic.php?p=105312#p105312 

Porteus - UEFI boot entry -2

 

Porteus-XFCE-v5.01
BIOS: /boot/syslinux/isolinux.bin
Porteus-XFCE-v5.1
BIOS: /boot/syslinux/isolinux.bin
make_iso.sh

Code: Select all

#!/bin/bash
# ---------------------------------------------------
# Script to create bootable ISO in Linux
# usage: make_iso.sh [ /tmp/porteus.iso ]
# author: Tomas M. <http://www.linux-live.org>
# updated for Porteus by fanthom <http://www.porteus.org>
# ---------------------------------------------------

if [ "$1" = "--help" -o "$1" = "-h" ]; then
  echo "This script will create bootable ISO from files in curent directory."
  echo "Current directory must be writable."
  echo "example: $0 /mnt/sda5/porteus.iso"
  exit
fi

CDLABEL="Porteus"
ISONAME=$(readlink -f "$1")

cd $(dirname $0)

if [ "$ISONAME" = "" ]; then
   SUGGEST=$(readlink -f ../../$(basename $(pwd)).iso)
   echo -ne "Target ISO file name [ Hit enter for $SUGGEST ]: "
   read ISONAME
   if [ "$ISONAME" = "" ]; then ISONAME="$SUGGEST"; fi
fi

mkisofs -o "$ISONAME" -v -l -J -joliet-long -R -D -A "$CDLABEL" \
-V "$CDLABEL" -no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot/syslinux/isolinux.bin -c boot/syslinux/isolinux.boot ../.
UEFI boot entry ?

VS.
slackware64-xfce-current
BIOS: /boot/syslinux/isolinux.bin
UEFI: /boot/syslinux/efiboot.img
make_slackware_live.sh
# Determine whether we add UEFI boot capabilities to the ISO:
if [ -f boot/syslinux/efiboot.img -a "$USEXORR" = "NO" ]; then
UEFI_OPTS="-eltorito-alt-boot -no-emul-boot -eltorito-platform 0xEF -eltorito-boot boot/syslinux/efiboot.img"
elif [ -f boot/syslinux/efiboot.img -a "$USEXORR" = "YES" ]; then
UEFI_OPTS="-eltorito-alt-boot -e boot/syslinux/efiboot.img -no-emul-boot"

https://download.liveslak.org/liveslak/ ... re_live.sh

Code: Select all

# Create an ISO file from a directory's content:
#
function create_iso() {
  TOPDIR=${1:-"${LIVE_STAGING}"}

  cd "$TOPDIR"

  # Tag the type of live environment to the ISO filename:
  if [ "$LIVEDE" = "SLACKWARE" ]; then
    ISOTAG=""
  else
    ISOTAG="-$(echo $LIVEDE |tr A-Z a-z)"
  fi

  # Determine whether we add UEFI boot capabilities to the ISO:
  if [ -f boot/syslinux/efiboot.img -a "$USEXORR" = "NO" ]; then
    UEFI_OPTS="-eltorito-alt-boot -no-emul-boot -eltorito-platform 0xEF -eltorito-boot boot/syslinux/efiboot.img"
  elif [ -f boot/syslinux/efiboot.img -a "$USEXORR" = "YES" ]; then
    UEFI_OPTS="-eltorito-alt-boot -e boot/syslinux/efiboot.img -no-emul-boot"
  else
    UEFI_OPTS=""
  fi

  # Time to determine the output filename, now that we know all the variables
  # and ensured that the OUTPUT directory exists:
  OUTFILE=${OUTFILE:-"${OUTPUT}/${DISTRO}${DIRSUFFIX}-live${ISOTAG}-${SL_VERSION}.iso"}
  if [ "$USEXORR" = "NO" ]; then
    mkisofs -o "${OUTFILE}" \
      -V "${MEDIALABEL}" \
      -R -J \
      -hide-rr-moved \
      -v -d -N \
      -no-emul-boot -boot-load-size ${BOOTLOADSIZE} -boot-info-table \
      -sort boot/syslinux/iso.sort \
      -b boot/syslinux/isolinux.bin \
      -c boot/syslinux/isolinux.boot \
      ${UEFI_OPTS} \
      -preparer "$(echo $LIVEDE |sed 's/BASE//') Live built by ${BUILDER}" \
      -publisher "The Slackware Linux Project - http://www.slackware.com/" \
      -A "${DISTRO^}-${SL_VERSION} for ${SL_ARCH} ($(echo $LIVEDE |sed 's/BASE//') Live $VERSION)" \
      -x ./$(basename ${LIVE_WORK}) \
      -x ./${LIVEMAIN}/bootinst \
      -x boot/syslinux/testing \
      .

    if [ "$SL_ARCH" = "x86_64" -o "$EFI32" = "YES" ]; then
      # Make this a hybrid ISO with UEFI boot support on x86_64.
      # On 32bit, the variable EFI32 must be explicitly enabled.
      isohybrid -u "${OUTFILE}"
    else
      isohybrid "${OUTFILE}"
    fi # End UEFI hybrid ISO.
  else
    echo "-- Using xorriso to generate the ISO and make it hybrid."
    xorriso -as mkisofs -o "${OUTFILE}" \
      -V "${MEDIALABEL}" \
      -J -joliet-long -r \
      -hide-rr-moved \
      -v -d -N \
      -b boot/syslinux/isolinux.bin \
      -c boot/syslinux/isolinux.boot \
      -boot-load-size ${BOOTLOADSIZE} -boot-info-table -no-emul-boot \
      ${UEFI_OPTS} \
      -isohybrid-mbr /usr/share/syslinux/isohdpfx.bin \
      -isohybrid-gpt-basdat \
      -preparer "$(echo $LIVEDE |sed 's/BASE//') Live built by ${BUILDER}" \
      -publisher "The Slackware Linux Project - http://www.slackware.com/" \
      -A "${DISTRO^}-${SL_VERSION} for ${SL_ARCH} ($(echo $LIVEDE |sed 's/BASE//') Live $VERSION)" \
      -x ./$(basename ${LIVE_WORK}) \
      -x ./${LIVEMAIN}/bootinst \
      -x boot/syslinux/testing \
      .
  fi

  # Return to original directory:
  cd - 1>/dev/null

  cd "${OUTPUT}"
    md5sum "$(basename "${OUTFILE}")" \
      > "$(basename "${OUTFILE}")".md5
    sha256sum "$(basename "${OUTFILE}")" \
      > "$(basename "${OUTFILE}")".sha256
  cd - 1>/dev/null
  echo "-- Live ISO image created:"
  echo "   - CDROM max size is 737.280.000 bytes (703 MB)"
  echo "   - DVD max size is 4.706.074.624 bytes (4.38 GB aka 4.7 GiB)"
  ls -l "${OUTFILE}"*

} # End of create_iso()

https://forum.porteus.org/viewtopic.php?p=105311#p105311

Porteus - UEFI boot entry

 

Porteus - UEFI boot entry

Code: Select all

guest@porteus:~$ xorriso -indev /mnt/sda1/boot/Porteus-XFCE-v5.01-x86_64.iso -report_el_torito plain
GNU xorriso 1.5.8.pl01 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE :      54 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently is set to be discarded
Drive current: -indev '/mnt/sda1/boot/Porteus-XFCE-v5.01-x86_64.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR isohybrid cyl-align-on
Media summary: 1 session, 230904 data blocks,  451m data, 6131m free
Volume id    : 'Porteus'
El Torito catalog  : 53  1
El Torito cat path : /boot/syslinux/isolinux.boot
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz         LBA
El Torito boot img :   1  BIOS  y   none  0x0000  0x00      4          54
El Torito img path :   1  /boot/syslinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
Porteus-XFCE-v5.01
BIOS: /boot/syslinux/isolinux.bin

Code: Select all

guest@porteus:~$ xorriso -indev /mnt/sda1/boot/Porteus-XFCE-v5.1-alpha3-x86_64.iso -report_el_torito plain
GNU xorriso 1.5.8.pl01 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE :      54 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently is set to be discarded
Drive current: -indev '/mnt/sda1/boot/Porteus-XFCE-v5.1-alpha3-x86_64.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR isohybrid cyl-align-on
Media summary: 1 session, 272216 data blocks,  532m data, 6131m free
Volume id    : 'Porteus'
El Torito catalog  : 53  1
El Torito cat path : /boot/syslinux/isolinux.boot
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz         LBA
El Torito boot img :   1  BIOS  y   none  0x0000  0x00      4          54
El Torito img path :   1  /boot/syslinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
Porteus-XFCE-v5.1
BIOS: /boot/syslinux/isolinux.bin

Code: Select all

guest@porteus:~$ xorriso -indev /mnt/sda1/boot/slackware64-live-xfce-current.iso -report_el_torito plain
GNU xorriso 1.5.8.pl01 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE :     153 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently is set to be discarded
Drive current: -indev '/mnt/sda1/boot/slackware64-live-xfce-current.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR isohybrid cyl-align-on GPT
Media summary: 1 session, 796544 data blocks, 1556m data, 6131m free
Volume id    : 'LIVESLAK'
El Torito catalog  : 78  1
El Torito cat path : /boot/syslinux/isolinux.boot
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz         LBA
El Torito boot img :   1  BIOS  y   none  0x0000  0x00      4        1519
El Torito boot img :   2  UEFI  y   none  0x0000  0x00   5760          79
El Torito img path :   1  /boot/syslinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
El Torito img path :   2  /boot/syslinux/efiboot.img
slackware64-xfce-current
BIOS: /boot/syslinux/isolinux.bin
UEFI: /boot/syslinux/efiboot.img


https://forum.porteus.org/viewtopic.php?f=140&t=11940&p=105310#p105310