Tag Archives: virtualbox

VirtualBox: How to Enable Nested VT-x/AMD-V

First, install the VirtualBox on windows. In order to create nested virtual machines on the VirtualBox, you need to turn on the virtualization function of the CPU.

VirtualBox enables nested VT-x/amd-v.

If you open the virtual machine, an error is reported:

Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution

(VERR_CPUM_INVALID_HWVIRT_CONFIG).

Result Code: E_FAIL (0x80004005).....

Refer to this article again.

The specific solutions are as follows:

1. At the command prompt, run: bcdedit /set hypervisorlaunchtype off
2. Reboot

Enter the virtual machine and execute:

egrep -o '(vmx|svm)' /proc/cpuinfo

You can see VMX, indicating OK.

VirtualBox reports an error: cannot open a new task for virtual computer XXX

Problem Description:

initial error:

VirtualBox – error in supr3hardenedwirespan
error relaunching VirtualBox VM process: 5
supr3hardenedwirespan what: 5 Verr_ INVALID_ Name (- 104) – invalid (malformed) file/path name.

after clicking OK, the exit 1 of “cannot open a new task for virtual computer XXX” reports an error

these errors mean that some DLL files fail to load. (Note 1)
causes:

according to the user reports collected and sorted by Kevin arrows (2020), there are roughly three categories:

1. The VirtualBox core driver is not installed or damaged (just reinstall the inf. file)

2. Interference of third-party anti-virus software (especially win10 firewall, but I failed to add a white list to each application of VirtualBox)

3. Incompatibility after Windows system update
solution:

1 ~ 4 slightly

5. Open the registry and find

Computer \ HKEY_ LOCAL_ MACHINE\SYSTEM\CurrentControlSet\Services\VBoxDrv

 

 

 

Double click start and change the value 1 (or other) to 2 (I successfully repaired it in this step). (Note 2)

notes:

    DLL: dynamic link library is a dynamic link library. It is an executable file loaded and linked at run time. It is often used to prevent the host from being disabled by high-level malware attacks

    Value and meaning


    numerical value

    startup type

    explain

    0

    guide

    The service is mounted on the boot interface

    one

    system

    The service is mounted on the core initialization interface (boot interface)

    two

    automatic

    The service is automatically mounted according to the service manager

    three

    Manual

    Service manual mount on demand

    four

    Disable

    Service disabled

The most annoying error reported by Hadoop: running VirtualBox prompts 0x00000000 error “the 0x00000000 memory referenced by the 0x00000000 instruction cannot be written?

Solve the problem that the VirtualBox virtual machine memory 0x00000000 cannot be written?

Run VirtualBox to prompt 0x00000000 error “0x00000000 instruction refers to 0x00000000 memory, which cannot be written?

 

1. If it is a win7 system, most of the modified DLL files obtained from the search

2. Focus on win10 system:

Generally, the exception occurs because the Hyper-V in windows is not closed and VirtualBox conflicts with hyper-v.

Open the CMD command prompt in windows (it needs to be executed as an administrator), and enter the following command to close hyper-v

bcdedit /set hypervisorlaunchtype off

Then restart the computer.

 

If you want to reopen Hyper-V later, you can use the following command

bcdedit /set hypervisorlaunchtype auto

 

If it still doesn’t work, you can install its VirtualBox Extension Pack before installing VirtualBox:

https://www.virtualbox.org/wiki/Downloads   VirtualBox x.x.x Oracle VM VirtualBox Extension Pack

(x.x.x here corresponds to the version of VirtualBox you downloaded)

 

Original text: https://coding.imooc.com/learn/questiondetail/182256.html

 

VirtualBox under archlinux reports an error ‘/SBIN/rcvboxdrv setup’

Because I just changed to the archlinux system, I reported an error when installing the VirtualBox. As shown below:

But how to solve it?I read a lot of information, most of which are Ubuntu, not archlinux

But the principles are almost the same, and I have studied them through it. Step 1 :

I checked the VBox related (service) commands currently installed on my system

Generally, I can’t see anything. I see the error report of VirtualBox. I checked the data, step 2 :

Therefore, this command exists and can’t be used. The error message refers to the kernel and so on Step 3 :

After reading the articles written by Ubuntu users, it roughly means to update the system’s hear file so that the VirtualBox can be used

According to the research, I found that archlinux also uses the Linux headers package. Found after installation:

Problem solving: the original command reloads the VirtualBox successfully


 

Attached, when looking for a solution to the problem, I saw a Portuguese friend say a little secret

Share with you: recompile the kernel module predecessor/etc/init.d/vboxdrv, which was later set to/SBIN/rcvboxdrv.  

How to solve VirtualBox unable to install enhancement tools

Click “device” – “install enhanced features”, and then the following thing will pop up. Baidu and Bing have solved this problem for a long time~

Unable to insert the virtual optical disk D:\Program\Orade\VirtualBox\VBoxGuestAdditions.iso into the machine lubuntu1810.
Could not mount the media/drive 'D:\Program\Orade\VirtualBox\VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).

Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Callee: IMachine {5047460a-265d-4538-b23e-ddba5fb84976}

solution:

1。 Install vboxguest additions manually

sudo mkdir --p /media/cdrom
sudo mount -t auto /dev/cdrom /media/cdrom/
cd /media/cdrom/
sudo sh VBoxLinuxAdditions.run

2。 Just restart the virtual machine

summary:

First, I manually installed VBox guest additions (but I didn’t try to pop up the CD before installation.) Then restart the virtual machine, you can paste, copy and drag files, the goal is achieved~

If you have doubts, you can try to pop up the CD first to see if you can install the enhancement. Click “device” – “install enhancement” , if not, you can install it manually

