/r/virtualbox

Photograph via snooOG

This is an unofficial support community for Oracle VM VirtualBox, https://www.virtualbox.org/, which allows you to create virtual machines to install other operating systems on. We are NOT Oracle employees. Any advice you follow here is at your own risk. Please follow the posting rules, or your post will be removed!

Oracle VM VirtualBox allows you to create virtual machines to install other operating systems on. You can post here and ask for help, show tips/guides, give away legal pre-made virtual machines, etc.

Please no:

  • memes
  • referral links
  • facebook links
  • pirated content

We're currently not looking for new moderators.

Check the current version of VirtualBox before posting. Your issue may be fixed in an update if there is one.

/r/virtualbox

17,687 Subscribers

1

VBox took a lot of space and won't give it back

I've had persona 5 on my pc, but i had to delete since i needed to do some things in vbox. I made 2 vms, 1 with windows server 2019 and 1 with windows 10. I had ~46-48 gb before, now i only have 36 after deleting both vms and vbox. I swear to god, i'll never ever install it on my pc again. I used 1 program to delete whatever is left from it, didn't find anything. I tried to search it myself, same result. Does anybody know what i'm missing? I'm losing my mind and thinking of reinstalling windows at this point

1 Comment
2024/05/12
20:11 UTC

1

Duplicate VB OS question - USB drives.

Can I duplicate an OpenMediaVault install, and have it running on a different Local IP address? Will this have any impact on the permissions/ownerships on the attached USB drive's files and folders? Or, alternatively create a new install of OpenMediaVault, and be able to read write execute files and folders on said drives. I'm think ownership and permission issues?

I use it as a media downloading machine and I was hoping it was possible to have one OS up and running and then another for tinkering and messing around on, using the same USB media drives, also makes a good backup as well.

Thanks.

0 Comments
2024/05/11
07:51 UTC

0

Unable to create shared folder in linux virtual machine, windows host

Hi, I want to set up a shared folder, but im having issues doing so.

I've tried the following tutorials, but nothings worked:
https://carleton.ca/scs/tech-support/troubleshooting-guides/creating-a-shared-folder-in-virtualbox/

https://www.youtube.com/watch?v=9-teQnZ8LEY

https://www.youtube.com/watch?app=desktop&v=zmWUFMGFA1I

My issue is, that nothing shows up on my linux. Under VirtualBox, it says that it has one shared folder. Help?

Host: Windows 11

VirtualBox: 7.0.18

4 Comments
2024/05/10
11:41 UTC

1

can't update virtualbox

Hey, I have this weird problem where when trying to install new version of virtual box I get information: The system is not meeting security requriment. Even though before I could install versions normally?

Additional Info:
Host: Windows 10

Guest: None

Version: 7.0.14 r161095

Screenshot: https://i.postimg.cc/tRFK5NL9/obraz.png

I'm not trying to install the VirtualBox on my main disc C:/ but on the X:/.

Does anybody have the same problem as me?

8 Comments
2024/05/10
11:37 UTC

1

Issue with adding Virtual Screen

Hi there. When adding a new virtual monitor, I'm having issues with the performance of VirtualBox as a whole.

Whichever virtual monitor is not in focus will flickers black and in general appear very slow and unresponsive. I'm using VB for development, and it has forced me to run everything on my main monitor due to these performance issues.

Has anyone ran into similar problems in the past or found a solution? Thanks

Edit:

VB version: 7.0.14

Host: Windows

Guest: Xubuntu

8 Comments
2024/05/10
09:53 UTC

1

Audio stops working when opening up Sonic Pi (VB with Debian)

Hey everyone,

I'm currently doing a university project about visualizing live improvised music in Minecraft Pi Edition Reborn with the help of Sonic Pi, but I have run into a weird issue.

I've downloaded VirtualBox 7.0.18 and I'm running Debian 12.5.0 so I can run both Sonic Pi version 3.3.1 and MCPER version 2.5.1. My issue is that the audio works fine on stuff like YouTube on FireFox, but when I open Sonic Pi, all sound stops and won't come back until I've closed down Sonic Pi and then reopen YouTube. If I reopen YouTube while Sonic Pi is still open, the audio is still gone.

In the virtual system, I'm running PulseAudio with the Built-in Audio Analog Stereo, and the External Mixer is set to "pavucontrol-qt". I've also download ALSA but that hasn't helped.
I haven't downloaded and guest OSes, I'm not sure if I've enabled VT-x/AMD-V or installed any guest additions/host extensions - I tried researching about all the stuff, but it is all way to complicated for me and went way over my head.

