New answers tagged

0

I ran into the same problem yesterday after updating. I haven't been able to fix it, but I figured out a way to avoid it, by using i3 as my GUI instead of the the one that comes standard with Ubuntu. https://i3wm.org/docs/repositories.html


0

First of all you have to uninstall all currently installed virtualbox related packages. You can do this by typing sudo apt-get purge virtualbox* in a terminal window. Right after that, you can follow this guide to install the latest Virtualbox: Go to the official Virtualbox site: https://www.virtualbox.org/wiki/Linux_Downloads and follow the instructions ...


1

You need to separate the commands using ; (second command would be independent of the first) or && (second would be run only if the first one succeeds). Then, you need to use the shell with command grouping or use a subshell to make the commands as one (only shell) to nohup and run the commands inside the shell process: nohup bash -c '{ command_1 &...


1

You need to disable the ccsm "window decoration" as it conflicts with the newest unity plugin. Also, you need to enable the unity plugin in ccsm. When using unity, all you need to do is click and drag down from the top panel to grab a window to move it. I have found that alt button1 is a good option for the move plugin that works. Just press alt and hold ...


0

Addon to @kdmurray answer. If you get error on: VBoxManage modifyvm <uuid|vmname> --autostart-enabled on To solve this, I had to manually create files "username".start and "username".stop with: sudo touch "username".start sudo touch "username".stop And change owner with: sudo chown "username" "username".start sudo chown "username" "username"....


0

I had already created 3 virtual machine before 3 months. Now I want to create VM4. In VM4 creation it creation its creating problem. The error is Error: Unable to open config file: /etc/xen/guest4.cfg Usage: xm create [options] [vars] 1) #sudo apt-get install xen-hypervisor-amd64 2) #sudo sed -i 's/GRUB_DEFAULT=.+/GRUB_DEFAULT="Xen 4.1-amd64"/' /...


0

If you recently installed a new kernel version, try the earlier one. Kernel vmlinuz-4.2.0-42-generic doesnt work for me, but vmlinuz-4.2.0-41-generic works. Apparently, there is no vboxdrv version for vmlinuz-4.2.0-42-generic . I'm using VirtualBox 5.1.


0

Not sure if this was the direct cause of this issue, but I had just updated to VB 5.1.2 and that seemed to be causing some issues. They have a separate download for Guest Additions for Linux guests that might have solved this issue. Instead, I downloaded a slightly older version and that worked for me.


0

The apt-get install codeblocks command doesn't install the latest version of codeblocks. I installed using the PPA from the website and it worked


1

This helped me: apt-get update apt-get install linux-headers-$(uname -r) dpkg-reconfigure virtualbox-dkms modprobe vboxdrv


0

