a VM inside another VM

Discussions related to using VirtualBox on Linux hosts.
Locked
arcticeye
Posts: 1
Joined: 10. May 2009, 20:29
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Debian

a VM inside another VM

Post by arcticeye »

Hi everyone,

I've been making some tests with virtualbox. The main topic is trying to create a VM inside another VM.
I've the next configuration
Host: Ubuntu 9.10
Ubuntu's Guest and Debian_1's Host: Debian Lenny
Debian_1's Guest: Debian Lenny

Well... I could successfully start the debian_1's guest and mount a debian iso image for installing the debian GNU/Linux in the Debian_1's Guest, I can administrate that by rdesktop, but i've got a problem: The machine starts and the iso is mounted, but when i clic in expert installation it turn to be REALLY slow, for instance it takes more than half an hour to detect my processor!! and i don't know how long will it take to let me choose the installation language.

Some explanation?

I'd be so thankful.

Matias.-
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: a VM inside another VM

Post by Perryg »

It will not work
Red Squirrel
Posts: 118
Joined: 25. Jan 2009, 05:28

Re: a VM inside another VM

Post by Red Squirrel »

I tried this too and it did not work. It's silly to do this, but there are situations where it may actually be useful for certain testing.

Any way to get it to work properly?

Also it would be fun to see how far you can go, ex: a vm inside a vm inside a vm etc...

What if you alternate vm programs, such as run vmware server then run virtualbox on vmware server, then vmware server again etc...

I like to push modern hardware to it's limits by performing useless tasks. :mrgreen:
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: a VM inside another VM

Post by Perryg »

Ok I must point you to my previous post. Parallel VMs are achievable but stacked will not work. At least at this time.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: a VM inside another VM

Post by Sasquatch »

Asked before. Nested virtualization is not supported. Some programs do allow it, but it's done with some ugly hacks or whatever. VB doesn't do it. Locked.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Locked