I'd like to add that I'm completely new to VM's and Debian so I have no idea what I'm currently doing. I did however spent about 30 minutes looking for possible solutions without any answer.

6 Comments
2024/05/09
23:37 UTC

2

Can't install VirtualBox into E:/ drive.

When i try to install VirtualBox into E:/ drive, i get this error:

Invalid installation directory

The chosen installation directory is invalid, as it does not meet the security requirements. Refer to the Oracle VM VirtualBox 7.0.18 manual for more information.

Please choose another directory for installing Oracle VM VirtualBox 7.0.18

(I use Windows 10 Pro)

3 Comments
2024/05/09
13:19 UTC

2

Is it possible to enable the Internet on older versions of Android x86? (4-0 ICS and below)

  1. VirtualBox 7.0.14 r161095 (Qt5.15.2)

  2. Host: Windows 11 23H2 Guest: Android x86 4.0

  3. No, because its a Android x86 VM

Good morning, good afternoon and good evening my dear users of the unofficial VirtualBox reddit, I need your help to activate the Internet connection in old versions of Android x86, from version Donut 1.6 to Ice Cream Sandwich 4.0.

I have already tried putting the Realtek source adapter together with a PC-FAST NAT adapter and the VirtualBox Host Only Ethernet Adapter together and it does not work, nor does it work with the tutorials I find on YouTube. Do you have a solution for my problem?

I would greatly appreciate your help, I hope you read this post and provide me with solutions, goodbye my dears and thank you for reading!

3 Comments
2024/05/09
03:06 UTC

1

removed machine, can recover?

Got impatient with an error and unintentionally deleted the files from the drop-down menu in the VB app. To my horror I saw the USB Flash Drive directory was empty! Tried to recover the files with photorec (linux) and testdisk, without success. It found a million other files though.

Is this failed recovery due to the large size of VDI file? Is such a 10+gb file difficult to recover from an ordinary usb flash drive?

2 Comments
2024/05/09
00:29 UTC

0

can someone help?

i wanted to instal vb with windows 7 on my m2 mac, everything was great but some time after it installed i got an error i tried id over again 9 times even with kali linux or windows 10 instead. i would really appreciate help. error wont fit here

3 Comments
2024/05/08
22:13 UTC

1

Help with PXE boot setup for external system to guest WDS system.

Getting stumped with this, and needing some guidance. I've set up my imaging lab in Virtualbox like this:

Virtualbox 7.0.18 on Win11, Extension pack installed

My Server 2022 VM with DHCP/MDT/WDS roles (guest additions installed) has two vNICs. The first one is connected to intnet, the internal VM-only network. The other is bridged (not NAT) to the host NIC, which should be open line to the external network (right?) Windows Firewall is disabled, no other firewall/security software installed.

I've got the host system connected to a switch, along with another system that I want to PXE boot to the WDS VM on the host. This is isolated, no internet connection at all. Just these two systems. I'm able to create and PXE boot new VMs via intnet, so the imaging process is working. However, when I try to PXE boot the external system, it doesn't pick up anything, just sits listening then times out.

I've scoured the internet for anything regarding PXE booting external systems to host VMs over the network, but all I find are guides for VMs. I've tried making sure that WDS is binding to all interfaces via regkeys, swapping host systems (linux does the same thing), setting the host nic IP to the same subnet (192.168.10.xx), but that b0rks things up worse. I did find something tucked away in a corner of the internet that said you needed an enterprise license for the extension pack to be able to do what I'm wanting, but ??.

2 Comments
2024/05/08
16:35 UTC

1

The driver detected an internal driver error on \Device\VBoxNetLwf

So I have been trying to trouble shoot an intermittent networking/internet access issue on one machine in my house.

Where by every day at some random time my internet / network access slows down to a crawl for about an hour, and then returns to normal till the next day.

I have tried checking all the normal things and have tracked it to this machine specifically.

after doing all the usual malware scans, sfc /scannow etc I checked the event logs.

and discovered that at roughly the start of each period of problem there was a System Event Log Error

The driver detected an internal driver error on \Device\VBoxNetLwf.

Screen shot of event log

I updated Virtual box from 7.0.10 to 7.0.18 and updated my networking driver however the issue occurred again.

and the event again was present right when I noticed the issue start...

Web searches have yielded little on this error, with many people saying "If its not causing a problem ignore it".

however in my situation it does appear to be causing a problem and am hoping some people here may be able to assist in resolving the problem.

