PXE Boot Proxmox












0














I followed this guide to set up a PXE server on an ubuntu VM. Instead of the DHCP server on that same server though, I just configured OPNSense to use that server.



I made the boot image using this script and put the initrd.img and linux26 file in /var/www/boot/proxmox.



I have an apache webserver with the root at /var/www. The tftp server is set to root /var/lib/tftpboot. I copied the proxmox directory (containing initrd.img and linux26) into both /var/www and /var/lib/tftpboot.



I have OPNSense to use pxelinux.cfg/default as the default bios filename (located in /var/lib/tftpboot/pxelinux.cfg/default).



But when I try to use another VM to boot using the server, it gets to the point where it gets a DHCP lease, shows me the network info, then doesn't do anything.



VM failed to boot



Contents of pxelinux.cfg/default: (I confirmed that the files listed here are accessible).



UI http://10.0.5.0/boot/menu.c32
PROMPT 0
DEFAULT Proxmox


MENU TITLE ..:: My PXE Menu ::..
MENU CLEAR


LABEL Proxmox
MENU LABEL Proxmox
LINUX http://10.0.5.0/boot/proxmox/linux26
APPEND vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216
INITRD http://10.0.5.0/boot/proxmox/initrd.iso.img splash=verbose

LABEL Proxmox2
MENU LABEL Proxmox2
LINUX proxmox/linux26
APPEND vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216
INITRD proxmox/initrd.iso.img splash=verbose


How can I get past this point?










share|improve this question





























    0














    I followed this guide to set up a PXE server on an ubuntu VM. Instead of the DHCP server on that same server though, I just configured OPNSense to use that server.



    I made the boot image using this script and put the initrd.img and linux26 file in /var/www/boot/proxmox.



    I have an apache webserver with the root at /var/www. The tftp server is set to root /var/lib/tftpboot. I copied the proxmox directory (containing initrd.img and linux26) into both /var/www and /var/lib/tftpboot.



    I have OPNSense to use pxelinux.cfg/default as the default bios filename (located in /var/lib/tftpboot/pxelinux.cfg/default).



    But when I try to use another VM to boot using the server, it gets to the point where it gets a DHCP lease, shows me the network info, then doesn't do anything.



    VM failed to boot



    Contents of pxelinux.cfg/default: (I confirmed that the files listed here are accessible).



    UI http://10.0.5.0/boot/menu.c32
    PROMPT 0
    DEFAULT Proxmox


    MENU TITLE ..:: My PXE Menu ::..
    MENU CLEAR


    LABEL Proxmox
    MENU LABEL Proxmox
    LINUX http://10.0.5.0/boot/proxmox/linux26
    APPEND vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216
    INITRD http://10.0.5.0/boot/proxmox/initrd.iso.img splash=verbose

    LABEL Proxmox2
    MENU LABEL Proxmox2
    LINUX proxmox/linux26
    APPEND vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216
    INITRD proxmox/initrd.iso.img splash=verbose


    How can I get past this point?










    share|improve this question



























      0












      0








      0







      I followed this guide to set up a PXE server on an ubuntu VM. Instead of the DHCP server on that same server though, I just configured OPNSense to use that server.



      I made the boot image using this script and put the initrd.img and linux26 file in /var/www/boot/proxmox.



      I have an apache webserver with the root at /var/www. The tftp server is set to root /var/lib/tftpboot. I copied the proxmox directory (containing initrd.img and linux26) into both /var/www and /var/lib/tftpboot.



      I have OPNSense to use pxelinux.cfg/default as the default bios filename (located in /var/lib/tftpboot/pxelinux.cfg/default).



      But when I try to use another VM to boot using the server, it gets to the point where it gets a DHCP lease, shows me the network info, then doesn't do anything.



      VM failed to boot



      Contents of pxelinux.cfg/default: (I confirmed that the files listed here are accessible).



      UI http://10.0.5.0/boot/menu.c32
      PROMPT 0
      DEFAULT Proxmox


      MENU TITLE ..:: My PXE Menu ::..
      MENU CLEAR


      LABEL Proxmox
      MENU LABEL Proxmox
      LINUX http://10.0.5.0/boot/proxmox/linux26
      APPEND vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216
      INITRD http://10.0.5.0/boot/proxmox/initrd.iso.img splash=verbose

      LABEL Proxmox2
      MENU LABEL Proxmox2
      LINUX proxmox/linux26
      APPEND vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216
      INITRD proxmox/initrd.iso.img splash=verbose


      How can I get past this point?










      share|improve this question















      I followed this guide to set up a PXE server on an ubuntu VM. Instead of the DHCP server on that same server though, I just configured OPNSense to use that server.



      I made the boot image using this script and put the initrd.img and linux26 file in /var/www/boot/proxmox.



      I have an apache webserver with the root at /var/www. The tftp server is set to root /var/lib/tftpboot. I copied the proxmox directory (containing initrd.img and linux26) into both /var/www and /var/lib/tftpboot.



      I have OPNSense to use pxelinux.cfg/default as the default bios filename (located in /var/lib/tftpboot/pxelinux.cfg/default).



      But when I try to use another VM to boot using the server, it gets to the point where it gets a DHCP lease, shows me the network info, then doesn't do anything.



      VM failed to boot



      Contents of pxelinux.cfg/default: (I confirmed that the files listed here are accessible).



      UI http://10.0.5.0/boot/menu.c32
      PROMPT 0
      DEFAULT Proxmox


      MENU TITLE ..:: My PXE Menu ::..
      MENU CLEAR


      LABEL Proxmox
      MENU LABEL Proxmox
      LINUX http://10.0.5.0/boot/proxmox/linux26
      APPEND vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216
      INITRD http://10.0.5.0/boot/proxmox/initrd.iso.img splash=verbose

      LABEL Proxmox2
      MENU LABEL Proxmox2
      LINUX proxmox/linux26
      APPEND vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216
      INITRD proxmox/initrd.iso.img splash=verbose


      How can I get past this point?







      linux boot pxe






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 6 at 0:21

























      asked Dec 6 at 0:07









      cclloyd

      1068




      1068



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1381182%2fpxe-boot-proxmox%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1381182%2fpxe-boot-proxmox%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Plaza Victoria

          Puebla de Zaragoza

          Musa