I'm not entirely sure what you're trying to ask here. Your problem might be that you need to install some things (I think they're drivers, not really sure), try sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r) on the ubuntu guest to install these. (This worked for me) Also, make sure you have the right version of ...


0

Attaching a raw disk image should be possible by creating a raw vmdk. In the VirtualBox images directory (like /home//VirtualBox) VBoxManage internalcommands createrawvmdk -filename rawtest.vmdk -rawdisk /path/to/disk.img Attaching the virtual disk to a virtual virtual machine should be possible after that. The path /path/to/disk.img can also point to a ...


1

Resolved! The problem was that I was trying to hook the iso to my SATA controller, instead to my IDE controller. So: Remove the first blank IDE controller Add gparted iso to the IDE controller. Make sure it's set to Primary Master (not sure if mandatory, this worked for me).


0

If you have ICH9 available, switch to that instead of the PIIX3 chipset (Settings->System->Motherboard). Support for it is 'Experimental' by VirtualBox, but it's stable on my Mac Book Pro host.


0

I recently had the same issue after upgrading Virtualbox. The linux hosts freeze after the host when into power mode savings (I suspect there is an issue with Vbox and host OS power mode). I could only see the display and switch between a couple of applications after several attempts. But the linux guest became completely unresponsive. Windows host did not ...


0

follow below link. This will solve your problem. I have done same step on yesterday. Please also tell version of os. sudo nano /etc/apt/sources.list and insert below line in it deb http://download.virtualbox.org/virtualbox/debian xenial contrib then run command sudo apt-get update then below command sudo apt-get install linux-headers-$(uname -r) build-...


1

Yes this is entirely possible with an image of an existing Windows OS to use as the virtual disk. It would also be possible with a Windows installation disk/iso file. For either type of installation, you'll require the product keys for the OS. The vboxmanage commands are going to be your friends in this endeavour, they're described here. You'll be running ...


0

I actually ran kali linux and puppy linux thru virtualbox (all three should be capitalized) last night simultaneously!


5

This is a global VirtualBox property, and can be set with the following command: vboxmanage setproperty machinefolder /path/to/directory/ Be aware that this will not move already created VMs, it will affect only VMs which are created after the machinefolder property has been set.


1

The only way I found to solve my problem was: $ sudo apt-get remove dkms build-essential linux-headers-* $ sudo apt-get install dkms build-essential linux-headers-$(uname -r) , then I tried to install the guest additions again and it worked perfectly after rebooting the system.


1

You need to disable Secure Boot in BIOS settings. See this question for more details. The vboxdrv is not signed and Secure Boot does not let to load it.


0

When in bridged mode, for network purposes the virtual machine behaves exactly as if it were another physical machine on the network. So, in order to connect it to your office wifi, you need to ask your management about how to connect a new machine to it (depending on their policies, it may not even be possible).


-1

You should prefer the version maintained by Ubuntu APT unless you have special needs. Install VirtualBox using APT: sudo apt-get install virtualbox


0

If you have good amount of memory, you probably could run it. However, it would run on a very slow performance.


1

That is because there is not a package in the standard repositories with such a name, to get the latest in the repositories then run: sudo apt-get install virtualbox If you already have the virtualbox .deb file you wish to install it then simply cd into the relevant folder and run (<package-name> being the name of the .deb file you wish to install): ...


0

First of all make sure that you have completely removed older VirtualBox versions before installing VirtualBox-5.0 ! To uninstall VirtualBox sudo apt-get purge "^virtualbox-.*" Run following command to update the software repositories sudo apt-get update Run following command to clean up sudo apt-get autoremove | sudo apt-get autoclean | sudo apt-...


0

This workaround worked for me: Shutdown the machine Create a new drive via the admin interface with the size you want Use VBoxManage clonemedium with the --existing flag Not sure why the VirtualBox guys couldn't use the above to implement this instead of throwing VBOX_E_NOT_SUPPORTED... at least link to this :)


0

Could somebody give a link to genymotion archive for downloading tool ecpecially for ubuntu 14.04? I couldn't find it


0

Reinstalling Guest Additions solved it. cd /media/your_user/VBOXADDITIONS_x.x.xx_xxxxxx sudo ./VBoxLinuxAdditions.run sudo reboot See How do I install Guest Additions in a VirtualBox VM? for more information.


1

Unfortunately we can not "shrink" a virtual hard drive that we accidentally grew too much with using the VBoxManage command. The only means of repair would be to create a new virtual drive of appropriate desired size and copy the data over. Still, there is no harm done on creating such a huge drive as long as we do not actually partition and use it. The ...


0

you can do it by File -> Preference -> network -> add host only network and add 2nd adapter on virtual device settings -> network -> adapter2 click checkbox and select host only adapter


0

I did a test and found that if I manually change the IP to the same IP the DHCP gives then my connection is fine. I added 1 to the IP and it was still fine. I went close to my desired IP and it was still fine. Once I use 192.168.1.200 I get the same issues. Current Solution The IP in question has been manually "leased" by the router router before. I say "...


0

I had the same problem and manual installation with sudo apt-get didn't work for me. Someone said different Virtual Box has different guests additions version so it's better install the guest additions that comes with Virtual Box. So I installed it in this way: 1) in ubuntu window choose "Devices" -> "Insert Guest Additions CD image..." 2) login ubuntu 3) ...


1

I experienced exactly the same issue when I installed the dkms driver from the Ubuntu repositories via apt-get. Simply reinstalling the Guest Additions using the VirtualBox Guest Additions CD solved it.