While I am not 100% sure this is the cause of the issue, the facts that it occurs when the issue starts, and that it is related to the network driver and this is a networking problem.... It seems a place to resolve to either fix or rule out.

This issue occurs even if I have no Virtual Box machines running (I have 3 virtual machines, 1 windows and 2 Ubuntu Linux instances)

thanks in advance!!

Edit

As per Automod response I have confirmed Hyper-V is disabled (Windows 11 Pro Host).

Virtualization is enabled in BIOS - ROG STRIX Z790-H

3 Comments
2024/05/08
12:25 UTC

1

Stuck display resolution on Fedora 40 guest

I installed VirtualBox 7.0.18 on Windows 10, and installed a Fedora 40 guest instance.

The machine works but starts in 1024x768, and there seems to be no way to change that. I've tried every allowed combination of the following, methodically, based on reading / research:

  1. Using VB provided Guest Additions vs. Fedora-provided (verified installed /w lsmod)
  2. Increasing VB max display resolution under "Hint" vs. "Auto"
  3. Fullscreen / Scale / Resize / etc modes under "View"
  4. Every available display type (VMSVGA, etc)
  5. 3D acceleration enabled/disabled

No mater what I do, still 1024x768 (but possibly scaled if in scaled mode), the guest does not have a dropdown near display resolution setting and does not display any other modes when enumerated on CLI, and the VB menu View->Virtual Screen 1-><display mode> options are all greyed out (as is "Seamless Mode").

(VT-x/AMD-V enabled in BIOS, VM otherwise works. HyperV not available since host is Windows 10 Home)

How can I change the resolution to a larger format in VB Fedora 40 Guest?

2 Comments
2024/05/07
16:19 UTC

0

Windows 11 Installation Loop! How Can I Solve It?

I have been using the latest version of Oracle Virtual Box 7.0.14. Host machine is Windows 11. I am trying to install Windows 11 on my VB. Everything was done but just stuck in this setup loop! Anybody faced this problem and know how to get rid of this? The video I shared here is fast forwarded and edited to eliminate time consuming parts. Please have a look on this for clear understanding. Any help will be highly appreciated.

https://streamable.com/4odh1g?src=player-page-share

6 Comments
2024/05/07
14:35 UTC

1

How to find "VMName" to put in PowerShell code line?

