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 ().

  • mglae : Thanks! So you mean to put all Libreelec files (system and kernel) and also the syslinux.efi file on a webserver? What about DHCP options? Thanks again.

  • Syslinux itself always has to be loaded via PXE using DHCP/TFTP.


    Adding the TFTPD root directory to the web server and using HTTP transfers gives a large speed improvement even for legacy boot.

  • 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

    HTPC 1 : ASUS E35M1-I DELUXE AMD E350 - ISK 310-150 - LE 8.2.5 + TVHEADEND (PXE NFS)
    HTPC 2 : ASUS AT3N7A-I ATOM N330 ION - ISK 300-150 - LE 8.2.5 (PXE NFS)
    HTPC 3 : ASROCK J4105-ITX - ISK 300-150 - LE 8.9.009 (UEFI PXE NFS)
    HTPC 4 : Raspberry PI2 - LE 8.2.5

  • 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

    HTPC 1 : ASUS E35M1-I DELUXE AMD E350 - ISK 310-150 - LE 8.2.5 + TVHEADEND (PXE NFS)
    HTPC 2 : ASUS AT3N7A-I ATOM N330 ION - ISK 300-150 - LE 8.2.5 (PXE NFS)
    HTPC 3 : ASROCK J4105-ITX - ISK 300-150 - LE 8.9.009 (UEFI PXE NFS)
    HTPC 4 : Raspberry PI2 - LE 8.2.5

  • Thanks for your answer

    I've find this how-to in french PXE BIOS ET UEFI AVEC PFSENSE

    I do not know why but in comparison with my old motherboard that worked in PXE Legacy.

    The loading of KERNEL 8.90.009 is really very long more than 1 minute.

    I use syslinux 6.03 would the performance be better with the 6.04?

    HTPC 1 : ASUS E35M1-I DELUXE AMD E350 - ISK 310-150 - LE 8.2.5 + TVHEADEND (PXE NFS)
    HTPC 2 : ASUS AT3N7A-I ATOM N330 ION - ISK 300-150 - LE 8.2.5 (PXE NFS)
    HTPC 3 : ASROCK J4105-ITX - ISK 300-150 - LE 8.9.009 (UEFI PXE NFS)
    HTPC 4 : Raspberry PI2 - LE 8.2.5

  • 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 ?

    HTPC 1 : ASUS E35M1-I DELUXE AMD E350 - ISK 310-150 - LE 8.2.5 + TVHEADEND (PXE NFS)
    HTPC 2 : ASUS AT3N7A-I ATOM N330 ION - ISK 300-150 - LE 8.2.5 (PXE NFS)
    HTPC 3 : ASROCK J4105-ITX - ISK 300-150 - LE 8.9.009 (UEFI PXE NFS)
    HTPC 4 : Raspberry PI2 - LE 8.2.5

  • Just a thought: URLs are case sensitive. Did you rename "KERNEL" to "kernel"?

    If you look to the url, KERNEL is in uppercase and yes it's the same case in the file and in the folder.

    HTPC 1 : ASUS E35M1-I DELUXE AMD E350 - ISK 310-150 - LE 8.2.5 + TVHEADEND (PXE NFS)
    HTPC 2 : ASUS AT3N7A-I ATOM N330 ION - ISK 300-150 - LE 8.2.5 (PXE NFS)
    HTPC 3 : ASROCK J4105-ITX - ISK 300-150 - LE 8.9.009 (UEFI PXE NFS)
    HTPC 4 : Raspberry PI2 - LE 8.2.5

  • 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.