VirtualBox Ubuntu 12.04 Precise Pangolin Repository Ready

6:13 PM

virtualbox 4.1.12 ubuntu

VirtualBox 4.1.12 has been released and with it, the VirtualBox repository has been updated to support the latest Ubuntu 12.04 Precise Pangolin, even though this isn't mentioned on the VirtualBox Linux downloads page yet.

The latest VirtualBox 4.1.12 brings mostly bug fixes, but it also adds support for Linux Kernel 3.4 RC1 (guest additions). For a complete changelog, see THIS page.


Install VirtualBox in Ubuntu


To add the VirtualBox repository (which now supports Ubuntu 12.04 too) and install the latest VirtualBox 4.1.12 in Ubuntu, use the commands below:
echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-4.1

virtualbox install extension

Optional: starting with VirtualBox 4.0.x, some features like VirtualBox RDP and PXE boot for Intel cards support as well as USB 2.0 devices support are available separately, in an extension pack. You can download the VirtualBox Extension Pack from HERE. To install it, simply double click the extension and VirtualBox should open, prompting you to install it. If that doesn't work, you can also select File > Preferences > Extensions and browse for the downloaded VirtualBox extension.

For other Linux distributions, Windows and Mac OSX, you can get VirtualBox from its download page.

Also see: How To Get Your USB Drives To Work With VirtualBox (Ubuntu Host) (Ubuntu 11.10 and 12.04 instructions included).

0 comments

» read more....

VirtualBox Ubuntu 12.04 (Guest) Fixes

1:32 AM

Ubuntu precise virtualbox

If you want to try the latest Ubuntu 12.04 Precise Pangolin alpha or a daily build in VirtualBox (guest), you'll stumble upon a few issues like: VirtualBox can't boot from the 32bit ISO because PAE is not enabled by default so you'll get a kernel error, the mouse or the Internet connection isn't working or the screen is glitchy and black in Unity 3D after installing the VirtualBox Guest Additions from the repositories (required if you want to use Unity 3D).

So here is how to fix these issues and run the latest Ubuntu 12.04 Precise Pangolin build with Unity 3D in VirtualBox.

Before proceeding, make sure you've installed the latest VirtualBox 4.1.x (4.1.8 at the time I'm writing this post).


Can't boot - PAE not enabled by default on 32bit


virtualbox kernel pae error

When you firstly want to boot the latest Ubuntu 12.04 Precise Pangolin 32bit ISO, you'll get a message similar to this: "This kernel requires the following features not present on the CPU: pae. Unable to boot - please use a kernel appropriate for your CPU".

This occurs because Ubuntu 12.04 uses the PAE kernel by default for 32bit. To fix it, all you have to do is select the virtual machine, then click "Settings" and under System > Processor, check the "Enable PAE/NX" box:


Now you should be able to boot the live CD.



Mouse not working


