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

    Hyper-V Virtual Machine (gen 1) hangs with "Booting from SAN device 0x80"

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    5
    23
    6.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.
    • S
      sgwk
      last edited by

      Server
      • FOG Version: 1.4.4
      • OS: ubuntu 16.04 LTS
      Client
      • Service Version:
      • OS:
      Description

      I have a FOG image that has been deployed ~5 times to physical PCs successfully, BIOS ones.
      I created a new vm in hyper-v and set it to network boot and create. After the FOG image deploys and the vm reboots, I get “Booting from SAN device 0x80”. The host is registered in FOG and I changed the Exit Types to “Exit” and the various "GRUB"s but Windows 10 on the vm still does not boot - I get a blinking cursor or “starting cmain()”, “chainloading failed…”, iPXE>, grub>, etc. I also changed these Exit Types globally in the iPXE Boot Menu. When I iPXE boot and look at Client System Information, I see the 3 partitions, as on the physical PCs, and another one. I know the guys at PDQ were talking about FOG deploying images to VMs, but I do not know if they were using Hyper-V.

      Thanks,

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @sgwk
        last edited by

        @sgwk If I had this issue, I’d reinstall the OS on the VM from vanilla ISO, and then see if it can netowork boot via FOG and then sent to the HDD to boot the OS via the fog menu.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        S 2 Replies Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @sgwk Please search the forums for “Booting from SAN device 0x80”. There are a lot of posts about this. Try different exit styles for this host. See in the other posts.

          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

          S 1 Reply Last reply Reply Quote 2
          • S
            sgwk @Sebastian Roth
            last edited by

            @sebastian-roth I did this before posting. I even tried every GRUB Exit Type.

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @sgwk I am absolutely sure you don’t get the same error message for all the different exit style settings. Please try each and every exit style again, take a picture and post here which is causing what error.

              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

              S 1 Reply Last reply Reply Quote 1
              • S
                sgwk @Sebastian Roth
                last edited by

                @sebastian-roth but I listed the “messages” I got on my post “…I get a blinking cursor or “starting cmain()”, “chainloading failed…”, iPXE>, grub>, etc.”

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  Is this “new vm in hyper-v” setup as Generation 2? Is it defined to boot in UEFI mode?

                  Have you tried rEFInd?

                  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

                  S 1 Reply Last reply Reply Quote 1
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    Are you changing exit types on the host, or global? If a host has a defined exit type, it will supersede what the global value is (cascading down if that makes sense.)

                    This still, really, feels like a UEFI based system though. Windows 10 is typically deployed this way and for that I think this is why you “just see the blinking cursor” or “starting cmain()” for grub. It isn’t that grub or the exit types aren’t working, rather this really seems that the exit type isn’t exiting and releasing to the proper mode the device is expecting to boot into.

                    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

                    S 1 Reply Last reply Reply Quote 2
                    • S
                      sgwk @Tom Elliott
                      last edited by

                      @tom-elliott It is gen 1. I tried Refind_efi and it did not work.

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • S
                        sgwk @Tom Elliott
                        last edited by

                        @tom-elliott First, I changed the Exit Types globally in the iPXE boot menu. Now, I am changing them on the Host. Thanks,

                        1 Reply Last reply Reply Quote 0
                        • S
                          sgwk @Wayne Workman
                          last edited by

                          @wayne-workman I’m trying this, now.

                          1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @sgwk
                            last edited by

                            @sgwk said in Hyper-V Virtual Machine (gen 1) hangs with "Booting from SAN device 0x80":

                            @tom-elliott It is gen 1. I tried Refind_efi and it did not work.

                            Sometimes the basics need addressed. So, there’s two exit type options per host. One for legacy/BIOS mode and one for uEFI.

                            If your changing the bios one only, but the VM is factually uEFI, then no change will appear to happen. Because fog directs uEFI machines to use the uEFI setting.

                            So please check this too.

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sgwk @Wayne Workman
                              last edited by

                              @wayne-workman I am changing the Exit Type for BIOS and UEFI.

                              george1421G 1 Reply Last reply Reply Quote 0
                              • george1421G
                                george1421 Moderator @sgwk
                                last edited by

                                @sgwk So do you have success or no joy after you made the change?

                                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!

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  sgwk @Wayne Workman
                                  last edited by

                                  @wayne-workman

                                  I did your suggestion “If I had this issue, I’d reinstall the OS on the VM from vanilla ISO, and then see if it can netowork boot via FOG and then sent to the HDD to boot the OS via the fog menu.”

                                  This VM will boot from the FOG menu if the BIOS Exit Type is set to boot grub_first_hdd. It will boot to Windows if the BIOS is set to boot from IDE first.

                                  However, my original VM created from a FOG captured image gives “Launching GRUB… begin pxe scan… Starting cmain()…” when the Exit Types for BIOS and EFI are set to grub_first_hdd. Also, if I set the BIOS to boot from the IDE first, I just get a blinking underscore (cursor).

                                  I’m not sure where this leaves me since the ISO is a trial from Microsoft and the PCs from the vendor do not come with the ISO.

                                  Thanks,

                                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                  • S
                                    sgwk @george1421
                                    last edited by

                                    @george1421 no joy yet

                                    george1421G 1 Reply Last reply Reply Quote 0
                                    • george1421G
                                      george1421 Moderator @sgwk
                                      last edited by

                                      @sgwk So if you remove the nic from the network boot order does it boot correctly?

                                      Since this is a gen 1 VM, what host OS are you using for this VM? Is that up to date? I assume that since it is a gen1 then bios mode is the only option? (sorry I’m a vmware guy).

                                      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
                                      • Wayne WorkmanW
                                        Wayne Workman @sgwk
                                        last edited by

                                        @sgwk said in Hyper-V Virtual Machine (gen 1) hangs with "Booting from SAN device 0x80":

                                        This VM will boot from the FOG menu if the BIOS Exit Type is set to boot grub_first_hdd.

                                        This is much different than what was happening before - so the problem is (was?) with the image. Just build a new image then.

                                        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!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          sgwk @Wayne Workman
                                          last edited by

                                          Thanks for all the suggestions. I will have to move this to the back burner and concentrate on physical PCs, now.

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Sebastian Roth Moderator
                                            last edited by

                                            @sgwk Will you have time to tackle this issue with us again or should be just close it?

                                            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

                                            S 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            216

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project