Showing posts with label VirtualBox. Show all posts
Showing posts with label VirtualBox. Show all posts

Monday, April 8, 2019

Enable USB 2.0/3.0 supported for VirtualBox

By default, Oracle VirtualBox support USB 1.1 only. This video show how to enable USB 2.0/3.0 for VirtualBox 6.0.4/Windows 10 by installing VirtualBox Extension Pack.


Visit VirtualBox Downloads page, scroll down to download and install VirtualBox 6.0.4 Oracle VM VirtualBox Extension Pack.

Support for USB 2.0 and USB 3.0 devices, VirtualBox RDP, disk encryption, NVMe and PXE boot for Intel cards. See this chapter from the User Manual for an introduction to this Extension Pack. The Extension Pack binaries are released under the VirtualBox Personal Use and Evaluation License (PUEL). Please install the same version extension pack as your installed version of VirtualBox.




Wednesday, January 30, 2019

Install Linux Mint 19.1 Tessa - Xfce (64-bit) on VirtuaBox 6/Windows 10

To download Linux Mint, visit https://linuxmint.com/download.php. The current release is 19.1.

This video show steps to download and install Linux Mint 19.1 Tessa - Xfce (64-bit) on Windows 10 with VirtualBox 6.

And then, you are suggested to install Guest Additions, for better performance and functions.



may be interested:
Install OpenJDK on Linux Mint/Ubuntu
Install JetBrains Toolbox App on Linux, and also Android Studio and IntelliJ IDEA (Java IDE)



Saturday, May 20, 2017

Install Ubuntu 17.04 on Windows 10/Oracle VirtualBox


This video show how to install Install Ubuntu 17.04 on Windows 10 with Oracle VirtualBox 5.1. Basically, the steps is very straightforward.


But...after setup, I cannot google in the browser. And it was found some sites can be reached, some sites cannot. Even cannot run apt-get update. After some searching, I found it's related to DNSSEC in /etc/systemd/resolved.conf.

To fix it, edit the file /etc/systemd/resolved.conf:
$ sudo nano /etc/systemd/resolved.conf

uncomment #DNSSEC=allow-downgrade and replace allow-downgrade with off .


Save and Exit
Reboot

This video show how:


reference:
This page have a good explanation: Hectic Geek - Websites Not Loading (dns issue) After Installing Ubuntu 17.04? [fix]