(Apologies if I'm using the wrong terminologies)

I want to put this code:

Into Windows PowerShell, and get this error:

  • ^("At line:1 char:24)
    • ^(Set-VMSecurity -VMName VMName> -VirtualizationBasedSecurityOptOut $t ...)
    • ^(\~)
  • ^(The '<' operator is reserved for future use.)
    • ^(CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException)
    • ^(FullyQualifiedErrorId : RedirectionNotSupported")

How do I find my VMName to fix the code? I am using Oracle VirtualBox for Windows XP. Thank you!!

  • Version: 7.0.10
  • Host OS (I assume this means my computer): Windows 10 Pro (OS Build 19045.4291)
  • Guest OS: Windows XP (32-bit)
  • Hyper V is disabled (this post is me trying to figure out how to remove Credential Guard now)
  • Whether you have installed Guest Additions and/or Host Extensions (this solves 90% of the problems we see)
    • IDK what this means ): I've read it around while researching though.
10 Comments
2024/05/07
13:56 UTC

1

Installation always halting at preseeding on VirtualBox. What to do?

I'm trying to install Debian 12.5.0 (iso from the the debian website) as a guest OS through VirtualBox (7.0.16) on MacOS Ventura 13.4.1 (host OS). VT-x is enabled on MacOS. I also have installed the VirtualBox extension pack.

I've tried the installation 3 times from scratch with the default settings of VirtualBox and every time the process always halts at 14% when "Running preseed..." Here is my log file from virtual box in case it helps. https://pastebin.com/jF9trRaT

Any idea on what to do?

4 Comments
2024/05/06
20:30 UTC

1

How do I fix laggy and slow virtual machine?

I want to play an old game that runs on Windows XP, and it does not work well in Compability mode, so I need a virtual machine running XP.
I got this XP from Archive: https://archive.org/details/WinXPProSP3x86

I got it fine inserted into virutal box and did not change any settings, but when starting the VM, its EXTREMLEY laggy and it does never finish installing windows xp on the machine.

What settings do I need to change in order to get XP running fine?

4 Comments
2024/05/06
18:50 UTC

0

I can't get Virtual Box to work

On Void Linux, vboxservice won't turn on:

bash-5.2# sv -v status /var/service/vboxservice
down: /var/service/vboxservice: 1s, normally up, want up; run: log: (pid 1359) 890s
bash-5.2# sv -v up /var/service/vboxservice
timeout: down: /var/service/vboxservice: 0s, normally up, want up

How do I fix this and get Virtual Box working?

when I try to run it manually:

bash-5.2# /var/service/vboxservice/run
VBoxService: error: VbglR3Init failed with rc=VERR_FILE_NOT_FOUND

Oddly enough, I can launch the executable.

12 Comments
2024/05/06
12:27 UTC

0

Windows XP Install is ridiculously slow

"Copying files" thing in bios took almost half an hour. Now im at "Installing windows" step and it says "39" mins and it's stuck on that again almost for half an hour. After that it become 37 mins and said "Installing applications" but only %2 was installed in 20 minutes.

My pc specs: AMD Ryzen 5 1600 Shix Core, 16GB Ram, Nvidia geforce Rtx 1060 6gb gpu.

VBox specs: 4gb ram, 2 cpu and 60gb space.

Didn't enable AMd-v or anything else.

VBox Version 7.0

Yes Hyper-V Is disabled

3 Comments
2024/05/05
17:44 UTC

0

X window problem

I have been having a problem where opening VirtualBox results in an X window Protocol error. I am currently running the latest version of kali on it and this is the error message: Error: An X Window protocol error occurred: BadValue (integer parameter out of range for operation Error: Resizing frame buffer to 0 0 has failed, current mode 1280 800.

If there is any more information you need just ask me

1 Comment
2024/05/05
01:22 UTC

0

News about VirtualBox release for the new Ubuntu24.04

Recently I setup new Ubuntu 24 on my new Dell XPS laptop, unfortuantly I can't setup the VirtualBox on it, I tried download VB for Ubuntu 22 it's installed and started the main window but not able to start machine seams it's related to the Kernel modules which may not compatible with the kernel 6.8.

Is there anyone who is able to setup VB on Ubuntu 24, or have information about VB release date for ubuntu 24?

Thanks

6 Comments
2024/05/04
20:58 UTC

2

Can't install Windows 10 on VirtualBox due to lack of drivers?

I'm Linux user and decided to install VirtualBox again and then create a Windows 10 VM. When i enter on installation, the first page pops up about me to choose a driver. I can't proceed this part because this never needed (after i clicked on Install, the Product key screen pops up, then choose the system, read the terms, choose the custom installation, select the partition and proceed with the installation) and this is interesting, because the steps to make is the same i did some months ago and never changed.

My distro is Linux Mint 21.3. I checked Secure boot on my BIOS and is disabled. I tried to disable audio, USB, changing chipset and nothing works. The same screen pops up and i'm stuck. The version of VirtualBox i'm using is 7.0.18 r162988.

Is someone have the same issue? I tried everything i could but none of this works for me sadly.

9 Comments
2024/05/04
02:11 UTC

1

How to remove the missing old optical disks' VBoxGuestAdditions.iso after uninstalling & installing VirtualBox v7.0.16+?

Hello,

In my updated 64-bit W10 Pro. PC, I uninstalled my VirtualBox v7.0.14 from C:\winstuff\VirtualBox and installed v7.0.(16&18) into my custom C:\Program Files\VirtualBox7andUp. I noticed Oracle VM VirtualBox Manager's Tools' Optical disks tab shows missing old VBoxGuestAdditions.iso file from my uninstalled C:\winstuff\VirtualBox\VBoxGuestAdditions.iso. I am unable to remove this one. How do I delete it? https://forums.virtualbox.org/download/file.php?id=52466 for a screen shot.

Thank you for reading and hopefully answering soon. :)

4 Comments
2024/05/03
19:02 UTC

0

Frozen W7 guest VM screens when (upgrad/install)ing Guest Additions CD Images in my old 64-bit W7 HPE SP1 VM.

Hello,

I'm still having problems (install/upgrad)ing VirtualBox's guest Additions CD Images in my old 64-bit W7 HPE SP1 VM in my updated 64-bit W10 Pro. PC host. Upgrading guest Additions CD Images tools cause my guest VM session to freeze hard. I tried uninstalling guest Additions CD Images, rebooting, reinstalling, and rebooting but W7's splash boot up screen froze as shown in https://forums.virtualbox.org/download/file.php?id=52529

Logs: https://forums.virtualbox.org/download/file.php?id=52528

How do I fix this? Thank you for reading and hopefully answering soon. :)

5 Comments
2024/05/03
18:07 UTC

7

VirtualBox 7.0.18 (released May 07 2024)

1 Comment
2024/05/03
13:53 UTC

1

Online snapshot stays at 0%

Host is linux, guest is a windows server.
I tried taking a snapshot from the command line while the windows was up.
it just got stuck at 0%... then nothing for hours. I had to reboot the machine finally :(
Good news is that nothing happened, the guest restarted right away.

This is with the latest virtualbox.

0 Comments
2024/05/02
08:37 UTC

1

After GA installation virtual machine window hadn't resized to fit the host display.

  • VB Version: 7.0.14 r161095 (Qt5.15.2)
  • Host OS: Windows 11 Pro
  • Guest OS: Windows 11 Home
  • VT enabled
  • GA Version: 7.0.14 r161095

I had inserted the GA via Devices and both Upgraded guest additions and ran the CD in its drive, yet the VM window hadn't resized. https://postimg.cc/68TnmvsY

2 Comments
2024/05/01
15:45 UTC

1

Guests returning two different hashes against one file in Shared Folder

I found a weird case that really confuses me. I doubt it's a true bug -- more likely a failure to understand on my part.

I have two Guest VMs. Both are looking at the same Shared Folder on the host. The problem I'm not understanding is that the two guests are returning different MD5 and SHA256 hashes of the same file. The 64-bit host and the 64-bit guest agree. The 32-bit guest disagrees.

The files I'm testing against are on the host. Both machines have Shared Folders pointing to the same host directory. Since this hashing is a read-only operation, I shouldn't be running into any weird file-locking or race conditions. ( I think. )

Am I imagining things here? File hashes should be ( are ? ) always reliable.

Details

  • Host OS is Ubuntu 22.04 LTS 64-bit. Kernel 5.15.
  • VMM and VT-d are both enabled in BIOS.
  • VirtualBox 6.1.50_Ubuntu r161033
  • Original virtualbox-guest was 7.0.14-dfsg-1+b1 from the distro. Removed and replaced that with GuestAdditions from VirtualBox - no change.
  • Guest #1: Kali 2024.1 32-bit.
  • Guest #2: Kali 2024.1 64-bit.
  • Shared Folders - both to the same host directory
    • Read-write
    • Automount
    • Permanent
    • Access = Full
10 Comments
2024/04/30
16:40 UTC

1

VirtualBox unable to control a new VM on a remote ssh host?

For the last few hours I've been digging through all websites imaginable trying to find the functionality I believe has to be there, because the workflow seems far too common.

I am connecting to a server via ssh only, and my goal is to set up VirtualBox VMs on it. I'm easily able to both create and start a VM headlessly using VBoxManage, but I'm now stuck at trying to actually control it. Everywhere I look I see examples for how to ssh into a VM, with prerequisites being that an ssh server is running on it already. Even VBoxManage guestcontrol requires a username and password. Both of those options would be great, except I can't get into the VM to set those things up to begin with!

I'm genuinely baffled that I can't find this info anywhere, when I know it has to be somewhere because this is frankly too obvious of a feature to have.

2 Comments
2024/04/30
16:14 UTC

1

Error when trying to copy large VMDK file

Hey all! Been racking my brain like no other on this one. I have 2 hard drives I removed from an old Dell T130 server that was using VMWare and ESXi. The server is dead, so I'm using Ubuntu to try and recover the .flat files to get the data. I have been able to use a simple cp command to copy 4/5 .flat files ranging from 50gb to 100gb. My issue is I can't get the largest one, about 450gb to even start copying. \

My steps are mount the external HDD in devices in VB. I then go into terminal and use vmfs-fuse to mount the VMFS partition. I then navigate to the directory I need the .flat file from and then use cp to send it to my desktop to easily transfer it to my external SSD.

Everything worked flawlessly until that large .flat file, so I'm thinking maybe it's a space issue or potentially a limit on what cp can do?

I get this error: cp: error ’: Input/output error

My VM is provisioned with plenty of resources at 16gb ram 12 CPU cores and 750gb storage.

Any suggestions as to why I can't copy just this one file? I've tried various other small .log files and other files in the directories of the HD, and they copy no problem. I have tried rsync but it errors out too. The rsync error I get is "failed verification -- update discarded (will try again)". I would be happy to provide any screenshots or answer followup questions if it'll help you help me.

Virtual Box 7.0.16

VM - Ubuntu 22.04 with guest additions

Host - Windows 11 Pro

9 Comments
2024/04/30
15:14 UTC

Back To Top