Archives For Virtualbox

Virtualbox

Oracle Virtualbox 6.0.10 was released today with many improvements and fixes to Linux hosts and guests.

Virtualbox 6.0.10 release highlights:

  • Fix guest display resolution resize issue with recent Linux hosts.
  • Fixed guru meditation when raw mode is enabled
  • Fixed possible VM crash under certain circumstances
  • Fixed “unrecoverable error” problems in OHCI emulation.
  • USB: improve captured device identification
  • Support UEFI secure boot driver signing on Ubuntu and Debian hosts
  • Fix focus grabbing problems with recent Qt versions.
  • Share folder fixes for Windows hosts and guests.
  • Linux kernel module build fixes for various kernels
  • Remember Linux guest screen size after a guest reboot

How to Install Virtualbox 6.0.10 in Ubuntu:

For all current Ubuntu releases, you can either download the official .deb binary from the link below:

Download Virtualbox for Linux

or install VBox from its official apt repository:

1. Open terminal (Ctrl+Alt+T), paste below command and run to add the repository:

sudo sh -c 'echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Linux Mint, you HAVE to replace $(lsb_release -sc) in the command with bionic for Mint 19.x, or xenial for Mint 18.x.

2. Then download and install the repository key via command:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

3. Refresh system package cache via command:

sudo apt update

4. Finally install Virtualbox 6.0:

sudo apt install virtualbox-6.0

Uninstall:

To remove it, simply run command in terminal:

sudo apt remove --autoremove virtualbox-6.0

And go to Software & Updates -> Other Software to remove apt repositories.

Virtualbox

This quick tutorial shows how to share a folder in Virtualbox Ubuntu host and get access within Windows virtual machine.

One of the top things after installed a virtual machine via VirtualBox is how to transfer files between host OS and guest OS. And this can be done via Shared Folder feature.

1. In Virtualbox (6.0.8 in the case), open Settings of the Windows Guest OS. Then do:

  • Navigate to Shared Folders in left pane.
  • Click ‘Adds new shared folder’ button in the right.
  • In next pop-up dialog do:
    • Folder Path, choose a folder in the Host OS to share with.
    • Folder Name, auto generated after chosen folder.
    • Enable ‘Auto-mount‘.
    • Enable ‘Read-only’ if you DON’T want to add/edit the folder files in Guest.
    • Mount point:, leave it empty.

2. Boot up the Guest OS (Windows 7 in the case), and then go to menu Devices -> Insert Guest Additions CD image.

If you don’t see the Guest window menu, press right-Ctrl + C on keyboard.

3. Open Computer, you’ll see CD Driver marked as ‘VirtualBox Guest’.

4. Go to the CD Driver and click install the exe file to bring up guest addition install wizard.

5. Follow the install wizard until done.

6. Finally reboot the Windows guest OS, and shared folder should be there in ‘Computer’

Virtualbox

Oracle announced new major Virtualbox 6.0.0 a few days ago with many new features and various bug-fixes.

Virtualbox 6.0 release highlights:

  • Implemented support for exporting virtual machine to Oracle Cloud Infrastructure
  • Greatly improved HiDPI and scaling support
  • Rework of user interface
  • A new file manager enabling user to control the guest file system and copy files between host and guest.
  • Major update of 3D graphics support for Windows guests, and VMSVGA 3D graphics device emulation on Linux
  • Added support for surround speaker setups
  • Added utility vboximg-mount on Apple hosts
  • Added support for using Hyper-V as the fallback execution core on Windows host
  • Support for Linux 4.20.

How to Install Virtualbox 6.0 in Ubuntu:

For all current Ubuntu releases, you can either download the official .deb binary from the link below:

Download Virtualbox for Linux

or install VBox from its official apt repository:

1. Open terminal (Ctrl+Alt+T), paste below command and run to add the repository:

sudo sh -c 'echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

For Linux Mint, you HAVE to replace $(lsb_release -sc) in the command with bionic for Mint 19.x, or xenial for Mint 18.x.

