虚拟机中安装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...

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
相关文章
|
29天前
|
Ubuntu Shell 网络安全
安装了ubuntu虚拟机后发现shell无法连接 ubuntu开启ssh连接
【8月更文挑战第23天】安装了ubuntu虚拟机后发现shell无法连接
85 6
|
29天前
|
测试技术 Linux 虚拟化
iOS自动化测试方案(五):保姆级VMware虚拟机安装MacOS
详细的VMware虚拟机安装macOS Big Sur的保姆级教程,包括下载VMware和macOS镜像、图解安装步骤和遇到问题时的解决方案,旨在帮助读者顺利搭建macOS虚拟机环境。
46 3
iOS自动化测试方案(五):保姆级VMware虚拟机安装MacOS
|
29天前
|
测试技术 开发工具 虚拟化
iOS自动化测试方案(一):MacOS虚拟机保姆级安装Xcode教程
这篇文章提供了一份保姆级的教程,指导如何在MacOS虚拟机上安装Xcode,包括环境准备、基础软件安装以及USB扩展插件的使用,以实现iOS自动化测试方案的第一步。
27 0
iOS自动化测试方案(一):MacOS虚拟机保姆级安装Xcode教程
|
30天前
|
Ubuntu
【ubuntu系统】在虚拟机内安装Ubuntu
【ubuntu系统】在虚拟机内安装Ubuntu
35 0
|
3月前
|
Unix Linux 虚拟化
虚拟机VMware知识积累
虚拟机VMware知识积累
|
7天前
|
存储 SQL 数据挖掘
虚拟化数据恢复—VMware虚拟机vmdk文件被误删除的数据恢复案例
虚拟化数据恢复环境: 某品牌服务器(部署VMware EXSI虚拟机)+同品牌存储(存放虚拟机文件)。 虚拟化故障: 意外断电导致服务器上某台虚拟机无法正常启动。查看虚拟机配置文件发现这台故障虚拟机除了磁盘文件以外其他配置文件全部丢失,xxx-flat.vmdk磁盘文件和xxx-000001-delta.vmdk快照文件还在。管理员联系VMware工程师寻求帮助。VMware工程师尝试新建一个虚拟机来解决故障,但发现ESXi存储空间不足。于是将故障虚拟机下的xxx-flat.vmdk磁盘文件删除,然后重建一个虚拟机并且分配固定大小的虚拟磁盘。
|
1月前
|
编解码 Linux 虚拟化
超详细VMware虚拟机安装Win10操作系统过程图解
这篇文章提供了一个详细的VMware虚拟机安装Windows 10操作系统的图解教程,包括了从创建虚拟机到安装操作系统的全过程,以及安装后的一些基本设置,如屏幕分辨率调整等。作者还提到了后续会分享关于磁盘分区的创建过程。
超详细VMware虚拟机安装Win10操作系统过程图解
|
22天前
|
虚拟化
vmware虚拟机使用主机代理访问谷歌
vmware虚拟机使用主机代理访问谷歌
|
2月前
|
存储 SQL 运维
服务器数据恢复—Isilon存储误删除vmware虚拟机的数据恢复案例
Isilon存储使用的是分布式文件系统OneFS。在Isilon存储集群里面每个节点均为单一的OneFS文件系统,所以Isilon存储在进行横向扩展的同时不会影响数据的正常使用。Isilon存储集群所有节点提供相同的功能,节点与节点之间没有主备之分。当用户向Isilon存储集群中存储文件时,OneFS文件系统层面将文件划分为128K的片段分别存放到不同的节点中,而节点层面将128K的片段分成8K的小片段分别存放到节点的不同硬盘中。用户文件的Indoe信息、目录项及数据MAP则会分别存储在所有节点中,这样可以确保用户不管从哪个节点都可以访问到所有数据。Isilon存储在初始化时会让用户选择相应的
58 12
|
1月前
|
虚拟化
VMware NAT 模式 虚拟机网络电缆被拔出,连不上网
VMware NAT 模式 虚拟机网络电缆被拔出,连不上网
58 0