The second issue: the mouse isn't working by default. Here's a work-around (which we've also posted in our Ubuntu 12.04 Alpha 2 post): start the machine and from the menu, select Machine > Disable Mouse Integration:

virtualbox disale mouse integration

Later on, if you install the VirtualBox guest additions, there's no need for this work-around and the mouse should work without other tweaks.



Internet not working


virtualbox ubuntu 12.04 Internet connection fix

If your VirtualBox Ubuntu 12.04 guest can't connect to the Internet, select Devices > Network Adapters and under "Attached to", select "Bridge Adapter". You guest machine Internet connection show now disconnect and reconnect and it should then work.



Fix Unity 3D (with Compiz) display issues


If you've installed VirtualBox Guest Additions from the repositories (by installing the virtualbox-guest-utils package), and you're running the latest updates on your Precise machine, you've probably encountered some annoying display issues: invisible / black boxes, screen doesn't gets refreshed properly (Dash still shows up after being closed), etc:

ubuntu precise virtualbox bug

These issues are caused by the latest VirtualBox Guest Additions from the Precise repositories. Until this is fixed, you can install the VirtualBox Guest additions manually.

Firstly, make sure you've removed VirtualBox Guest Additions installed from the Ubuntu Precise repositories:
sudo apt-get remove virtualbox-*

And install VirtualBox Guest Additions from the menu, via Devices > Install Guest Additions:

install virtualbox guest additions

install virtualbox guest additions

install virtualbox guest additions

install virtualbox guest additions

Now reboot the machine and Ubuntu 12.04 Precise Pangolin with Unity 3D should work.

0 comments

» read more....

Extended Places Menu GNOME Shell Extension

10:43 PM

Extended places menu GNOME Shell extension

Extended Places Menu is a new GNOME Shell extension based on the official Places Menu extension, but with some extra features like:
  • open file system as root
  • submenu for quickly launching VirtualBox machines (can be enabled/disabled in the preferences)
  • submenu for FTP sites (can be enabled/disabled in the preferences) - supported clients: Filezilla and gFTP
  • collapsable bookmarks
  • a submenu for custom actions that you can define in the preferences


The extension might conflict with the regular Places Menu extension so make sure you disable it before using this extension (just in case).

Also, if you've manually installed the extension, remove the files before installing the package in the WebUp8 PPA, most importantly /usr/local/share/glib-2.0/schemas/org.gnome.shell.extensions.places-menu-extended.gschema.xml - the PPA package installs this under /usr/share/glib-2.0/schemas because Launchpad doesn't allow files under /usr/local.

Extended Places Menu GNOME Shell extension is available in the WebUpd8 GNOME3 PPA so if you use Ubuntu 11.10 Oneiric Ocelot, install it using the commands below:
sudo add-apt-repository ppa:webupd8team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell-extensions-extended-places-menu

If you're not using Ubuntu, download Extended Places Menu GNOME Shell extension via GNOME Look - the archive includes step-by-step installation instructions.

For Arch Linux, you can get the extension via AUR.


Once installed, restart GNOME Shell (press ALT + F2 and enter "r" or log out and log back in) and enable the extension using GNOME Tweak Tool.

To enable VirtualBox VMs, FTP, tweak other settings or define a custom actions list, select "Preferences" from the extension drop-down. Remember to click "Save" after making any changes or else the extension won't be updated!

Update: if you use FileZilla with subfolders, see HERE how to get it working with Extended Places Menu.

0 comments

» read more....

Test Websites In Internet Explorer 9, 8 and 7 Under Linux / Mac OSX

9:10 PM

IE9 VirtualBox

Microsoft has created some customized Windows VHDs with the purpose of allowing web designers to test websites in Internet Explorer 9, 8 and 7, for free. To make it easier to set up, xdissent has created a Mac OSX / Linux script that will download the required files, extract them, install the latest VirtualBox guest additions and so on.


So why use it? Here are a few reasons (besides the obvious reason: testing websites in multiple Internet Explorer versions under Linux / Mac OSX):
  • no Windows license required
  • it's legal and free
  • you don't have to install Windows in VirtualBox for yourself
  • sometimes a website behaves differently in IE9's IE7 or IE8 compatibility mode compared to the actual Internet Explorer 7 or 8.
  • a snapshot is automatically taken upon install so you can revert to the original machine state at any time


Disadvantages:
  • the biggest disadvantage is the disk space required by these VHDs (as well as a large download size: 2,6 GB for IE7 and 4,1 GB for IE8 and IE9). If you want to run all 3 Internet Explorer versions supported (7, 8, 9), you'll need almost 45 GB of disk space. But you can install just one version: for Internet Explorer 7 you'll need 13 GB, for IE8: 8,4 GB and for IE9: 13 GB.
  • the script cannot resume from failed downloads yet

Note: the machines will prompt you to activate Windows. This is not required and you can cancel this request. You can extend the trial for another 30 days by running the following command at the command prompt: "slmgr --rearm" or you can simply reset the machine to its original state.


Usage



1. Before proceeding, make sure you have the latest VirtualBox installed - you can find Ubuntu installation instructions HERE. You'll also need "curl" (for both Linux and OSX) and "unrar" (Linux only). In Ubuntu, install them using the command below:
sudo apt-get install curl unrar



2. To download and run the script, use the following command in a terminal:
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash

If you want to check out the script source before running it, you can find it @ GitHub.

The above command will download Windows WHDs for IE7, IE8 and IE9. If you only need one Internet Explorer version, you can run:
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="9" bash

Where "9" is the IE version you want (you can also add two versions here, like "7 9").

At this point, the download should start and it will take a while so be patient.


After the download finishes and the archives are extracted, a new machine should show up in VirtualBox, called "IE 7", "IE 8" and/or "IE 9", depending on which versions you've selected to install. At this point, you can delete the downloaded archives if you want to free up some space - you can find them under ~/.ievms/vhd/ (make sure you only delete the .exe and .rar files and keep the .vhd and .vmc files).

Now you can start testing your website in IE9, IE8 and IE7 under Linux or Mac OSX. Oh, and the password for all the VMs is "Password1".

via HN

0 comments

» read more....

VirtualBox 4.1 Released With GUI Option To Clone VMs, More

12:47 AM

VirtualBox 4.1

VirtualBox 4.1 hs been released today, bringing some new GUI features like support for cloning VMs and a new wizard for copying virtual disks. Other changes:
  • Experimental support for PCI passthrough for Linux hosts
  • Enhanced wizard for creating new virtual disks
  • Raised the memory limit for 64-bit hosts to 1TB
  • Windows guests: Experimental WDDM graphics driver, supporting Windows Aero and providing Direct3D support using a cleaner approach
  • New Networking Mode UDP Tunnel: allows to interconnect VMs running on different hosts easily and transparently
  • Experimental support for SATA hard disk hotplugging available with VBoxManage

For a complete changelog, check out this page.


A bit of info on the new features so you'll know where to find them:
  • to clone a VM, simply right click it in the main VirtualBox window and select "Clone"
  • to copy a virtual disk, select File > Virtual Media Manager, right click a .vdi and select "Copy"



Install VirtualBox 4.1 in Ubuntu / Debian via repository


1. Firstly, remove VirtualBox 4.0 (if it's installed):
sudo apt-get remove virtualbox-4.0

2. Add the VirtualBox repository and install the latest VirtualBox 4.1:
echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-4.1


3. Optional: for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards support, you'll also have to install an Extension pack which you can download from HERE.

To install VirtualBox extension pack, double clicking the extension should be enough but if that doesn't work, open VirtualBox, go to File > Preferences and on the Extensions tab, click the "add" button on the right and browse for the VirtualBox extension pack.


For other Linux distributions, Windows and Mac OSX, see the VirtualBox download page.

0 comments

» read more....