Úgy tünik, hogy sikerült megoldanom a slax linux UEFI és Legacy bootolhatóságát egy eszközről tisztán syslinux használatával. Íme:
Here is the solution for EFI & Legacy boot for slax:
A Slax linux legacy boot és az EFI boot céljára a pendrive hagyományos DOS partíciós táblát kap. Két partíció kell rá.
Az első partíció EXT4-es legyen ide bemásoljuk a slax mappát és a boot mappából lefuttatjuk a bootinst.sh fájt.
A második partíció legyen egy maximum 1 gigabájtos FAT32-es partíció. Ennek gyökerébe kicsomagoljuk ezt:
https://www.rodsbooks.com/efi-bootloade ... fsg-14.tgz . Létrejön benne az EFI mappa. Az esp partíció gyökerébe átmásoljuk az EFI mappa mellé a slax boot mappájából az initrfs.img és a vmlinuz fájlokat. Én az EFI mappába a már benne lévő syslinux mappa mellé készítettem egy boot mappát is melyben a bootx64.efi fájlt helyeztem el. Az esp partíció /EFI/syslinux mappájában a syslinux.cfg fájl tartalma az alábbi legyen és a benne lévő UUID értéket cseréljük le a saját EXT4-es partíciónk UUID értékére. Ennyi az egész. Tiszta syslnuxos megoldás.
In English:
For Slax linux legacy boot and EFI boot, the pendrive gets a traditional DOS partition table. You need two partitions.
The first partition should be EXT4, copy the slax folder here and run bootinst.sh from the boot folder.
The second partition should be a FAT32 partition with a maximum size of 1 gigabyte. At the root of this, we unpack this at
https://www.rodsbooks.com/efi-bootloade ... fsg-14.tgz. The EFI folder will be created. At the root of the esp partition, we copy the initrfs.img and vmlinuz files from the slax boot folder next to the EFI folder. I created a boot folder in the EFI folder next to the syslinux folder already in it, where I placed the bootx64.efi file. In the / EFI / syslinux folder of the esp partition, the contents of the syslinux.cfg file should be as follows and the UUID value in it will be replaced with the UUID value of your EXT4 partition. That is all. Clean syslnux solution.
syslinux.cfg:
DEFAULT slax
UI vesamenu.c32
PROMPT 0
TIMEOUT 40
MENU CLEAR
MENU HIDDEN
MENU HIDDENKEY Enter default
MENU BACKGROUND /slax/boot/bootlogo.png
MENU WIDTH 80
MENU MARGIN 20
MENU ROWS 5
MENU TABMSGROW 9
MENU CMDLINEROW 9
MENU HSHIFT 0
MENU VSHIFT 19
MENU COLOR BORDER 30;40 #00000000 #00000000 none
MENU COLOR SEL 47;30 #FF000000 #FFFFFFFF none
MENU COLOR UNSEL 37;40 #FFFFFFFF #FF000000 none
MENU COLOR TABMSG 32;40 #FF60CA00 #FF000000 none
F1 help.txt /slax/boot/zblack.png
MENU AUTOBOOT Press Esc for options, automatic boot in # second{,s} ...
MENU TABMSG [F1] help [Tab] cmdline >
LABEL default
MENU LABEL Run Slax (Persistent changes)
KERNEL /vmlinuz
APPEND vga=normal root=UUID=83bde0b8-da9d-4bda-a1ed-6f77e20ce4ea rw quiet splash load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 slax.flags=perch,automount
INITRD /initrfs.img
LABEL perch
MENU LABEL Run Slax (Fresh start)
KERNEL /vmlinuz
APPEND vga=normal root=UUID=83bde0b8-da9d-4bda-a1ed-6f77e20ce4ea rw quiet splash load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 slax.flags=automount
INITRD /initrfs.img
LABEL toram
MENU LABEL Run Slax (Copy to RAM)
KERNEL /vmlinuz
APPEND vga=normal root=UUID=83bde0b8-da9d-4bda-a1ed-6f77e20ce4ea rw quiet splash load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 slax.flags=toram
INITRD /initrfs.img