0

Create a script called 90_virtualbox in /etc/pm/sleep.d: #!/bin/sh # # 90virtualbox: scan for active virtual machines and pause them on host suspend VBoxManage list runningvms | while read line; do VBoxManage controlvm "$(expr match "$line" '"\(.*\)"')" pause; done


1

I found the following procedure listed on a couple of forums and websites. Just tried it out with my iPhone 5S on a Windows 7 VM with a Ubuntu 14.04 host and it works fine. Install VirtualBox and the VirtualBox Extension Pack. Find them both here. Create a Windows virtual machine. On your host Ubuntu machine, run the following command - sudo usermod -a -...


0

There are many helpful posts here and elsewhere, and I'll add links here. The remainder of this answer is a log of what worked for me ... I re-installed VirtualBox, and following advice here and 9.9.1.2. Access to individual physical hard disk partitions I created a VDMK file to access the W7 partition. Tried to create a VM (more than once) and got ...


0

Create the RSA Key Pair The first step is to create the key pair on the client machine (In your case it is your computer outside virtual box): ssh-keygen -t rsa Store the Keys and Passphrase Once you have entered the ssh-keygen command, you will get a few more questions: Enter file in which to save the key (/home/demo/.ssh/id_rsa): You can press enter ...


0

None of the answers mention simple solution which works for me. sudo /usr/lib/virtualbox/vboxdrv.sh setup I have Ubuntu 15.10 and Oracle VM 5.0.20. I've found the solution in vbox ticket.


0

You probably should learn about packaging. Almost never would a wise person "build from source" and then try to wrestle that into a package. Instead, one would fiddle around with files in the source directory (the debian directory) and build a package with dpkg-buildpackage -rfakeroot. If none of that makes sense, you seriously need to learn about ...


0

Run "debuild -us -uc" in the main folder. You may also need to install some additional packages to get debuild to work, but it should tell you what it's missing.


1

So I haven't had a lot of luck making this work yet, but this is how I was able to get the appropriate kernel source from the git repository. It requires a little trial and error, but it seemed to work for me. I haven't been able yet to get the virtualbox drivers to compile properly yet upon installation, so I wouldn't mind a hand if someone gets this to ...


0

I was able to solve my error changing default.conf file in /etc/apache2/sites-available folder and creating directories to hold 'Access.log' file. So I created VirtualHost last line CustomLog combined changed as CustomLog /var/log/access/website/access.log combined Then default.conf file was as follows... <VirtualHost 192.168.1.100> ServerAdmin ...


0

All you need to do is run this command in terminal sudo modprobe vboxdrv


1

I solved this (on Ubuntu 16.04) by upgrading packages and restarting: sudo apt-get update sudo apt-get upgrade sudo reboot


0

Found out the problem In network Setting>Advance>Choose PCNET FAST III as adapter type & it started working


-1

Only Enable EFI checked allowed me to be able to install, just saying. It's on one the tabs in system, where I was looking about the nested option. (I must provide a more complete answer, with the exact details. Latter.)


1

Thanks @JonasC, I was able to reduce it quite easily. First you need R.I.P.-linux or any other rescue system with zerofree util. Boot this rescue system and run zerofree -v /dev/sda1 Then stop virtual machine and run on host vboxmanage modifyhd /path/to/thedisk.vdi --compact Result is obvious: $ls -sh Ubuntu.vdi 12G Ubuntu.vdi $ vboxmanage ...


0

I think you can just type sudo apt-get install kubuntu-desktop , since you are using ubuntu 16.04, i think the command that you we're trying is been obsolete that it won't really work on the new release. please try! I'm also using ubuntu 16.04 LTS and successfully installed KDE on my desktop using that command.


0

The short answer is is that VDI system requires space. More on: https://forums.virtualbox.org/viewtopic.php?t=8046 Why would you want to reduce the the actual size? The actual size is not the "actual" size of the .vdi file, but the actual size of the virtual disk usable inside Virtual Machine. try opening the terminal and type: ls -R ~/VirtualBox VMs you'll ...



Top 50 recent answers are included