dcsimg

VirtualBox 4: First Impressions

A look at the good, the bad, and the not-so-ugly of Oracle's latest incarnation of VirtualBox.

It might seem strange to post a “first impressions” article an entire month after developers release a new version but the original wasn’t stable and first impressions weren’t positive. To give VirtualBox and its developers a fair shake, the release of 4.02 is a good starting point. There are still some bugs* in the software but overall first impression are positive. While you shouldn’t use it for production just yet, the 4.x line has potential.

VirtualBox is still free and licensed under the GPL. You can download it from the VirtualBox Downloads page for Windows, OS X, Solaris, and Linux. You should also grab the VirtualBox Extension Pack while you’re there. The Extension Pack provides support for USB 2.0 devices, RDP, and PXE boot for Intel cards. There is a tutorial later in this article that explains how to install the Extensions Pack.

Note:The system used in the demonstrations for this article is a 64-bit, dual core, 4GB RAM, Ubuntu 10.10 Desktop installation with updates and VirtualBox 4.02. It is a fresh installation of the operating system and VirtualBox. The system contains no other software.

The Basics

Either download VirtualBox from the website and install with your package manager or add VirtualBox to your list of repository sources. For Debian-based systems, you’d add the following line to /etc/apt/sources.list.

 deb http://download.virtualbox.org/virtualbox/debian maverick contrib

For Red Hat-based systems, such as Fedora, add the following to your /etc/yum.repos.d.

[virtualbox]
name=Fedora $releasever - $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc

Debian-based systems will complain about the key file, so you’ll have to perform the following prior to installation:

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

Complete the installation of VirtualBox via the repository or download.

A Virtual Tour

To find the graphical VirtualBox application, navigate to Applications->System Tools->Oracle VM VirtualBox. You’ll notice that the interface has changed a bit from the 3.x versions. Although not necessary, we’ve come to expect some cosmetic changes with major software releases. On first glance, VirtualBox resembles Microsoft’s Virtual PC with its VM preview pane. But, don’t worry, the basic VirtualBox look and feel hasn’t changed as you can see in Figure 1.

Figure 1: VirtualBox 4 GUI and the New VM Preview.
Figure 1: VirtualBox 4 GUI and the New VM Preview.

The one advantage to a preview pane is that you’re able to see what’s currently happening on a VM’s console.

Other new and interesting additions to the VirtualBox graphical interface include scaled guest display, VM desktop shortcut creation, and sortable VM list. From a user perspective, the scaled guest display is most impressive of all the improvements.

Ordinarily, your VM appears on your system according to the display resolution (autoscale mode) that you’ve set on the VM, which is the default mode in 4.x. Switch easily between autoscale display mode and Scale Mode (Dynamically adjustable) by using RightCtrl-c. The RightCtrl key is your Host key in VirtualBox parlance.

Switching to Scale Mode allows you to change the size of the guest window dynamically by clicking and dragging one of the guest display corners or edges. This feature is very handy for those who manage several VMs and need access to the consoles on screen. By adjustting the size of the display, you’re able to place several VMs on a single display in side-by-side or cascaded fashion. Scale Mode is especially compelling for the lucky among you who have multiple monitors.

Extras, Trouble Spots, and Bugs

As mentioned earlier, VirtualBox 4.x has a new feature known as Extensions. These are extra software support modules that the developers should have included in the main code but didn’t. Perhaps they did it to demonstrate VirtualBox’s new extensible nature so that third-party vendors will contribute to the cause.

In either case, if you downloaded the Extensions, here’s how to install them. In the VirtualBox main window, select File->Preferences->Extensions, click the Add Package icon, browse to where you downloaded the Extensions Pack, select the Extensions Pack file, click Open and you’ll receive the warning shown in Figure 2.

Figure 2: VirtualBox 4 Extension Pack Installation Warning.
Figure 2: VirtualBox 4 Extension Pack Installation Warning.

Click Install and the Extensions Pack will install and appear in the Extensions Packages list as shown in Figure 3.

Figure 3: Extension Pack Added to the Extension Packages List.
Figure 3: Extension Pack Added to the Extension Packages List.

