Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: PXE Boot in UEFI mode

  1. #1
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    60

    Default PXE Boot in UEFI mode

    I have a nice PXE boot Server running under a openSuSE 13.10.
    Unfortunately this only serves clients to boot in BIOS mode.

    Does anybody know how to Setup a PXE Server that offers a boot in (U)EFI mode?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,757

    Default Re: PXE Boot in UEFI mode

    Quote Originally Posted by Suworow View Post
    ... openSuSE 13.10.
    You probably mean openSUSE 13.1?
    Henk van Velden

  3. #3
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    60

    Default Re: PXE Boot in UEFI mode

    Quote Originally Posted by hcvv View Post
    You probably mean openSUSE 13.1?
    Of course. Though 13.1 and 13.10 should be identical along mathematical rules?

  4. #4
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,012

    Default Re: PXE Boot in UEFI mode

    Instead of feeding the clients pxelinux.0 (bios) you can feed them bootx64.efi which you can find in repo/oss/EFI/BOOT/
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  5. #5
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    60

    Default Re: PXE Boot in UEFI mode

    Actually that is what I have tried.
    I have used the bootx64.efi from the openSuSE install DVD.
    I have put bootx64.efi into the tftpboot directory (exactly the one where pxelinux.0 is located).

    tcpdump shows me:

    17:42:12.250080 IP (tos 0x0, ttl 64, id 62592, offset 0, flags [none], proto UDP (17), length 69)
    fritzvm-suse.fhotz.de.tn-tl-fd2 > fhserver.tftp: 41 RRQ "bootx64.efi" octet tsize 0 blksize 1468
    17:42:12.259013 IP (tos 0x0, ttl 64, id 62594, offset 0, flags [none], proto UDP (17), length 61)
    fritzvm-suse.fhotz.de.intv > fhserver.tftp: 33 RRQ "bootx64.efi" octet blksize 1468
    17:42:14.507763 IP (tos 0x0, ttl 64, id 63538, offset 0, flags [none], proto UDP (17), length 62)
    fritzvm-suse.fhotz.de.ibm-abtact > fhserver.tftp: 34 RRQ "/grubx64.efi(" octet blksize 512
    17:42:14.513600 IP (tos 0x0, ttl 64, id 63539, offset 0, flags [none], proto UDP (17), length 62)
    fritzvm-suse.fhotz.de.pra-elmd > fhserver.tftp: 34 RRQ "/grubx64.efi(" octet blksize 512

    before the client falls back into ist boot menu.

    Seems I did not quite get the concept yet....

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,815
    Blog Entries
    15

    Default Re: PXE Boot in UEFI mode

    Hi
    Whilst RH centric, does this help?
    https://access.redhat.com/site/docum...onfig-efi.html
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    60

    Default Re: PXE Boot in UEFI mode

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Whilst RH centric, does this help?
    https://access.redhat.com/site/docum...onfig-efi.html
    Sorry, but this does not help.
    As you might see from the tcpdump, there is no RRQ for the efidefault file.

  8. #8
    Join Date
    Sep 2012
    Posts
    5,317

    Default Re: PXE Boot in UEFI mode

    Quote Originally Posted by Suworow View Post
    Code:
    17:42:12.250080 IP (tos 0x0, ttl 64, id 62592, offset 0, flags [none], proto UDP (17), length 69)
        fritzvm-suse.fhotz.de.tn-tl-fd2 > fhserver.tftp:  41 RRQ "bootx64.efi" octet tsize 0 blksize 1468
    17:42:12.259013 IP (tos 0x0, ttl 64, id 62594, offset 0, flags [none], proto UDP (17), length 61)
        fritzvm-suse.fhotz.de.intv > fhserver.tftp:  33 RRQ "bootx64.efi" octet blksize 1468
    17:42:14.507763 IP (tos 0x0, ttl 64, id 63538, offset 0, flags [none], proto UDP (17), length 62)
        fritzvm-suse.fhotz.de.ibm-abtact > fhserver.tftp:  34 RRQ "/grubx64.efi(" octet blksize 512
    17:42:14.513600 IP (tos 0x0, ttl 64, id 63539, offset 0, flags [none], proto UDP (17), length 62)
        fritzvm-suse.fhotz.de.pra-elmd > fhserver.tftp:  34 RRQ "/grubx64.efi(" octet blksize 512
    bootx64.efi is probably secure boot shim. Try grub.efi from the same directory directly.

  9. #9
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    60

    Default Re: PXE Boot in UEFI mode

    Quote Originally Posted by arvidjaar View Post
    bootx64.efi is probably secure boot shim. Try grub.efi from the same directory directly.
    THANK YOU!
    It works. It Shows me the GRUB prompt: grub>

    How do I tell grub to proceed then?

    With pxelinux.0, there is a file in pxelinux.cfg/...

    How to pass this to grub?

    LABEL openSuSE 13.1 Installer
    MENU LABEL openSuSE 13.10 Installer
    KERNEL /openSuSE/13.1.64/linux
    APPEND initrd=/openSuSE/13.1.64/initrd splash=silent showopts install=nfs://fhserver.fhotz.de/data/nfs/openSuSE/13.1.64/

  10. #10
    Join Date
    Sep 2012
    Posts
    5,317

    Default Re: PXE Boot in UEFI mode

    Quote Originally Posted by Suworow View Post
    It Shows me the GRUB prompt: grub>

    How do I tell grub to proceed then?
    I think that you have to put grub.cfg in the same directory as grub.efi. Does grub.efi request grub.cfg from TFTP server?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •