• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

VM won't boot from PXE on proxmox

Scheduled Pinned Locked Moved
General Problems
2
12
4.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    JJ Fullmer Testers @ordinatous
    last edited by Mar 30, 2023, 1:37 PM

    @ordinatous Is it just freezing after that last screenshot you added? It looks correct up to that point. Are you able to boot to the fog menu from a physical device?

    Have you tried the FogApi powershell module? It's pretty cool IMHO
    https://github.com/darksidemilk/FogApi
    https://fogapi.readthedocs.io/en/latest/
    https://www.powershellgallery.com/packages/FogApi
    https://forums.fogproject.org/topic/12026/powershell-api-module

    1 Reply Last reply Reply Quote 0
    • O
      ordinatous @JJ Fullmer
      last edited by Mar 30, 2023, 1:48 PM

      @JJ-Fullmer Hi,
      no I didn’t yet .
      If I try , I’ve the same result.
      2023-03-30_15-46_1.png

      J 1 Reply Last reply Mar 30, 2023, 1:53 PM Reply Quote 0
      • J
        JJ Fullmer Testers @ordinatous
        last edited by Mar 30, 2023, 1:53 PM

        @ordinatous For using ipxe.efi you need to change the VM settings to use uefi instead of bios/legacy mode. I’m not familiar with proxmox but I found this related guide https://blog.hadenes.io/post/convert-a-proxmox-windows-guest-from-bios-to-uefi/#:~:text=Open the Proxmox web interface and navigate to,if you plan to upgrade to Windows 11)
        It’s not all relevant as it starts with how to convert the windows install (if you already installed windows in bios mode, I would suggest redoing it in uefi mode unless all your hardware can only use bios mode). But this bit is how to change to uefi mode.

        Open the Proxmox web interface and navigate to the options for the guest machine.
        Add a new “EFI disk” to the guest machine, making sure to enable the “Pre-Enrolled-Keys” option.
        Add a new “TPM” device to the guest machine. (only necessary if you plan to upgrade to Windows 11)
        Change the “BIOS” option from “SeaBIOS” to “OVMF”.

        Have you tried the FogApi powershell module? It's pretty cool IMHO
        https://github.com/darksidemilk/FogApi
        https://fogapi.readthedocs.io/en/latest/
        https://www.powershellgallery.com/packages/FogApi
        https://forums.fogproject.org/topic/12026/powershell-api-module

        1 Reply Last reply Reply Quote 0
        • O
          ordinatous @JJ Fullmer
          last edited by Mar 30, 2023, 1:59 PM

          @JJ-Fullmer
          That what I done
          2023-03-30_15-46.png

          1 Reply Last reply Reply Quote 0
          • O
            ordinatous @JJ Fullmer
            last edited by Mar 31, 2023, 11:22 AM

            @JJ-Fullmer
            I’ve tested Salstar ipxe.kpxe from http://boot.salstar.sk/ .

            And I had a menu list .
            So that mean the files I’ve tested yesterday doesn’t point at the good place .
            I normally have acces to the FOG menu list.

            J 1 Reply Last reply Mar 31, 2023, 12:41 PM Reply Quote 0
            • J
              JJ Fullmer Testers @ordinatous
              last edited by Mar 31, 2023, 12:41 PM

              @ordinatous You mentioned you have the fog server on esxi. Is putting your image vm on esxi an option? That’s where I keep mine and it works rather well. I just keep it turned off when it’s not being configured and captured.

              Have you tried the FogApi powershell module? It's pretty cool IMHO
              https://github.com/darksidemilk/FogApi
              https://fogapi.readthedocs.io/en/latest/
              https://www.powershellgallery.com/packages/FogApi
              https://forums.fogproject.org/topic/12026/powershell-api-module

              O 1 Reply Last reply Mar 31, 2023, 2:42 PM Reply Quote 0
              • O
                ordinatous @JJ Fullmer
                last edited by Mar 31, 2023, 2:15 PM

                @JJ-Fullmer
                I finally understoud my mistake.
                I didn’t used the good files . I found the good one in another directory.

                Now the file is pointing to the server at default.ipxe .
                And it seems that I don’t have this one .
                2023-03-31_16-11.png

                1 Reply Last reply Reply Quote 0
                • O
                  ordinatous @JJ Fullmer
                  last edited by Mar 31, 2023, 2:42 PM

                  @JJ-Fullmer
                  Yes FOG on esxi , but I’m sure it’s not the problem.

                  On my server I don’t have /tftboot directory but /srv/tftp .

                  In /srv/tftp I’ve my ipxe.kkpxe and default.ipxe
                  2023-03-31_16-30.png

                  J 2 Replies Last reply Mar 31, 2023, 3:39 PM Reply Quote 0
                  • J
                    JJ Fullmer Testers @ordinatous
                    last edited by Mar 31, 2023, 3:39 PM

                    @ordinatous The fog installer handles compiling the ipxe binaries and putting them in the /tftpboot folder and serving them. You may have an additional tftp server or service configured if you also have this /srv/tftp folder and it may be conflicting with the FOG system.
                    @Sebastian-Roth or @george1421 might be able to help a bit more on how to get around an extra tftp server/service running. It’s a bit confusing here as it looks like you do have the fog /tftpboot files in what file is downloaded by the pxe boot.

                    Also are you saying in that last post that it did get to the fog menu?

                    I also just noticed you’re on a slightly older version of FOG. I would suggest rerunning the installer. i.e. if you used the git version (it appears you did based on the version 1.5.9.154 which is a dev branch version) you just cd to where you cloned it (typically /root/fogproject) and you run this on the fog server to update to the latest dev-branch version

                    # cd to where the git repo was cloned
                    cd /root/fogproject
                    #update all branches
                    git fetch --all
                    #switch to dev-branch
                    git checkout dev-branch
                    #run a git pull for good measure
                    git pull
                    # run the installer
                    sudo -i
                    cd bin
                    ./installfog.sh
                    

                    see also https://docs.fogproject.org/en/latest/installation/install-fog-server/

                    The installer will recompile the latest ipxe files and put them in /tftpboot and you give it another go

                    Have you tried the FogApi powershell module? It's pretty cool IMHO
                    https://github.com/darksidemilk/FogApi
                    https://fogapi.readthedocs.io/en/latest/
                    https://www.powershellgallery.com/packages/FogApi
                    https://forums.fogproject.org/topic/12026/powershell-api-module

                    1 Reply Last reply Reply Quote 0
                    • J
                      JJ Fullmer Testers @ordinatous
                      last edited by Mar 31, 2023, 6:14 PM

                      @ordinatous said in VM won’t boot from PXE on proxmox:

                      @JJ-Fullmer
                      Yes FOG on esxi , but I’m sure it’s not the problem.

                      I’m not saying it’s a problem, it’s a great way to host your fog server. I was suggesting making your VM to capture from on esxi instead of proxmox.

                      Have you tried the FogApi powershell module? It's pretty cool IMHO
                      https://github.com/darksidemilk/FogApi
                      https://fogapi.readthedocs.io/en/latest/
                      https://www.powershellgallery.com/packages/FogApi
                      https://forums.fogproject.org/topic/12026/powershell-api-module

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        12/12
                        Last post

                      210

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project