Install Guest Addition:
The Guest Additions are designed to be installed inside a virtual machine after the guest operating system has been installed. They consist of device drivers and system applications that optimize the guest operating system for better performance and usability. (https://www.virtualbox.org/manual/ch04.html)

It's strongly recommended to install Guest Addition. In case of Ubuntu 17.04, simple click Devices on VirtualBox menu bar, and click Insert Guest Addition CD image...



Share folder between host Windows 10 and guest Ubuntu 17.04:
Starting with version 4.0, VirtualBox can mount shared folders automatically, at your option (link). This video show how to set auto-mount share folder in host Windows 10, and also add user to vboxsf group in guest Ubuntu to access the share folder. (Guest Addition is need)


Thursday, June 23, 2016

Install Android Studio 2.1.2 on Linux Mint 17.3 Rosa


This video show how to install Android Studio (currently 2.1.2) on Linux Mint 17.3 Rosa run on VirtualBox/Windows 10.

Before install Android Studio, have to install jdk. Refer to Install Oracle Java8 on Linux Mint 17.3 Rosa.


Enter in Terminal:
$ sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
$ sudo apt update
$ sudo apt install ubuntu-make
$ umake android

After reboot, launcher icon of Android Studio will appear in Linux Mint Menu.



Install Linux Mint 17.3 Rosa on VirtualBox/Windows 10


This video show how to install Install Linux Mint 17.3 Rosa on Oracle VirtualBox/Windows 10.

Download Linux Mint iso file from https://www.linuxmint.com/.


The video also show how to enable 3D Acceleration in VirtualBox. (Please note: In my experience of using Ubuntu on VirtualBox/Windows 10, sometimes will have problem when 3D Acceleration enabled.)


Friday, April 22, 2016

Install Ubuntu 16.04 LTS on VirtualBox/Windows 10


- Visit Ubuntu web site to download the ISO of Ubuntu 16.04 LTS desktop.


Follow the steps in this video to install Ubuntu 16.04 LTS on VirtualBox/Windows 10.


After Ubuntu installed, it's strongly recommend to install Guest Additions Module, such that your virtual Ubuntu can be re-size and  fit your screen.




Install Ubuntu-MATE 16.04 on VirtualBox/Windows 10

Ubuntu-MATE is another community developed Ubuntu based operating system that beautifully integrates the MATE desktop.


glmark2 test on VirtualBox/Ubuntu-MATE 16.04


glmark2-es2 test on VirtualBox/Ubuntu-MATE 16.04


On ASUS Notbook Aspire E 15, E5-573
CPU: Intel Core i5-5200U
with 3D Acceleration enabled in VirtualBox.


Saturday, November 14, 2015

VirtualBox auto mount shared folder

The post demonstrate how to "Install Ubuntu GNOME 15.10 on Windows 10/VirtualBox", and also share folder between Windows host and Ubuntu guest user folder, in command line/shell script.


Starting with version 4.0, VirtualBox can mount shared folders automatically. In case on Linux guests, auto-mounted shared folders are mounted into the /media directory, along with the prefix sf_. For example, the shared folder myfiles would be mounted to /media/sf_myfiles on Linux and /mnt/sf_myfiles on Solaris.

Access to auto-mounted shared folders is only granted to the user group vboxsf, which is created by the VirtualBox Guest Additions installer. Hence guest users have to be member of that group to have read/write access or to have read-only access in case the folder is not mapped writable.

(reference: https://www.virtualbox.org/manual/ch04.html#sf_mount_auto)

In order to use the share folder feature, you have to "Insert Guest Additions CD images".


The below video show how to create share folder between host Windows (D:\vbShare) and guest Ubuntu Linux (/media/sf_vbShare), and add current user to the vboxsf group with the command:
$ sudo usermod -a -G vboxsf eric
where:
vboxsf is the user group own the shared folder
eric is the the current user


Sunday, October 25, 2015

Setup Hardware Devices debugging for Android Studio on Ubuntu 15.10

This video show how to setup /etc/udev/rules.d/51-android.rules in Ubuntu (behind VirtualBox) to enable hardware device debugging in Android Studio.


The development platform is 64-bit Ubuntu-GNOME 15.10 running in VirtualBox, with Android Studio installed with Ubuntu Make (umake).

To enable hardware device debugging in Ubuntu, you have to create /etc/udev/rules.d/51-android.rules file to add device IDs for your debugging devices. (refer: Android Developers Document Using Hardware Devices - Setting up a Device for Development)

Create /etc/udev/rules.d/51-android.rules file with sudo right, add the line and save:
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
where "18d1" is the USB Vendor ID for Google, Nexus 7 in my case.

Run the command:
$ sudo chmod a+r /etc/udev/rules.d/51-android.rules

This video show how to, behind VirtualBox.

Saturday, October 24, 2015

Download and Install JDK8 on Ubuntu 15.10 using update-alternatives, and also set JAVA_HOME


This post show how to Install JDK8 on Ubuntu 15.10 (running in VirtualBox hosted on Windows 10).

To download Oracle JDK:
- visit Java SE Downloads page.
- Click to download Java Platform (JDK).
- Accept agreement and sselect download file, jdk-8u65-linux-x64.tar.gz.

Download and unpack in your local storage. /home/eric/jdk1.8.0_65 folder for me.

Setup java and javac update-alternatives:
Run the command:
$ sudo update-alternatives --install /usr/bin/javac javac /home/eric/jdk1.8.0_65/bin/javac 1
$ sudo update-alternatives --install /usr/bin/java java /home/eric/jdk1.8.0_65/bin/java 1

$ sudo update-alternatives --config javac
$ sudo update-alternatives --config java

Where /home/eric/jdk1.8.0_65 is the folder of jdk.

Check the video.


Set JAVA_HOME also:

Setup JAVA_HOME and path to JDK on Linux (Ubuntu in this example), edit the file .bashrc
$ nano .bashrc

Add the line:
export JAVA_HOME=<path to jdk>
export PATH=$JAVA_HOME/bin:$PATH

Where <path to jdk> is the path to the installed JDK.




Alternatively, you can install also Install Oracle java8 on Ubuntu 15.10 via PPA.

Friday, October 23, 2015

Share Clipboard and Drag'n'Drop between VirtualBox guest Linux and host Windows

In VirtualBox, with Addition CD Image installed (refer to the post "Install Ubuntu 15.10 on Windows 10/VirtualBox"), you can enable the feature of Shared Clipboard and Drop'n'Dop to copy/cut text between host and guest..


In my case:
Host on Windows 10.
Guest running Ubuntu 15.10.

I can use both clipboard and Drag'n'Dop from host Windows 10 to guest Ubuntu, clipboard from guest Ubuntu to host Windows. BUT NOT Drag'n'Drop from guest Ubuntu to host Windows, it make the guest Ubuntu hang-up!


Install Ubuntu GNOME 15.10 on Windows 10/VirtualBox

Ubuntu GNOME is an official flavor of Ubuntu, featuring the GNOME desktop environment. This video show how to install Ubuntu GNOME 15.10 on Windows 10 with VirtualBox. (Basically, it's same as Install Ubuntu 15.10 on Windows 10/VirtualBox).


Download Ubuntu GNOME 15.10 and install on VirtualBox.


Insert Guest Additions CD Image to improve display resolution.


Create shared folder between guest Ubuntu GNOME 15.10 and host Windows 10.

To share folder, setup Shared Folder in VirtualBox Setting of the guest, assign a machine folder in host. Then run the command in guest Ubuntu Linux
$ sudo mount -t vboxsf vbShare mntShare

where:
vbShare is the shared folder in host, and assigned as Shared Folder in VirtualBox Setting of the guest.
mntShare is the folder in guest Ubuntu Linux.


remark@2015-11-14:
Starting with version 4.0, VirtualBox can mount shared folders automatically. This post show how to create share folder between host Windows (D:\vbShare) and guest Ubuntu Linux (/media/sf_vbShare), and add current user to the vboxsf group.

Install Ubuntu 15.10 on Windows 10/VirtualBox


Ubuntu 15.10 is now available, this video show how to install it on Windows 10 with VirtualBox.


With Addition CD Image installed, we can improve screen resolution and share folder between guest Linux and host running Windows.


This video show how to, and the screen reesolution improved.


To share folder, setup Shared Folder in VirtualBox Setting of the guest, assign a machine folder in host. Then run the command in guest Ubuntu Linux
sudo mount -t vboxsf vbShare mntShare

where:
vbShare is the shared folder in host, and assigned as Shared Folder in VirtualBox Setting of the guest.
mntShare is the folder in guest Ubuntu Linux.




Related:
- Install Ubuntu GNOME 15.10 on Windows 10/VirtualBox

Related features:
Record screen video of VirtualBox guest OS
Share Clipboard and Drag'n'Drop between VirtualBox guest Linux and host Windows


Wednesday, October 7, 2015

Record screen video of VirtualBox guest OS



Move your mouse over the video camera icon on the bottom-right of VirtualBox status bar, it will show the destination (on host os) of the recorded video.
- Right click on the video camera icon, select Video Capture to start recording.
- The icon will change to a rolling film.
- Right click on the rolling film icon, select Video Capture again to stop recording.

Alternatively, you can click View of VirtualBox top menu bar, and select Video Capture to start recording. Then click View and select Video Capture again to stop recording.

Saturday, September 5, 2015

Install Lubuntu 15.04 (Vivid Vervet) Desktop on Windows 10/VirtualBox


Below videos show how install Lubuntu 15.04 (Vivid Vervet) Desktop, 32-bit and 64 bit, on Windows 10/Oracle VirtualBox.

Lubuntu 15.04 32-bit PC (Intel x86) on Windows 10/VirtualBox



Lubuntu 15.04 64-bit PC (AMD64) on Windows 10/VirtualBox



~ Lubuntu 15.04 (Vivid Vervet) Download page

Tuesday, September 1, 2015

Install Ubuntu MATE 15.04 on Windows 10/VirtualBox

Ubuntu MATE 15.04 run on Windows 10/VirtualBox
This video show installing 32-bit Ubuntu MATE 15.04 PC (Intel x86) on 64-bit Windows 10/VirtualBox.


Download links:
Oracle Virtual Box: https://www.virtualbox.org/wiki/Downloads
Ubuntu MATE 15.04: https://ubuntu-mate.org/vivid/

Related:
Install Ubuntu Linux on Windows 10/VirtualBox

Install Ubuntu Linux on Windows 10/VirtualBox

Install Ubuntu 14.04 LTS on Windows 10/VirtualBox:
Ubuntu run in Windows 10/Oracle VirtualBox
This video show how to install Ubuntu 14.04 on Windows 10/Oracle VirtualBox.


Download links:
Oracle Virtual Box: https://www.virtualbox.org/wiki/Downloads
Ubuntu Desktop: http://www.ubuntu.com/download/desktop

Set resolution of Ubuntu run in VirtualBox


After installed, your guest Ubuntu will run in low resolution.
To fix it"
- click "Devices" on the VirtualBox menu
- click "Insert Guest Additions CD image..."
- follow the steps
- reboot your guest Ubuntu OS.


Install Ubuntu 15.04 (Vivid Vervet) on Windows 10/VirtualBox:



Download link: http://releases.ubuntu.com/15.04/


Related:
Install Ubuntu MATE 15.04 on Windows 10/VirtualBox
Install 32-bit/64-bit Lubuntu 15.04 (Vivid Vervet) Desktop on Windows 10/VirtualBox
Install Ubuntu 15.10 on Windows 10/VirtualBox
Install Ubuntu GNOME 15.10 on Windows 10/VirtualBox


Friday, August 15, 2014

Install VirtualBox 4.3 on Ubuntu 14.04 from repository source

This post show how to install VirtualBox 4.3 on Ubuntu 14.04, from repository.




The list of repository sources can be found at https://www.virtualbox.org/wiki/Linux_Downloads. For 14.04 ("Trusty Tahr"), it is "deb http://download.virtualbox.org/virtualbox/debian trusty contrib".



Run the command to add apt repository to your sources list:
$ sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian trusty contrib"

Before update apt source list, you have to add Oracle public key. Download the Oracle public key for apt-secure (oracle_vbox.asc) from the same page. It should be like this.

Then run the command:
sudo apt-key add oracle_vbox.asc

Update apt-get and install VirtualBox 4.3:
$ sudo apt-get update
$ sudo apt-get install virtualbox-4.3