View Full Version : VirtualBox - extremely cool!
Right, remember ages ago I posted about how you can use SeamlessRDP and a hidden VMWare virtual machine to get windows apps served directly to your Linux desktop? Well, tonight I shall show some of you something even better
Its a freeee app called VirtualBox (its in the apt repositories and everything). Install it and it behaves largely like VMWare workstation - except something is different. I had a handy copy of Server 2003 knocking about, so I bunged the ISO into the software (oops!) and installed away. DAMN its fast. This CPU doesn't even have the newfangled virtualisation support and still its flying. Its almost as fast as it would be running on the bare metal. Impressive.
Then, there is the equivalent of VMWare Tools. Install that and things get better. A previously greyed out menu option is now available and things look very much like this:
www.statichiss.co.uk/virtualbox-seamless.png
:cool: :cool:
Also, the remote side of VMWare, which is pretty cool, is sorted out via the RDP protocol - so it just works which is very, very cool and will allow me to run Ubuntu on some thin clients, which is the very best thing ever (I have tried to get a number of RDP servers working with X before, all of them failed).
This development might have single handedly removed Windows from my main desktop because I now have the option of the very best of both worlds and at a decent speed.
A previously greyed out menu option is now available and things look very much like this:
www.statichiss.co.uk/virtualbox-seamless.png
:cool: :cool:
What option would that be old bean?!
Also how does it work with resource mapping? Sound, drives etc?
If it works really well I could consider moving my work machine to Ubuntu. I've pondered doing that anyway but I'd struggle without Outlook - the Evolution connector wasn't quite there last time I looked, and I just like Outlook anyway.
www.statichiss.co.uk/virtualbox-control.png
www.statichiss.co.uk/virtualbox-settings1.png
There you can see the basic settings pane, more or less like VMWare really.
www.statichiss.co.uk/virtualbox-drives.png
Drives can be files like VMware and can be either a fixed size or expandable. I quite like the way you set them up as master/slave etc. You can of course simply pass it an existing drive with Windows on and have it boot that.
www.statichiss.co.uk/virtualbox-cdrom.png
Again, pass it your actual drive or give it an ISO. This is something I need to play with because it seems like what you do is "register" an ISO with virtualbox and it then allows you to swap CDs easily, but I don't think you can add a CD to the collection whilst the VM is powered on.
www.statichiss.co.uk/virtualbox-network.png
The networking bit is the least noob-friendly part of it all. NAT is fine, that just works but to get bridged networking on the go requires you to know how to set up and bridge a TAP interface. Not the most user-friendly thing ever, I am going to get around to setting that up today I think. Shouldn't be all that tricky but I think I need to script it and then pass the script to VirtualBox because its about 15 steps to get it set up.
www.statichiss.co.uk/virtualbox-sound.png
Sound can be passed through to the sound driver of your choice, ALSA or PulseAudio if you are using 8.04 alpha.
Lastly, something I am investigating at the moment is the shared folders aspect of this. At the moment, I can't seem to get it to work, but I'm not sure what I am doing wrong!
Here is a screenshot of the setup pane for it anyway:
www.statichiss.co.uk/virtualbox-control.png
There are a few small niggles with the seamless mode, such as if you accidentally hit show desktop it exits seamless mode and goes into fullscreen mode but with no option of getting it back into seamless mode. You have to open a window, give it focus, exit fullscreen mode and then enter seamless mode again.
If its important, its worth noting that my virtual machine only sees one CPU, not two. Not a biggie for me but it might be for some of you :)
I'm actually having a play using the Windows x64 build at the mo, installing Gutsy. It's not as fast as vmware under Windows, but I was expecting that. Has many of the vmware options and functionality, with some gains and some losses but it's certainly comparable. Interface isn't as slick but it's perfectly functional.
The built in RDP server is excellent, really like that. The networking doesn't seem as flexible but I've not properly looked at it.
Gonna see if the seamless stuff works the other way around - Ubuntu guest under Windows host. Assuming thats even supported anyway.
From everything I have read, using linux as the host is THE way to do it. Seamless mode only works for Windows guests sadly :(
Digging up an old thread, but have just been looking into this and so did a search :)
I've hardly used Vista in ages since installing Ubuntu but the Vista partition takes up most of me hard drive space. I'm thinking of wiping it totally, giving Ubuntu all of the hard drive and then installing Vista into virtualbox for those little things I might want to do (or just to play around with).
Does the seamless option work with Vista then? That would be cool.
If it does, and even better if it'll do seamless from a Windows host, then I might be convinced to demote VMWare Server from my systems.
PS - I see it's in Portage as well. ;)
Dunno :D In fact, I know nothing about any of this but I'm going to do it anyway ;D
OK, what's the best way for me to do this? Basically, I need to dump my Windows partition and give that space to Ubuntu. I'd rather keep my current Ubuntu install if I can. Is that possible?
If not, I'll just re-install Ubuntu and repartition the drive then.
I don't think there's anything to prevent you from reformatting the Windows partition as ext3 and then using it for data, but depending on how you installed Ubuntu that might not be the most efficient solution. :)
2 ways really. Delete the doze parition, and use gparted on the Live CD to resize your Ubuntu partition, or backup your Ubuntu parition from a live CD and restore it after repartitioning. In either case you'd probably have to sort the bootloader out.
If it's not going to be much hassle I'd reinstall tbh with another OS involved. Backup your home directory and all your files/settings will be maintained, you'd just have to reinstall any extra packages.
Think I'll just go for a clean install thinking about it. Means I can clear out all the things I experimented with when I first setup. Is there an easy way to backup and then restore any basic settings? Not sure I NEED to but it might be handy. Other than that, I'll just use the Live CD and repartition with that and then install :)
Everything you've customised in gnome or app wise should be in your home directory (since thats the only directory an account can assume it has write access to, other than /tmp, but that's just silly :D) :)
If its important, its worth noting that my virtual machine only sees one CPU, not two. Not a biggie for me but it might be for some of you :)
Seems to be the same for mine too. Fired it up and then run the Ubuntu live CD in the virtualbox. Came up saying I need to use a 32bit version so I guess it's not picking up both processors. No biggie though.
As for my settings, don't think I'll bother keeping them. Going to start from scratch and have fun setting it all up again :D
Maybe it doesn't support 64bit operating systems yet then.
Not ready for me yet in that case, but no doubt it'll get there.
MarcLister
04-04-2008, 01:49
So say I wanted to build a spare PC here at home for me to use when I'm back from Uni, I could install Ubuntu and then use the Ubuntu version of VirtualBox to run Windows XP for Football Manager?
Or would WINE in Ubuntu take care of that for me?
WINE might - VirtualBox will. You do have an XP license for that though, don't you? :)
Right, I started this last night but my partitioning went a bit mental and I ended up with more, smaller sections than I wanted. It didn't seem to wipe what was already there, just split up my larger Vista partition.
So this morning I've started again. I've now got 10GB for Ubuntu, 2GB Swap, 100GB for files, etc. The rest is only small and taken up with Dell stuff.
So, today I shall be sorting out my fresh install and trying out VirtualBox :D
MarcLister
04-04-2008, 14:51
WINE might - VirtualBox will.
Yeah hence my checking. :D I know VB will run XP for me. Haven't been able to find proof WINE will run FM for me.
You do have an XP license for that though, don't you? :)Yes. :D
Installing XP aw I type :D
Got Winbuntu?
http://img.photobucket.com/albums/v112/piggymon/Computer%20Stuff/winbuntu.png
:D
MarcLister
04-04-2008, 16:56
Not bad for a n00b! ;DCare to tell an even noobier noob how you done that? :D
Install VirtualBox on Ubuntu. In the VB settings, give it some hard drive, ram and other stuff to play with and then launch. You've now got yourself another PC on your computer :D
Chuck it an XP disc to play with and install as normal.
MarcLister
04-04-2008, 19:40
Woo. Thought there was another way to do that. :D
Only problem I have is my graphics card is a bit pants so it struggles to redraw the screen sometimes :/
It's bloody quick though :D
MarcLister
04-04-2008, 20:59
Pen + paper + crayons. Sorted. Boo yah! :D
I had this installed when MArtin first talked about it - couldn't get the shared start menu - however it did work really well - still use it now. :)
Only problem I have is my graphics card is a bit pants so it struggles to redraw the screen sometimes :/
It's bloody quick though :D
Tried allocating more video ram?
Yeah, but I've only got an onboard 128MB crappy thing so I don't think there's much hope. Having said that, it's still very usable and it's only every now and again that it doesn't refresh properly.
Burnsy2023
07-04-2008, 14:55
Got Winbuntu?
http://img.photobucket.com/albums/v112/piggymon/Computer%20Stuff/winbuntu.png
:D
That's pretty cool, I might set that up inside VMware ;D:D
After OSX of course ;)
MarcLister
07-04-2008, 15:26
That's pretty cool, I might set that up inside VMware ;D:D
After OSX of course ;)Got OSX working then? :D
Once my ADSL is back in business at home I'll be grabbing OS X to put on as well :D
vBulletin® v3.7.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.