Operating VirtualBox on Win10 with KVM Nested

My current environment is Ubuntu 20.04.
CPU: AMD 3950X

I want to install and operate VirtualBox on Win10 using KVM Nested.

Host: Ubuntu 20.04
L1: Windows10
L2: VirtualBox(Win10 Or Win7)

Neste setting situation

kimcar@kimcar-Ubuntu:~$ cat /proc/cpuinfo | grep -c svm
32
kimcar@kimcar-Ubuntu:~$ cat /sys/module/kvm_amd/parameters/nested
1
kimcar@kimcar-Ubuntu:~$ cat /etc/modprobe.d/qemu-system-x86.conf
options kvm_amd nested=1
kimcar@kimcar-Ubuntu:~$

L1 XML Setting

Windows10_GAME
853e7548-3870-4587-a64a-0270b79d8924

8392704
8392704
8
2

hvm
/usr/share/OVMF/OVMF_CODE.fd
/var/lib/libvirt/qemu/nvram/Windows10_GAME_VARS.fd

destroy
restart
destroy

—————————————————————————

I searched for various information and tried it, but the symptom of turning on and stopping when running the Client in VirtualBox keeps appearing.

Go to Source
Author: Chul Hwam Kim

Controlling VirtualBox from the Command Line

When I try to start my new VM I get this error.

server1@server1:~$ VBoxManage startvm roy --type=headless Waiting for VM "roy" to power on... VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Go to Source
Author: Funni5

Ubuntu 20.04 cannot boot live CD in VirtualBox

I am trying to do some testing in Ubuntu, and need a fresh VM. I am at work running Windows 10. I downloaded the latest version of VirtualBox (6.1.10) and the latest version of Ubuntu Desktop 20.04. Unfortunately, I cannot seem to boot the live CD. I see the VBX splash screen, followed by an Ubuntu splash screen (briefly) but then the screen goes black with a blinking cursor (that does not appear to register keystrokes). Doing a bit of research, it appears that the issue is usually video adapter related, but I have tried maxing out the video memory, selecting all three different adapters, enabling and disabling 3D acceleration, and tried Ubuntu 18.04 and the latest Mint, all with the same result. I use VirtualBox regularly at home on Windows and Linux with no problems. Is there something obvious I am missing now?

Go to Source
Author: gillonba

Trying to install wifi adaptor to kali linux manually

I have a huaweii matebookd, with a VM box and kali linux installed.
Bought a Wireless adapter (TL-WN725N), and although it appears on my VM, it does not appear on my kali.
I am trying to manually install it using these instructions:
1)You will need to blacklist another driver in order to use this one.
2)”echo “blacklist r8188eu” > “/etc/modprobe.d/realtek.conf”
3)”make && make install”
4)Reboot in order to blacklist and load the new driver/module.

However, when I am on step 3, this error appears:
make *** no rule to make target “install”. Stop.

Then it says no targets specified and no makefile found. Stop.

Any suggestions?

Go to Source
Author: Pedro

VirtualBox Win 7 Update Failed with Processor not Supported

It’s a freshly created win 7 pro 32-bit vm on a VirtualBox. However the windows update only worked before the latest two. It gets “the processor is not supported together with the Windows version that you are currently using” error. The host OS is Ubuntu 18.04, process is i7 7700HQ.

On another host it updated to the latest KB3042058, following a KB4534310, and a KB4536952. On the problematic vm, it gets stuck at KB4536952 with the error.

One of two solutions suggested by a virtualbox forum topic is to change inside a windows system file as discussed on the virtualbox box forum “Concern: Microsoft block win7/8.1 update with new CPU“. The another of the two is to run these two commands:

vboxmanage modifyvm "virtual machine name" --cpuid-portability-level 1
vboxmanage modifyvm "virtual machine name" --cpuidset 80000004 372e3220 7a484730 00000000 00000000

I did run the two commands, the guest win 7 still reports the same system processor “i7 7700HQ” as it used to, and the update still fails the same as before.

Another post on this SE site suggests to use only a valid cpu profile. A list can be found on a virtualbox forum topic “specifying the processor type the vm sees. The two commands are changed to:

vboxmanage modifyvm "virtual machine name" --cpuid-portability-level 1
vboxmanage modifyvm "virtual machine name" --cpu-profile "Intel Core i5-3570"

Again it is not working. I also tried to change "Intel Core i5-3570" to "Intel Core i7-2635QM". In both cases, the guest OS will see the different processor types as set by the command, but the update still fails the same as before.

Any idea how to fix this?

Another data point is that on both the two win 7 vm’s when it is initially created, it fails windows update for a few times. On one of them it updated overnight when left alone. Then I clicked through multiple updates till the latest is done. On the second I just clicked to check for updates it worked for a bunch of successful updates till it fails. Not sure why these two are so different.

Go to Source
Author: minghua

ubuntu stuck on login page – can’t login with keyboard

I don’t know why but my ubuntu session got stuck at the login page suddenly and I can’t ge through any longer. When starting the VM, i get the following screen :

enter image description here

I’ve tried CTRL+ALT+F1 and CTRL+ALT+F7 but no luck… my keyboard and mouse aren’t working. I’ve also tried CTRL+ALT+F3 and ran

sudo apt install --reinstall ubuntu-desktop

sudo apt install --reinstall ubuntu-session

but still the same.

enter image description here

I’m wondering what’s wrong and what I can do. If ever it is not possible to recover my session, is there a way to create another VM with the disk of this one… i’d hate to loose everything.

Go to Source
Author: Boris M