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

    How to get Virtualbox booting over PXE while EFI is enabled?

    Scheduled Pinned Locked Moved
    General Problems
    4
    22
    27.9k
    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.
    • x23piracyX
      x23piracy
      last edited by x23piracy

      Hi,

      who knows howto setup a virtualbox vm with efi enabled to boot from network?
      I only can enter into a pxe shell and i am not used with it.

      i have a working UEFI PXE Boot with any normal Computer but howto get Network booting enabled after enabling EFI in Virtualbox?
      When i set a VM EFI enabled and Boot device to Network it always just boots into a PXE Shell.

      alt text

      alt text

      When i Press F12 while booting to get into the boot menu i cannot see a network device to boot from:

      alt text

      When trying to add that boot option i just get an empty window:

      alt text

      alt text

      Howto tell the machine to boot from network?

      Any ideas?

      Regards X23

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

      1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator
        last edited by Quazz

        Virtualbox can’t UEFI network boot.

        What I do in Virtualbox for my UEFI images is to start it in UEFI, prepare the image, shut down, schedule capture, boot in legacy and capture it.

        x23piracyX 1 Reply Last reply Reply Quote 0
        • x23piracyX
          x23piracy @Quazz
          last edited by x23piracy

          @Quazz said in How to get Virtualbox booting over PXE while EFI is enabled?:

          Virtualbox can’t UEFI network boot.

          are you sure? source?

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

          Q 1 Reply Last reply Reply Quote 0
          • Q
            Quazz Moderator @x23piracy
            last edited by

            @x23piracy I don’t remember the details exactly, I think it had something to do with the inability to chainload in EFI mode, which would be essential to network boot.

            I was looking into the same thing a while ago.

            x23piracyX 1 Reply Last reply Reply Quote 1
            • x23piracyX
              x23piracy @Quazz
              last edited by x23piracy

              @Quazz said in How to get Virtualbox booting over PXE while EFI is enabled?:

              @x23piracy I don’t remember the details exactly, I think it had something to do with the inability to chainload in EFI mode, which would be essential to network boot.

              I was looking into the same thing a while ago.

              Thanks, just wondering because vmware can boot ip v6 in uefi mode, i thought i just need to add the boot option by myself in a little cryptic way to be fine, ok setting everything up in in efi and just capture in legacy is a way to go.

              Regards X23

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

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

                @x23piracy I am sure I’ve read about PXE booting virtualbox in EFI mode not being possible but I can’t really find a clear statement. Only this forum post: https://forums.virtualbox.org/viewtopic.php?f=8&t=69954

                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

                D 1 Reply Last reply Reply Quote 1
                • D
                  dureal99d @Sebastian Roth
                  last edited by

                  @Sebastian-Roth it is possible to boot uefi in virtual box but you must use the usb or cd here to boot into the uefi net boot and then install your os. your os will then boot uefi once successfully installed. I do it all the time in virtual box.

                  x23piracyX 1 Reply Last reply Reply Quote 0
                  • x23piracyX
                    x23piracy @dureal99d
                    last edited by

                    @dureal99d said in How to get Virtualbox booting over PXE while EFI is enabled?:

                    @Sebastian-Roth it is possible to boot uefi in virtual box but you must use the usb or cd here to boot into the uefi net boot and then install your os. your os will then boot uefi once successfully installed. I do it all the time in virtual box.

                    The thread is about network booting in efi 😉

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

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      dureal99d @x23piracy
                      last edited by dureal99d

                      @x23piracy Yes, and that is the way you network boot uefi in virtual box as it does not natively uefi net boot. once you insert the usb or cd to boot from the option to network boot will appear.

                      1 Reply Last reply Reply Quote 0
                      • x23piracyX
                        x23piracy
                        last edited by

                        I found the following article howto convert from mbr to gpt:
                        https://social.technet.microsoft.com/wiki/contents/articles/14286.converting-windows-bios-installation-to-uefi.aspx

                        I will try this to have my current images also for efi, little bit off topic but maybe interesting.

                        Regards X23

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

                        D Q x23piracyX 3 Replies Last reply Reply Quote 0
                        • D
                          dureal99d @x23piracy
                          last edited by

                          @x23piracy ah yess. i have a bit of a better strait forward guide if youd like it?

                          1 Reply Last reply Reply Quote 0
                          • Q
                            Quazz Moderator @x23piracy
                            last edited by

                            @x23piracy Why?

                            You can still boot in UEFI with a mounted DVD, install it, schedule capture, boot in legacy network boot and capture the image. The capturing process does not need to happen in the same mode as the OS is in, it’s irrelevant for it.

                            1 Reply Last reply Reply Quote 0
                            • x23piracyX
                              x23piracy
                              last edited by x23piracy

                              i know that i can create my vm in efi and capture it in legacy and still have efi when deployed, but i am searching for a way to also offer the current images as efi version without renewing the images (install from scratch in efi mode).

                              This has not really todo with the topic i just found it useful to paste that link i found for a mbr > efi convert.

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

                              D 2 Replies Last reply Reply Quote 0
                              • D
                                dureal99d @x23piracy
                                last edited by

                                @x23piracy perhpas i shall do a tutorial to help you understand what i’m trying to convey to you. I understand what you are trying to do and i’m trying to tell you I’ve already done it and its possible but it appears i am confusing you.

                                x23piracyX 1 Reply Last reply Reply Quote 0
                                • D
                                  dureal99d @x23piracy
                                  last edited by

                                  @x23piracy would you be patient enough to wait until tomorrow and i can have a full video done that will show you how to fully convert and image to uefi from bios boot and the network boot via virtual box.

                                  1 Reply Last reply Reply Quote 0
                                  • x23piracyX
                                    x23piracy @dureal99d
                                    last edited by

                                    @dureal99d show me what ever will help. 🙂 it’s welcome

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

                                    1 Reply Last reply Reply Quote 1
                                    • x23piracyX
                                      x23piracy @x23piracy
                                      last edited by x23piracy

                                      @x23piracy said in How to get Virtualbox booting over PXE while EFI is enabled?:

                                      I found the following article howto convert from mbr to gpt:
                                      https://social.technet.microsoft.com/wiki/contents/articles/14286.converting-windows-bios-installation-to-uefi.aspx

                                      I could successfully convert a vm from mbr to efi with the guide above, it works.

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

                                      1 Reply Last reply Reply Quote 1
                                      • x23piracyX
                                        x23piracy
                                        last edited by x23piracy

                                        Can someone show me please a standard gpt partition layout for windows 10?
                                        I could convert a mbr to gpt image but there is a little free space gap on the hdd between the reserved system and little fat32 partition and the main data partition. I would like to close this gap but need to see a standard windows 10 gpt partition layout:

                                        alt text

                                        https://msdn.microsoft.com/windows/hardware/commercialize/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions

                                        @dureal99d how do you did that? Haven’t seen your post about the video, sure i can wait for it.

                                        Regards X23

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

                                        Q D 3 Replies Last reply Reply Quote 0
                                        • Q
                                          Quazz Moderator @x23piracy
                                          last edited by Quazz

                                          @x23piracy The standard GPT layout has 4 partitions. System Reserved (boot), Microsoft thingy (can’t remember exactly), Recovery I think? and then the Windows partition.

                                          x23piracyX 1 Reply Last reply Reply Quote 0
                                          • x23piracyX
                                            x23piracy @Quazz
                                            last edited by

                                            @Quazz said in How to get Virtualbox booting over PXE while EFI is enabled?:

                                            @x23piracy The standard GPT layout has 4 partitions. System Reserved (boot), Microsoft thingy (can’t remember exactly), Recovery I think? and then the Windows partition.

                                            Well after doing the convert from the articel i posted i have the layout below but where is the recovery partition you talk about? i want to make it like it will be after a normal install via uefi (gpt) but i need exactly how it needs to be.

                                            Regards X23

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

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

                                            144

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project