XCP-ng (XEN) EFI PXE



  • I know this is going to be a long shot but has anyone PXE booted successfully in XCP-ng using EFI boot? I get the FOS menu to come up but after I select any option i get the init loading then a black screen. Monitoring in Xcp center shows nothing is happening (no processing or network traffic).

    EDIT

    As a note booting with BIOS enabled in Xen works fine but I am trying to use it to create base images for EFI machines that will be running in EFI. I used to do this in VirtualBox by switching back and forth between EFI and BIOS when capturing images, but I would like to do this work off my laptop and central so I don’t have to be tied to a location to do the work.


  • Developer

    @astrugatch Check gut George’s great tutorial here: https://forums.fogproject.org/post/69605

    Make sure you use the “Part 2b” stuff for UEFI.



  • @george1421

    It can boot iso images. So I guess this would be a pretty good route to take. Is there a guide for making a bootable usb/cd in the wiki?


  • Moderator

    @astrugatch If you can’t get pxe / ipxe to load the fos engine correctly, can you get XCP-ng to boot from a virtual floppy/usb image file? The alternative is to see if I can make a cdrom bootable iso image. But with uefi as long as the disk contains the uefi boot files it should work.

    What I’m getting at is fir physical machines that can’t boot using pxe we have a method to boot into FOS Linux directly from a usb stick (image file). That may work here.



  • @Sebastian-Roth

    How do I see my current kernel version?

    bzImage Version: 4.19.48
    bzImage32 Version: 4.19.48


  • Developer

    @astrugatch Sounds like you got beyond PXE booting already. Well depending on how one might define PXE really. What I read sounds like iPXE loads correctly but the chainloaded Linux kernel seems to hang. Which kernel version is this? Have you tried different ones?


Log in to reply
 

351
Online

6.2k
Users

13.6k
Topics

128.1k
Posts