But! I don’t want to open windows sharing, so I’ll try to drag and drop files and copy and paste them directly. After all, this is my main purpose

As for how to check “use host I/O cache”, you can try it, but I’m not sure it can be used, because I can turn it off. Maybe this option is only needed to open shared folder, but I don’t need shared folder~

Virtual machine settings storage controller SATA check “use host I/O cache”

Storage controller SATA – click * *. VDI – check “solid state drive”

Restart the virtual machine system

reference website:

https://blog.csdn.net/qq811616536/article/details/52652903

https://askubuntu.com/questions/80341/unable-to-mount-virtualbox-guest-additions-as-a-guest-win7-host

https://jingyan.baidu.com/article/574c521917db806c8d9dc18c.html

Author: Happy Joo

Link: https://www.jianshu.com/p/da1bdc673f2e

Source: Jianshu

The copyright belongs to the author. For commercial reprint, please contact the author for authorization. For non-commercial reprint, please indicate the source.

How to solve the problem of adding copied disk in cannot register the hard disk of VirtualBox

Front end developers must read! Starting from scratch, teach you to build a low code website platform in stages>>>

When using VirtualBox in Ubuntu system, you copy a disk and then import it again. You encounter the following problems:

The main reason is that the UUID of the disk of copy is the same as that of the imported disk. Even if the disk is renamed, it will not affect the UUID value of the disk. So what we need to do now is to modify the UUID of the disk of copy

At the command line, go to the. VDI directory of the copy disk, and my. VDI name is win7workd. VDI<
input command ipci@HP :~$ cd /home/SD/
pipci@HP :/home/SD $CD VirtualBox/# enter the copied disk directory
and pipci@HP :/home/SD/VirtualBox $vboxmanage internal commands sethduuid win7workd.vdi # regenerate new UUI D. The disk name can be added with double quotation marks or not,
UUID changed to: 6316c9d4-36a1-4f92-9698-a2c5b043fa09
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

After the above operation is successful, add it again

Reference: https://blog.csdn.net/lang523493505/article/details/77937829/

How to fix the “kernel driver not installed (RC = – 1908)” error of VirtualBox in Ubuntu

I use Oracle VirtualBox to test various Linux and Unix distributions. So far, I have tested hundreds of virtual machines in VirtualBox. Today, I started the Ubuntu 18.04 Server Edition virtual machine on my Ubuntu 18.04 desktop and I received the following error.

Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

Kernel driver not installed (rc=-1908)” error in Ubuntu

I clicked OK to close the message box, and then I saw another message in the background.

Failed to open a session for the virtual machine Ubuntu 18.04 LTS Server.
The virtual machine 'Ubuntu 18.04 LTS Server' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}

The VM terminates unexpectedly during startup with exit code 1 (0x1)

I don’t know what to do first. I run the following command to check if it works.

$ sudo modprobe vboxdrv

I received this error.

modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.0.0-23-generic

After reading these two error messages carefully, I realized that I should update the Virtualbox program.

If you encounter this error in Ubuntu and its derivatives (such as Linux Mint), you can simply reinstall or update the virtualbox-dkms package using the following command.

$ sudo apt install virtualbox-dkms

Or, better yet, update the entire system with.

$ sudo apt upgrade

The error is gone and I can start the virtual machine normally in VirtualBox

[Solved] Virtualbox Warning: no bootable medium found

How to Solve Virtualbox Warning: no bootable medium found

No media media is mounted!!! That is, no installation files are mounted.
1. Mount the iso file to be installed in the virtual machine CD-ROM drive.
2. Set the optical drive as the first boot item, or press F12 when starting the virtual machine, and press c to select the optical drive boot when the boot item appears.

VirtualBox: shared folder error unknown filesystem type vboxsf

I got the error message “unknown filesystem type vboxsf” while I was trying to share a directory from my Windows XP host to Ubuntu Interpid Ibex (8.10). In almost every where it said to install Guest additions. After spending few hours I found the solution. So decided to share with you for reference.

Step 1: Install host additions (usually you install them when you install virualbox).

Step 2: If you have created a new machine, then create a shared directory/folder. (From the machine’s Devices menu)

Step 3: From machine’s Devices menu, select “Install guest additions”

Step 4: Now in the guest (Ubuntu Ibex Interpid for my case), fire up a console and type the following:

1

sudo
/media
/cdrom
/VBoxLinuxAdditions-x86.run

It should install the additions.

Step 5: Now create a directory where you want to mount your shared drive. For example I have created shared directory under mount using following:

1

2

3

#cd /media

#sudo mkdir shared

Step 6: Mount using following command:

1

sudo
mount
-t vboxsf shared
/media
/shared

Note that shared was the name of the directory I shared from virtual box and /media/shared is the directory where I wanted to mount my shared directory.

Now you should be able to see the files under shared directory in both system.

Enjoy!

LMDE: VirtualBox kernel service is not running

Operating system lmde

Linux y430p 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01) x86_64 GNU/Linux

VirtualBox is not installed. It seems that the system comes with something about it. It used to be nothing. A few months ago, every time I turned on the computer, I had a warning message:

VBoxClient: the VirtualBox kernel service is not running. Exiting.

Although it doesn’t affect the use, it’s annoying to see</ p>

After searching for a long time, it seems that this related post is similar to me</ p>

So I also unloaded the bags:

sudo aptitude remove virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms

However, the restart is successful, or report that warning.

Then clear the relevant configuration to try – also deleted a lot of old packages, do not know will hang. I’m a little afraid now. After all, the system has hung up many times, and now I dare not upgrade without brain.

is mainly afraid of the kernel.

# Clear all residual configuration files of deleted packages
dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P

I’ll restart it.

Well, it’s rebooted. It’s alive. 🙂

The bad information didn’t come out at last. :weary: