UEFI PXE Boot Libreelec

  • Hi Guys,

    I just received my new HTPC Platorm (Asrock J4105-ITX) and had to notice that this board has no legacy boot options. For the last couple of years I have been booting LE via PXE and now I can't. Do you have any clue how to make that work? Do I have to put an .efi file in my boot directory on the server? Please let me know if you have any questions.

    Thanks,

    Chris

    Edit: I managed to boot via PXE in UEFI mode by pointing to the correct syslinux.efi file in dhcp options. But PXE Boot via UEFI is slow as hell. Found many people complaining about bad performance in UEFI mode but did not find a solution yet.

    Edited once, last by chrisk2305 (February 19, 2018 at 3:33 PM).

  • I am PXE-Booting everything with UEFI32/64 for some years now. While SYSLINUX is the best option for PCBIOS i had trouble with SYSLINUX and UEFI-PXE. I can highly recommend iPXE which works like a charm. I am booting my Mac-Mini in UEFI mode with LibreELEC this way every day.

  • Hello Worl I also use boot with PXE NFS since a long time.

    My pxelinux file are in pxelinux.cfg on a tftp-server under centos 6 server

    xx-yy-zz-aa-bb-cc

    DEFAULT LibreElec.tv

    PROMPT 0

    LABEL LibreElec.tv

    MENU LABEL LibreElec

    KERNEL LibreElec/8.2/KERNEL

    APPEND ip=dhcp boot=NFS=10.0.1.60:/media/nfs/libreelec/8.2 disk=NFS=10.0.1.60:/media/nfs/storage ipv6.disable=1 overlay progress

    My J4105 has no legacy boot.
    Is there a way to boot LE with PXE UEFI ?

    Thanks in advance

    Olivier

  • In short: the UEFI64 syslinux boot files have to be added to the TFTP server and the DHCP server has to set "syslinux.efi" instead of "lpxelinux.0" as filename option for UEFI64 clients.

  • In short: the UEFI64 syslinux boot files have to be added to the TFTP server and the DHCP server has to set "syslinux.efi" instead of "lpxelinux.0" as filename option for UEFI64 clients.

    Thanks for your answer.

    Where can I find all needed files, are there in the /efi/BOOT/ on the install img.

    If yes I've only 4 Files :
    bootx64.efi
    KERNEL
    ldlinux.e64
    syslinux.cfg

  • Try with 6.04 same result very too slow in comparison with legacy PXE.
    I'm interrest with your HTTP transfers but, I don't undertand how to set it

    I've try to add in my default

    LABEL linux-http

    KERNEL http://10.0.1.50/boot/libreelec/kernel

    APPEND ip=dhcp boot=NFS=10.0.1.60:/media/nfs/libreelec/8.9 disk=NFS=10.0.1.60:/media/nfs/storage ipv6.disable=1 overlay progress

    But I receive a file not found,
    if I try with http://10.0.1.50/boot/libreelec/kernel in a browser, it download the KERNEL so my link is good.

    What's Wrong ?

  • In the URL the "http://" is missing. Please use a pastebin site in the future when posting config files.


    Are there any errors in your http server log files?

    As last resort use Wireshark on your server to see what is going wrong.