虚拟机中安装Virtualbox,嵌套的虚拟机不能运行64位系统

https://www.quora.com/Can-I-install-Virtualbox-in-a-virtual-machine

Here is a previous question on Quora about it: Is it possible to install Virtual machine inside a virtual machine using virtual box? aka nesting of virtual machines!

Short answer: You can run 32-bit operating systems nested, but not 64.

可以运行32位,64的运行不了

Below is the excerpt from my book: VirtualBox at warp speed, Book

Nested Virtualization

Nested virtualization is running VM inside a guest VM. This is a fun topic/project to think about and mostly people wonder why this is important or what purpose it serves.

Understanding if this is possible and why if not, helps us understand virtualization better. For VirtualBox itself the answer to this is “yes” for running 32-bit nested guests and “no” for 64-bit. VirtualBox does NOT have the code for running 64-bit VMs without CPU Extensions (AMD-V, Intel VT-x). So the inner VM that is running on a host VM will not be able to support 64-bit. The parent/host (which is a guest VM) will not have the CPU extension feature. Supposedly VMware and Xen support soft coding the CPU extensions. And then there are possibilities of crossing virtualization technologies such as starting Xen inside VirtualBox, etc.

The Intel Haswell CPU has a new virtualization technology called Virtual Machine Control Structure (VMCS) Shadowing. VMCS shadowing, accelerates nested virtualization allowing guests to run with minimal impact. VMCS may become mainstream once all virtualization technologies start to implement it. VMCS allows you to run multiple hypervisors on one CPU natively. If there is a need to create nested VMs (or many VMs), consider running container based VMs such as Linux Containers or OpenVZ. Containers should typically run inside another VM without any issues.

Reasons

Below are some reasons to use nested virtualization.

  • Cloud infrastructure development work

  • Testing or learning other hypervisors
  • Split off container type machines inside hypervisor type machines where it makes sense
  • If you are already renting a server in the cloud that is virtual and want to have more VMs inside
时间: 2024-10-28 22:30:18

虚拟机中安装Virtualbox,嵌套的虚拟机不能运行64位系统的相关文章

以vm虚拟机中安装kvm环境及虚拟机中的虚拟机

安装win2003时出现如下错误  could not open disk image /root/shiyebu084/Win2003EnterpriseVolSp2Cn.iso: Permission denied 各种查资料,终于有了结果  KVM images are restricted by selinux. Putting them in /var/lib/libvirt/images should suffice.  即须将iso镜像文件放置/var/lib/libvirt/im

在 VirtualBox 虚拟机中安装 Arch Linux 系统指南

How to install Arch Linux on VirtualBox 本文导航 1.Arch Linux 软件仓库2.在 VirtualBox 虚拟机中安装 Arch Linux 系统1.下载 Arch Linux 系统2.在 Oracle VirtualBox 管理界面初始化安装3.磁盘分区4.引导 Arch Linux 启动5.设置主机名和网络6.安装引导加载程序7.启动进入 Arch Linux 系统 Arch Linux 是专门为 i689 和 86-64 架构的计算机而设计的

手把手VirtualBox虚拟机下安装rhel6.4 linux 64位系统详细文档

下面演示安装的是在VirtualBox里安装rhel 6.4 linux 64位系统. 一.VirtualBOX 版本. 二.虚拟机的配置. 1.现在开始演示安装,一起从零开始.点击“新建”,创建新的系统. 1.现在开始演示安装,一起从零开始.点击“新建”,创建新的系统. 2.选择你要安装的系统类型,这里它有自动识别功能,我输入rhel-6.4_64的时候,下面的类型和版本自动识别出来了. 3.给虚拟机分配内存大小,这个结合你自己机器的内存.如果不安装其他的东西512M就可以,我的机器是8G,这

在虚拟机中安装Ubuntu Server 15.04

学Linux,上红联! 红联Linux门户|Linux通用技术|Linux发行版技术|Linux企业应用|Linux实验室|红联Linux论坛 Linux系统教程 Linux入门 Linux管理 Linux技巧 Linux命令 Ubuntu系统 Linux服务器 Linux数据库 Linux开发 您的位置: Linux系统教程 > Ubuntu系统 > 在虚拟机中安装Ubuntu Server 15.04 时间:2015-06-13来源:blgpl.blog.51cto.com 作者:XIAO

如何在虚拟机中安装Minimal CD for Ubuntu

最小系统小巧方便,只有几十兆,用来做Openstack的实验和制作Openstack的云镜像的好的选择.下面来说说如何在虚拟机中安装最小系统,为做devstack的实验做好准备. 我选择的是VirtrualBox5.0,可以从下面的地址进行下载:https://www.virtualbox.org/wiki/Downloads 镜像我选择的是64-bit PC (amd64, x86_64) (Recommended)下的第三个Ubuntu 14.04 LTS "Trusty Tahr"

虚拟机中安装操作系统视频教程

本篇主要讲解在虚拟机中安装操作系统的练习教程.属于视频教程 视频教程的重点是要边看边学边做,希望能对大家有点帮助.有待改进的地方请留言给我,谢谢 视频下载地址:http://pan.baidu.com/s/1sj0Tkux 提取码:yuka

在虚拟机中安装雨林木风XP镜像的正确步骤

在虚拟机中安装雨林木风XP镜像的正确步骤 (2011-08-11 14:50:50) 转载▼ 标签: 杂谈   1.  一个VMware Workstation的环境.雨林木风镜像是必要的 2.  新建虚拟机步骤 3.启动虚拟机 选择“3运行PQ8.05分区魔术师”,对磁盘进行分区 每个人的分区风格并不一样,这是我的风格,并执行,之后重启 选择“A安装到C盘,进行安装过程” 完成后会有重启操作,但是重启之后,并未出现系统安装界面,原因是未设置C盘“作用” 需要进入分区魔术大师,设置C盘活动. 重

Linux学习笔记——虚拟机中安装VMware Tools

0 前言 VMware Tools是VMware虚拟机中自带的一种增强工具,只有在VMware虚拟机中安装好了VMware Tools,才能实现主机与虚拟机之间的文件共享,实现文件在虚拟机之间的复制粘贴. 最近购买了周立功的一款EasyARM开发板,作为树莓派Linux学习的补充.在虚拟机中安装了周立功提供的ubuntu镜像,总觉得在主机和PC机之间直接复制粘贴才爽,所以又安装了Vmware Tools.     [相关博文] [ Linux学习笔记--vmware plarer中安装ubunt

windows server 2012 系统管理 1-1 在虚拟机中安装windows server 2012

1-1在虚拟机中安装windowsserver 2012 准备工作:vmware workstation12 ,windows server 2012 镜像.实验步骤: 运行vmware workstation 12,选择主界面"创建新的虚拟机" 2.选择"典型",单击下一步. 3.选择事先下好的镜像文件,单击下一步 4.输入产品密钥(也可以不输,待安装完系统后用激活工具激活). 5.设置用户名和密码(可选). 6.设置虚拟机名称和安装位置. 7.设置磁盘大小和磁盘