2. Then download and install the repository key via command:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

3. Refresh system package cache via command:

sudo apt update

4. Finally install Virtualbox 6.0:

sudo apt install virtualbox-6.0

Uninstall:

To remove it, simply run command in terminal:

sudo apt remove --autoremove virtualbox-6.0

And go to Software & Updates -> Other Software to remove apt repositories.

Virtualbox

Oracle Virtualbox 5.2 got a new maintenance release a few hours ago with various video driver and build fixes for Linux additions.

Virtualbox 5.2.20 includes following changes:

  • VMM: fixed task switches triggered by INTn instruction
  • Storage: fixed connecting to certain iSCSI targets
  • Storage: fixed handling of flush requests when configured to be ignored when the host I/O cache is used
  • Drag and drop:
    • implemented support for UNC paths
    • fixed resuming operation when restoring from a saved state
    • fixed copying files with long file names (> 248 characters) from guests to Windows hosts
    • fixed handling files with Unicode names on Windows guests
    • fixed copying empty (0-byte) files to / from guests
    • fixed copying over files from hosts to Linux guests
  • Networking: restore connectivity for guests bridged to host adapters that were unavailable temporarily
  • Guest Control: fixed hang when using --wait-stdout and/or --wait-stderr. Needs updating Guest Additions
  • Video recording: fixed starting video recording on VM power up
  • Linux Additions:
    • various build fixes for kernel modules on recent distributions, and made sure modules end up in initramfs files
    • build fixes for 4.19, thank you Larry Finger
    • various small fixes for video driver

How to Install Virtualbox 5.2.20 in Ubuntu:

1. Remove old Virtualbox if any, by opening terminal (Ctrl+Alt+T) and running command:

sudo apt-get remove --autoremove virtualbox virtualbox-5.1

2. Download & install the latest Virtualbox package from the link below:

Download VirtualBox for Linux

Finally install the downloaded package via Gdebi (install it via Ubuntu Software) package manager.

3. If you’ve added the Oracle VBox repository, you can directly install the 5.2 release from Synaptic Package Manager or via apt command.

To add the repository, do:

Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

for Linux Mint 19, replace $(lsb_release -sc) with bionic in the code.

Virtualbox Official Linux repository

Setup the keyring so to trust the updates from the repository:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

Finally install virtualbox 5.2 via commands:

sudo apt-get update

sudo apt-get install virtualbox-5.2

With the repository added, you can simply install the future 5.2 series updates via Software Updater.

Virtualbox

Oracle VirtualBox 5.2.16, the eighth maintenance release for the 5.2 stable series, was released yesterday with various fixes.

Virtualbox 5.2.16 release highlights:

  • OVF: case insensitive comparison of manifest attribute values, to improve compatibility
  • Prebuilt RPM fails to install on openSUSE Leap 15.0 and Tumbleweed
  • Linux: various build fixes for distribution builds, thank you Gianfranco Costamagna

How to Install Virtualbox 5.2.16 in Ubuntu:

1. If you’re still running with VirtualBox 5.1.x, open terminal via Ctrl+Alt+T or from application launcher. Remove old Virtualbox via command:

sudo apt-get remove --autoremove virtualbox virtualbox-5.1

2. Download & install the latest Virtualbox package from the link below:

Download VirtualBox for Linux

Finally install the downloaded package via Gdebi (install it via Ubuntu Software) package manager.

3. If you’ve added the Oracle VBox repository, you can directly install the 5.2 release from Synaptic Package Manager or via apt command, after removing the old version.

To add the repository, do:

Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

for Linux Mint 19, replace $(lsb_release -sc) with bionic in the code.

Virtualbox Official Linux repository

Setup the keyring so to trust the updates from the repository:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

Finally install virtualbox 5.2 via commands:

sudo apt-get update

sudo apt-get install virtualbox-5.2

With the repository added, you can simply install the future 5.2 series updates via Software Updater.