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

FOG UEFI Boot Hyper-V 2016

Scheduled Pinned Locked Moved Solved
General Problems
uefi hyper-v
6
33
13.0k
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.
  • T
    ty900000
    last edited by May 5, 2017, 3:15 PM

    Hello all!

    FOG Server version: 1.4.0-RC-9.3
    Linux version: CentOS 7

    I am attempting to image a Generation 2 Hyper-V VM with FOG over UEFI boot. I know Generation 1 with legacy boot works , but I really want to get migrate everything to Generation 2. I have followed the guide on: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence and the PXE boot is now picking up the ipxe.efi file as the correct configuration file. However, it still throws an error and claims there was a “server timeout.” Has anyone had any luck with this? Or does anyone have any ideas about what I can try next?

    Thanks all!!!

    0_1493997397380_FOG PXE.PNG

    1 Reply Last reply Reply Quote 0
    • P
      Psycholiquid Testers
      last edited by May 5, 2017, 3:17 PM

      Try a different boot file for some hardware I had to use ipxe7156.efi

      1 Reply Last reply Reply Quote 0
      • G
        george1421 Moderator
        last edited by george1421 May 5, 2017, 9:20 AM May 5, 2017, 3:17 PM

        Can you provide a screen shot of the actual error?

        Also on the wiki pay attention to the Note in the wiki, because there are different flavors of uefi.

         Type   Architecture Name
                   ----   -----------------
                     0    Intel x86PC
                     1    NEC/PC98
                    > 2    EFI Itanium
                     3    DEC Alpha
                     4    Arc x86
                     5    Intel Lean Client
                     >6    EFI IA32
                     >7    EFI BC (EFI Byte Code)
                     8    EFI Xscale
                     >9    EFI x86-64
        

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        T 1 Reply Last reply May 5, 2017, 3:21 PM Reply Quote 0
        • T
          ty900000 @george1421
          last edited by May 5, 2017, 3:21 PM

          @george1421

          0_1493997654084_FOG PXE fail.PNG

          @Psycholiquid

          I changed it to ipxe7156.efi and DHCP pointed to the right file. But, it timed out again. Same error as above.

          G 1 Reply Last reply May 5, 2017, 3:22 PM Reply Quote 0
          • G
            george1421 Moderator @ty900000
            last edited by george1421 May 5, 2017, 9:23 AM May 5, 2017, 3:22 PM

            @ty900000 If you have time to debug this we can tell you what is going sideways.

            Follow the steps here to get a pcap and post it here for review: https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue

            Also note I was appending to my previous post when you write yours.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            T 2 Replies Last reply May 5, 2017, 3:23 PM Reply Quote 0
            • T
              ty900000 @george1421
              last edited by May 5, 2017, 3:23 PM

              @george1421

              Yeah, I got some time. Thanks!!

              I tried 00002, 00006, 00008, 00007, 00009 and made the appropriate .efi file change in DHCP. The only one that picked up the proper .efi file was the 00007. If that makes sense.

              1 Reply Last reply Reply Quote 0
              • T
                ty900000 @george1421
                last edited by May 5, 2017, 3:29 PM

                @george1421

                0_1493998262034_output.pcap

                Is this okay?

                G 2 Replies Last reply May 5, 2017, 3:35 PM Reply Quote 0
                • G
                  george1421 Moderator @ty900000
                  last edited by george1421 May 5, 2017, 9:42 AM May 5, 2017, 3:35 PM

                  @ty900000 looking at it now…

                  Client is arch 7 EFI:BC

                  dhcp server 192.168.160.5 responds with:
                  next server - 192.168.160.90
                  boot file - ipxe7156.efi
                  your IP - 192.168.160.234
                  tftp server - 192.168.160.90

                  after normal dhcp handshake then client pulls file size
                  ipxe7156.efi from tftp server 192.168.160.90

                  Then requests ipxe7156.efi from tftp server.

                  What I see strange is that the client only asked for the first block of 1482 bytes. Then in at least what is in the capture it never asks for any more. I think the ipxe.efi file is a bit more than 1482 bytes.

                  Minus the last bit this should be a fully functional and correct dhcp/pxe booting process.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                  1 Reply Last reply Reply Quote 0
                  • G
                    george1421 Moderator @ty900000
                    last edited by May 5, 2017, 3:43 PM

                    @ty900000 Since I’m ignorant of hyper-v is there such a thing as secure boot? And it is turned off??

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                    T 1 Reply Last reply May 5, 2017, 3:44 PM Reply Quote 0
                    • T
                      ty900000 @george1421
                      last edited by May 5, 2017, 3:44 PM

                      @george1421

                      Thanks for looking at it. Yeah, I disabled Secure Boot before I even booted the server the first time.

                      X G 2 Replies Last reply May 5, 2017, 3:46 PM Reply Quote 0
                      • X
                        x23piracy @ty900000
                        last edited by x23piracy May 5, 2017, 9:47 AM May 5, 2017, 3:46 PM

                        @ty900000 Secure boot must be off in the moment you boot via EFI to PXE. Or what do you mean with “first time”?

                        ║▌║█║▌│║▌║▌█

                        1 Reply Last reply Reply Quote 0
                        • G
                          george1421 Moderator @ty900000
                          last edited by May 5, 2017, 3:47 PM

                          @ty900000 I’m still searching to see if someone else is able to pxe boot iPXE on gen2 hyper-v

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                          T 1 Reply Last reply May 5, 2017, 3:48 PM Reply Quote 0
                          • T
                            ty900000 @george1421
                            last edited by May 5, 2017, 3:48 PM

                            @george1421

                            Cool. Thank you. I appreciate it a lot.

                            @x23piracy

                            Before I even boot a server, I change a bunch of settings: add more processors, change checkpoint type, disable secure boot, etc. before I click Start… in Hyper-V.

                            X 1 Reply Last reply May 5, 2017, 3:50 PM Reply Quote 0
                            • X
                              x23piracy @ty900000
                              last edited by x23piracy May 5, 2017, 9:53 AM May 5, 2017, 3:50 PM

                              @ty900000 it sounds like network isn’t working for you, maybe you need another kernel @george1421?
                              Is this your post? https://community.spiceworks.com/topic/1957582-pxe-problem-hyper-v-2016-with-gen2-
                              vm-uefi-boot

                              It seems your problem is known and unsolved
                              https://forums.fogproject.org/topic/8843/pxe-booting-hyper-v-2016

                              ║▌║█║▌│║▌║▌█

                              T 1 Reply Last reply May 5, 2017, 3:55 PM Reply Quote 0
                              • T
                                ty900000 @x23piracy
                                last edited by May 5, 2017, 3:55 PM

                                @x23piracy

                                No, neither of those posts is mine. For the Spiceworks post, I am getting a DHCP address pulled in. And for the Fog Forum post, I am using a Gen 2 machine, not a Gen 1. I can boot a Gen 1 machine via PXE, but would like to make a Gen 2 machine.

                                Tom ElliottT sudburrS 2 Replies Last reply May 5, 2017, 4:19 PM Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @ty900000
                                  last edited by May 5, 2017, 4:19 PM

                                  @ty900000 So you cannot legacy pxe boot on the Gen 2 machine?

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  G 1 Reply Last reply May 5, 2017, 4:24 PM Reply Quote 0
                                  • P
                                    Psycholiquid Testers
                                    last edited by May 5, 2017, 4:21 PM

                                    @ty900000 Does it have an option for a different type of network card as in VMWare there is E1000 and VMX

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      george1421 Moderator @Tom Elliott
                                      last edited by May 5, 2017, 4:24 PM

                                      @Tom-Elliott So far what I found is that gen 2 is uefi only system.

                                      I was thinking about seeing if we can get ipxe.efi to boot from an iso image to see if its a cruddy uefi network firmware issue or something else. I’m taking a break for lunch but will dig into it later.

                                      I don’t have any experience with hyper-v so I can’t test it in my lab at all.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        Psycholiquid Testers
                                        last edited by May 5, 2017, 4:34 PM

                                        I will setup a Hyper-V lab this Saturday. If there is no answer I can let you know on Monday

                                        T 1 Reply Last reply May 5, 2017, 5:34 PM Reply Quote 1
                                        • T
                                          ty900000 @Psycholiquid
                                          last edited by May 5, 2017, 5:34 PM

                                          @Psycholiquid @george1421

                                          Thank you both for the help! Let me know if there is anything else you need from me for debugging/verification.

                                          G 1 Reply Last reply May 5, 2017, 5:37 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            3/33
                                            Last post

                                          139

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project