Nested virtual machine - Ubuntu1804 in wmware under Win10 - use KVM - install win and ubuntu virtual machines

1. Physical machine operation

Reference blog post-CSDN-Lin Mai'an
-About "VMware Workstation 16 This platform does not support virtualized Intel VT-x/EPT. Do not use virtualized Intel VT-x/EPT, continue?"

insert image description here
Search on the windows physical machine: 内核隔离
set the switch to off
, but my physical machine is already off, and this problem still occurs.
In the comments of this blog post, the author provides a solution:
insert image description here
open cmd as an administrator, type Execute the following command and restart the physical machine:

 	
# 重新开启:
# bcdedit /set hypervisorlaunchtype auto```

(Only one kind of error occurred during my configuration, if there are other errors, please find and solve them by yourself)

Two, the configuration in the settings of ubuntu18.04 in WmwareWoerkStastion

Reference blog post: CSDN-Eddy_l (author)-Ubuntu20.04 Deploy KVM and install Ubuntu Server 20.04
insert image description here
Check these two options (the second one may not need to be checked, but I still chose it)
insert image description here
Ensure sufficient hard disk space (because the virtual The chance is relatively large) Set sufficient disk size in , enough is
enough硬盘>扩展
insert image description here

3. Configuration in Ubuntu18.04

Reference blog post: CSDN-Xiaok Anda (Author)-Install and configure KVM on Ubuntu 18.04.5 LTS server and create Win10 virtual machine

# 执行完上述步骤,再执行下面这行命令,显示结果应该非0
egrep -c '(svm|vmx)' /proc/cpuinfo
sudo apt update
sudo apt-get install qemu-kvm qemu-utils libvirt-daemon-system virtinst cpu-checker

Now confirm the status of the libvirtd service using the following command

 service libvirtd status

insert image description here

4. Use virt-manager to configure win10 and ubuntu virtual machines

Reference blog post-Linux.cn-Pradeep Kumar (author)-How to install and configure KVM on Ubuntu 18.04 server

sudo apt install virt-manager
sudo virt-manager

Click the computer screen icon in the upper left corner to create a new virtual machine (note: it is not possible to install two virtual machines at the same time (presumption))
insert image description here
select the first option and select forward

insert image description here
After adding the path where the iso file is located, if it is a linux operating system, such as ubuntu16.04, and then check Automatically detect from the installation media / sourcethe options in the figure below, it can be recognized as the corresponding operating system.
insert image description here
However, windows mirroring generally does not work. If you add a windows mirroring , then uncheck this option, enter win (or other corresponding operating system) in the input box for further selection
insert image description here

Next, if there is no special requirement, just forward all the way to finish.

If it shows that there is no available driver, change to a win image

win10 mirror
ubuntu1604 mirror

Guess you like

Origin blog.csdn.net/weixin_52111404/article/details/131237120