Search blog

Showing posts with label VirtualBox (VM). Show all posts
Showing posts with label VirtualBox (VM). Show all posts

Monday, May 14, 2018

Download Ubuntu 18.04 Bionic Beaver Virtual Disk Image (VDI) File for VirtualBox

I was trying Ubuntu 18.04 today on my VirtualBox, and created this VDI file. Sharing it with all here:

Download Link: Ubuntu 18.04 VDI File
Username: virtualbox
Password: ubuntu1804

NOTE:
  • VB Guest Addition Tool is not installed. So you will have to install it. 
  • Variety wallpaper & Cairo Dock app has been installed as bonus.

Saturday, May 27, 2017

[SOLVED] - VirtualBox Not Updating Due To Error "Breaks existing package..."

The 'Breaks existing package' error usually happens when you are trying to update VirtualBox from say version 5.0.x to 5.1.x. To resolve this issue you will first have to uninstall VirtualBox. Open your terminal and enter the commands below:

 sudo apt-get purge virtualbox-*  

Now install VirtualBox using the code below. But first find the version number of the latest VirtualBox package available by visiting the following page: https://www.virtualbox.org/wiki/Downloads. When I checked the latest VirtualBox version available was: VirtualBox 5.1.22.

 sudo apt-get update  
 sudo apt-get install virtualbox-5.1.22   

After upgrading VirtualBox you will also have to update your Extension Pack. You can download the Extension Pack from the aforementioned page.

[SOLVED] - VirtualBox Not Updating Due To Error "Breaks existing package..."

Tuesday, March 31, 2015

[[SOLVED]] - Accidentally Deleted Snapshot in VirtualBox and OS not Booting in Ubuntu 14.04

If you happen to accidentally delete your 'Snapshot' files and have been getting an error as - 'vd: error verr_file_not_found opening image file;' read further for the solution:


If your VM is in the 'saved state' first you will have to the discard the saved state to make any changes. To do so in your VirtualBox Manager go to Machine and then select 'Discard saved states' or press 'CTRL+J.' As the prompt indicates this will be equivalent to switching off your system and now you can make the required changes.

Now go to File menu and select 'Virtual Media Manager' or press 'CTRL+D.' Release the snapshot displayed with a red mark and also Delete it.


Now you will have to select the original 'vdi file' that was created during your installation process. To do this Select Modify and go to the location where you have installed your VirtualBox and select the 'vdi file'  and Restart.


Your problem should be RESOLVED now.

Enabling USB WiFi Network Adapter in VirtualBox with Kali Linux as Guest OS


I found enabling USB WiFi Adapter in Window 7 much simpler than Linux, precisely Kali Linux. Not that I couldn't do it in Kali but after sometime the connection would drop. But with Windows 7 it didn't take me a fraction of time compared to Kali and with the method I discovered the connection is also not dropping in Kali now.

So here's how to do it with Kali Linux as Guest OS. You can also use the same technique while using other OS such as Windows as Guest OS:

1. First make sure you have  added yourself to the user group 'vboxusers'; else you will be unable to view your Wireless USB Network Adapter under the  USB Devices list.

2. Now you can select your Network Adapter by going to --> Devices -->  USB Devices --> Select your Network Adapter here

Now to save yourself from your 'connection getting dropped' every now and then, make sure you have disabled your Internet connection from your Host OS. See the image below.


To confirm your WLAN setup Open your terminal and type:


 ifconfig  

You should be seeing something like wlan0 along with the details as in the image above.

Monday, March 9, 2015

How to Update Oracle VM VirtualBox in Ubuntu 14.04

Updating to the latest version of VirtualBox:

  1. Download the latest version of VirtualBox at: https://www.virtualbox.org/wiki/Downloads.
  2. Right Click on the Downloaded Package and Select 'Open With > Ubuntu Software Center.'
  3. Now VirtualBox should be Updated.

Once you Update VirtualBox and Open it you will get a prompt to Update your Guest Additions as well. Simply follow the instructions in the simultaneous dialog box that prompts in your screen and Update the Guest Additions as well.

Friday, January 9, 2015

Sharing Drive/File/Folder in VirtualBox with Ubuntu as Host and Kali Linux or Windows as Guest OS

1. To Share Drive/Folder in Kali Linux as Guest OS:

First make sure your Guest OS is turned off else you won't be able to make the changes.


 Then on your VirtulaBox Management Page make the following changes as shown in the above image or continue to read below:
  1. Click on Settings
  2. Click on Shared Folders
  3. In 'Folder Path' select the desired Drive/Folder/File
  4. If you just want to read the files from your Guest OS the select Read-only else if you want to read/write leave it as it is.
  5. Give a name to your folder in 'Folder Name'.
  6. Select Auto-mount if you would like to mount your drive/folder/file on startup.
  7. Finally Click OK and that's all there is to 'Sharing Folders' in Virtual Box.
If you are using Kali Linux you can locate your drive/folder/file under '/media/your_shared_drive_folder_file'

Thursday, December 18, 2014

How To Resize Virtual Hard Disk Size In Ubuntu

If you are running out of Virtual Hard Disk space in your VirtualBox environment and looking to increase space - follow the instructions below:

Syntax:
 sudo VBoxManage modifyhd "vdi location" --resize "new size in MB"  
Example:
 sudo VBoxManage modifyhd '/home/evagabond/VirtualBox VMs/Windows/Windows 7 (x64)/Windows 7 (x64).vdi' --resize "61440"  
Please note that if your location address contains spaces it's better you insert it within single quotes as I've done in the above example to avoid error in the terminal.

Finally if successful you should get result as below:

Click on image to enlarge

Now you will need to resize/expand your VHD partition using a Partition Software or Windows Default Partition Manager. I have used a free software called MiniTool Partition Wizard which you can download here: http://www.partitionwizard.com/download.html

Follow the instructions in the image below to finally expand your partition:

Step 1:


 Click image to enlarge
Step 2:

Click image to enlarge 
Step 3:

Click image to enlarge

Top 5 Posts (Weekly)