ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Installing VirtualBox inside a virtual machine?

    IT Discussion
    4
    10
    1.4k
    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
      Joy
      last edited by

      Anyone have you tried running the virtual box inside a virtual machine?
      I found this forum saying it's not supported : https://forums.virtualbox.org/viewtopic.php?f=1&t=31408
      but some people here said they tried running another virtualbox on a virtual machine.
      https://forums.virtualbox.org/viewtopic.php?f=1&t=20589

      1 Reply Last reply Reply Quote 3
      • S
        scottalanmiller
        last edited by

        What you are looking for here is called nesting and is generally a very bad idea for production usage, especially with VirtualBox as that is a type 2 so you will have an OS on a hypervisor on an OS on a hypervisor, so double nested! So if nesting is bad, double nesting is double bad and type 2 is bad on its own. So lots of bad.

        Nesting support is 100% about the host hypervisor and has nothing to do with VirtualBox, so you are looking in the wrong place for support. The question is "does your base hypervisor support nesting", VirtualBox has no way to know that it is or isn't nesting and has no ability to support or not support it.

        1 Reply Last reply Reply Quote 2
        • J
          Joy
          last edited by

          It will serve as lab-testing.
          @scottalanmiller Thanks for the reply.
          I found these:
          Running Nested VMs= https://communities.vmware.com/docs/DOC-8970
          Support for running ESXi/ESX as a nested virtualization solution (2009916) = https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2009916

          1 Reply Last reply Reply Quote 0
          • S
            scottalanmiller
            last edited by

            VMware ESXi definitely supports nesting, so that should end up working.

            D 1 Reply Last reply Reply Quote 0
            • D
              DustinB3403 @scottalanmiller
              last edited by

              @scottalanmiller said in Installing VirtualBox inside a virtual machine?:

              VMware ESXi definitely supports nesting, so that should end up working.

              But how useful would something like this actually be?

              I'm just trying to understand the use case where this makes sense for learning.

              Wouldn't a desktop with VirtualBox be "better"?

              S 1 Reply Last reply Reply Quote 0
              • S
                scottalanmiller @DustinB3403
                last edited by

                @DustinB3403 said in Installing VirtualBox inside a virtual machine?:

                @scottalanmiller said in Installing VirtualBox inside a virtual machine?:

                VMware ESXi definitely supports nesting, so that should end up working.

                But how useful would something like this actually be?

                I'm just trying to understand the use case where this makes sense for learning.

                Wouldn't a desktop with VirtualBox be "better"?

                Depends on what is being learned.

                1 Reply Last reply Reply Quote 0
                • T
                  thwr
                  last edited by thwr

                  Oh, a spin-off thread. Missed that.

                  Like I said, Hyper-V can do nested (or V-in-V) virtualization. Even when running on a desktop machine like Windows 8 / 10.

                  Just did that myself because we had to extract something from a vagrant file. Can also be good for evaluating other (type 1) hypervisors like running Xen on top of Hyper-V.

                  It's good in some cases but never ever think about production usage (yet).

                  S 1 Reply Last reply Reply Quote 2
                  • S
                    scottalanmiller @thwr
                    last edited by

                    @thwr said in Installing VirtualBox inside a virtual machine?:

                    Oh, a spin-off thread. Missed that.

                    Like I said, Hyper-V can do nested (or V-in-V) virtualization. Even when running on a desktop machine like Windows 8 / 10.

                    Just did that myself because we had to extract something from a vagrant file. Can also be good for evaluating other (type 1) hypervisors like running Xen on top of Hyper-V.

                    It's good in some cases but never ever think about production usage (yet).
                    That's because it is bare metal and never actually runs ON Windows 10, Windows 10 always runs on it.

                    T 1 Reply Last reply Reply Quote 2
                    • J
                      Joy
                      last edited by

                      Hello everyone, thank for answering my question.
                      I escalated to my manager and he advised the End User .

                      1 Reply Last reply Reply Quote 2
                      • T
                        thwr @scottalanmiller
                        last edited by

                        @scottalanmiller said in Installing VirtualBox inside a virtual machine?:

                        @thwr said in Installing VirtualBox inside a virtual machine?:

                        Oh, a spin-off thread. Missed that.

                        Like I said, Hyper-V can do nested (or V-in-V) virtualization. Even when running on a desktop machine like Windows 8 / 10.

                        Just did that myself because we had to extract something from a vagrant file. Can also be good for evaluating other (type 1) hypervisors like running Xen on top of Hyper-V.

                        It's good in some cases but never ever think about production usage (yet).
                        That's because it is bare metal and never actually runs ON Windows 10, Windows 10 always runs on it.

                        You are right, I tend to forget that at times 🙂

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