gpt4 book ai didi

ubuntu - 在 virtualbox 客户机上运行 64 位 Ubuntu

转载 作者:行者123 更新时间:2023-12-04 18:45:43 25 4
gpt4 key购买 nike

我有安装了 virtualbox 的 ubuntu 16.04 64Bit Host。虚拟化已启用,因此我可以成功创建一个 ubuntu 16.04 64Bit guest 并启动它。
现在我想在 上创建一个新的 Ubuntu 64Bit 机器。 guest 但我显然无法做到这一点,因为虚拟化被禁用(即使我在虚拟框中启用了 VTx 设置)。
有什么解决方法吗?如果不是,为什么?

最佳答案

我相信这是一个反复出现的问题,但找不到好帖子。

我可以在quora上找到一个很好的答案https://www.quora.com/VirtualBox-inside-VirtualBox-Is-that-possible/answer/Senthil-Nathan-19

tldr;

您可以运行嵌套的 32 位操作系统,但不能运行 64

长话短说

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.

关于ubuntu - 在 virtualbox 客户机上运行 64 位 Ubuntu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44003416/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com