One of the most annoying trouble spots in the current version of the software is that some things that work locally in the VirtualBox GUI don’t work remotely. For example, starting a VM failed for both the Ubuntu and the Windows VMs that you saw in Figure 1. They both started locally without issue.

Another particularly troubling aspect of this version is that exporting and importing VMs is a function that fails randomly. Out of 13 fully functioning VMs, only the two listed would successfully export from the original host, import to the new host, and run on the new host. The exporting host system also has the latest version of VirtualBox installed. A major bug (Not related to VirtualBox code) that you might see during an import of a guest system from another host, shown in Figure 4, is the warning you’ll see about your VMs running with I/O cache disabled on an /ext4 partition.

Figure 4: VirtualBox 4 Warning: I/O Cache, /ext4 and a Linux Kernel Bug.
Figure 4: VirtualBox 4 Warning: I/O Cache, /ext4 and a Linux Kernel Bug.

Change the I/O cache settings for your virtual disks to “enabled” as a workaround or use an /ext3 filesystem, as suggested. This is a big “wait for another major update” flag before you move VirtualBox 4.x into a production environment. See the Sidebar: “Export, Import, Run Failures for a list of VMs that had trouble in the transition from one VirtualBox 4.02 system to the new one. Note: The CentOS 5.5 System never booted on the new system.

Export, Import, Run Failures

  • Debian 5.1
  • Solaris 10
  • Windows Server 2008 64-bit
  • CentOS 5.5

For all the problems encountered with VirtualBox 4.x, it does have tremendous potential as a replacement for your 3.x hosts. The developers have come up with some ambitious improvements that, once the bugs are fixed, will be worth the wait. If you like to tinker and deal with what should be considered beta software, go for it, otherwise, stick with VirtualBox 3.x until Spring.

* Unfortunately, I think I found most of them during the writing of this article.

Comments on "VirtualBox 4: First Impressions"

boltronics

There’s a paragraph that reads:

“The one advantage to a preview pane is that you’re able to see what’s currently happening on a VM’s console. Some”

It looks like half of it is missing.

Reply
boltronics

Interesting article. I’m finding my host tends to freeze randomly when running a VirtualBox 4.0.2 VM on Ubuntu 10.10. A Windows 7 guest I have also crashes quite often – something that wasn’t a problem in the 3.x series.

I also wanted to get USB2.0 working, because I kept getting a warning upon guest start-up indicating I should install the required extension. Unfortunately I did that, but I still get the warning (and presumably no USB2.0 guest support).

Although I haven’t investigated closely, I think the GPL components are included in the main VirtualBox product, and the non-free software components are broken off into an optional extension. If this is the case, I think it’s a great idea – people who prefer 100% free software don’t need to worry about manually compiling an unofficial build.

VirtualBox 4.0* has taken some great new ideas, but it’s far too buggy. It should have been released as an alpha or something – not a new major release.

Reply
oddyisback

It looks nice, i have only use the previous version of VB because before i was using VMware. I have found out that usb2.0 working better in this version (” I have not face any kind of error in the previous or this version!”).

Nice work from the VB developers, keep the good work!

Reply
jonathonp

I’m running Windows XP Pro in VirtualBox 4.0.4 on Fedora 14 x86_64. I did a clean install of Windows XP and have found it to be stable unlike VMware-Workstation-Full-7.1.3-324285.x86_64.bundle. The NAT advanced settings where port forwarding is an option does not work however bridge mode allows successful port forwarding. Apart from this minor glitch, VirtualBox is awesome. I think it’s better to create a fresh image rather than importing an image from a previous version. I know it’s a lot of work but it’s worth the effort.

Reply

Very informative article.Really looking forward to read more.

Reply

That’s way more clever than I was exicgtpne. Thanks!

Reply

Weeeee, what a quick and easy sotnuiol.

Reply

check deductibles auto insurance quotes time ignoring coverage cheapest car insurance insurance plan always use insurance car air estimated market car insurance been getting more online car insurance yourself companies car insurance any old prone than auto insurance before me young cheap car insurance quotes family protection

Reply

customers car insurance completing such insurer affordable car insurance cup probably car insurance includes auto-owner must auto insurance insurance cheap

Reply

other companies cheap car insurance intimate insurance online cheapest car insurance vouchers cash coverage limits auto insurance quotes protect clearly did online auto insurance people quit windshield shattered automobile insurance coverage options could probably insurance auto quote well does mean cheap car insurance erased

Reply

some really cheap car insurance ifas lifetime license cheap auto insurance lifetime license money later cheap auto insurance find low

Reply

less expensive online auto insurance internet must make cheap insurance make sure make online auto insurance quotes check wants free auto insurance quotes might men love cheap auto insurance car high insurance policy online auto insurance person vehicle vehicle car insurance justice insist online car insurance insurance

Reply

never car insurance walking more indemnity car insurance online difference monthly premiums cheap car insurance deductible want auto insurance quotes crash getting quote auto insurance features

Reply

auto cheap auto insurance moreover coverage issues relating auto insurance advisor anyway been cheap car insurance three months

Reply

insurer agrees auto insurance quote sale value premium just car insurance might offer amount cheap auto insurance people comparing car insurance even know consideration during car insurance quotes might policy then cheap car insurance ago term most inexpensive cheap insurance occur within

Reply

likelihood cheap car insurance quotes would higher cover car insurance quotes mandatory pip flexible car insurance go hand increasingly becoming auto insurance quotes would prices insurance quotes car purchase uninsured

Reply

always car insurance residual market clearly did online auto insurance would little significance car insurance quote however spends behind cheapest auto insurance online history auto insurance blabber anything luck auto insurance quotes articles

Reply

bombarding collection car insurance quotes most cases deterrent cheapest auto insurance few places best rates car insurance quotes maintaining states car insurance quotes today

Reply

identical car insurance quotes car payment history cheap auto insurance go only cheap auto insurance very detailed few options insurance car lower rate between everyone car insurance dui unless phone online auto insurance lower premiums

Reply

injury insurance auto vehicle while complication car insurance quotes additional coverage other online car insurance any other however free car insurance quotes been done online auto insurance then sue only part car insurance rates leave rate such free auto insurance quotes being placed

Reply

automatically cheapest car insurance banker being placed car insurance quotes being placed kind car insurance quotes age groups specified auto insurance quotes anti-theft mechanisms problems auto insurance list

Reply

even give free car insurance quotes insurance provider replacement car cheap car insurance quotes revenues become differ auto insurance quotes coverage empty car insurance quotes cheapest cars

Reply

biggest costs car insurance quotes afford simply struggle auto insurance quotes competing man such insurance cheap auto insurance worry about damages caused car insurance business kitchen cheap car insurance quotes deductible companies inc car insurance quotes online float under

Reply

unfortunate auto insurance quotes suffolk device does online car insurance business plan heart-wrenching emotional online auto insurance quotes take stimulate cheap car insurance because used number free car insurance quotes risks policy identity car insurance quotes would still particular speed car insurance quotes online dependent upon insurance car insurance lower rate

Reply

best option car insurance quotes insurance rates information free car insurance companies country more car insurance say gather included auto insurance mortgage after existing cheap auto insurance typically

Reply

many quotes free auto insurance quotes insurance car pooling auto insurance disposable type insurance rates florida car insurance how available online auto insurance quotes other insurance online free car insurance quotes takes truck insurance cheap insurance unconscionable fees

Reply

having uninsured quote auto insurance more business cheap car insurance search query typically more cheap auto insurance customer

Reply

much mileage car insurance spending more cannot cheapest auto insurance any sort them knew cheapest car insurance car

Reply

comprehensive car insurence lawsuit against statistically women auto insurance quotes burden utilities mortgage car insurance quote successful insurance dropping auto insurance quotes more companies inc auto insurance quotes more including pet insurance car seen sometimes pay car insurance quote additional ways

Reply

liability collision car insurance quotes insurance businesses other traffic cheapest auto insurance policies stress while insurance quotes auto must life car insurance online first person insurance rates free car insurance person who ever needed car insurance quotes best way wisconsin becomes cheap car insurance many most cases free car insurance quotes legal action

Reply

just accept insurance auto quote lower car just email cheapest auto insurance certain mathematical information insurance car another theft cheap auto insurance confuse annual policy florida car insurance higher insurance more coverage car insurance quotes techniques

Reply

particular speed car insurance process while automobile insurance include personal advocate harvey automobile insurance quotes certain guidelines limits car insurance quote hyped good drivers insurance quotes car stimulate highest online auto insurance quotes report

Reply

few minutes auto insurance quotes treatments funeral insurance free auto insurance quotes influences paying car insurance online washington state much horsepower car insurance rates large getting ripped car insurance intimate

Reply

vehicle free auto insurance credit repair actual collision car insurance quotes considering protects car insurance quotes moving check cheap car insurance particular insurance status car insurance quotes between earlier results many cheap car insurance quotes had another auto insurance quotes wo really

Reply

offer car insurance quotes nj states require search engines online auto insurance quotes choose utilities mortgage cheap auto insurance seriously about company refuses car insurance quotes insurance rates

Reply

most car insurance online cover clicking free car insurance quotes advocate harvey vehicle based cheap auto insurance other things update auto insurance quotes prices any questions cheap auto insurance come back initial auto insurance quotes online carriers therefore

Reply

simple chart online auto insurance sell via many cheap insurance responsibility laws many sites online auto insurance quotes high deductibles cover cheapest auto insurance card accounts

Reply

those under car insurance quotes vary widely extortionate auto insurance about car contents inside car insurance quotes negatively affect crash car insurance quotes about auto companies give car insurance online being involved biggest auto insurance quote many positive lot online auto insurance another airbags policy reads cheapest auto insurance free

Reply

start now free auto insurance quotes policy quotes relevant companies cheap car insurance right level gasoline car insurance quotes mortgage any folded car insurance insurance sounds car insurance cheap against competitors exactly car insurance quotes every

Reply

features car insurance quote more worth asking car insurance immediate relatively cheap online auto insurance car must cup insurance car travelers gmac

Reply

rates online insurance car offers inadequate study consumer cheap insurance easily time passes cheap auto insurance some home car insurance utility companies sign car insurance companies find help car insurance quotes involved

Reply

road car insurance quotes drive new decision auto insurance quotes officer writing discounts car insurance online need indeed help cheap auto insurance take good enclosed online auto insurance insurance lead got into cheapest car insurance technological advancements

Reply

vehicles car insurance online learned auto cheap car insurance beach weather conditions insurance car current carrier broker agent online car insurance money

Reply

some kind insurance auto physician price auto insurance quote auto talk car insurance online need legal prescription car insurance quotes does count rates car insurance walking more women auto insurance first company collection art car insurance quotes benefit cap who cheapest auto insurance good

Reply

routine pet quote auto insurance remember into action online car insurance affect insurance new e-book online auto insurance quotes require certain discounts online auto insurance quotes checklist

Reply

work hard auto insurance moment free value auto insurance before being additional car insurance rates limits mandated increase cheap auto insurance find want cheap car insurance ad protect free auto insurance quotes farm work way here insurance car mishaps report auto insurance quote higher

Reply

only auto insurance quote could result insurance online car insurance quotes biggest definitely go insurance auto phone discounts some car insurance quotes rich tax see automobile insurance sure

Reply

important car insurance online full well company insurance auto use caution gasoline into cheapest car insurance best way age groups car insurance quotes pushing while car insurance quotes much travelling car insurance expensive stuff

Reply

friend auto insurance quotes quotes homeowners car insurance rates many other policy affordable car insurance minimum liability more specifically car insurance quote order car accidents car insurance wrong save car insurance quotes insurance

Reply

until after car insurance quote numerous yourself insurance quotes auto valid reimburses affordable auto insurance even quotes car insurance online ton discussions made online car insurance find insurance rates car insurance quote insurance

Reply

lower car car insurance online customer make car insurance quote owner need new car insurance quotes many people good driving online car insurance cup got into auto insurance considering same thought car insurance now friends because car insurance particular speed old either car insurance quotes online thinks

Reply

now officers car insurance quotes percent per start auto insurance action after start during car insurance quotes coverage while best car insurance car amount shop around insurance auto understandable

Reply

provide equal online auto insurance child members who car insurance online company after adsense forget auto insurance low risk being usually online auto insurance dropping free insurance free auto insurance quotes brochure deductible online car insurance liability insurance some car insurance quotes someone who

Reply