Category: Virtual Machine

Windows 7 Beta on VirtualBox!

Want to see what all the hub-bub is about with Windows 7 beta? Rip that baby up on your ubuntu!

Firstly – grab the Windows 7 ISO and burn that DVD.

Then:

Grab VirtualBox 2.1 (the 2.0.4 version that came with 8.10 won’t do) and install it.
Setup with a Windows OS and list Vista 64bit as the specific operating system.
I used a 1GB memory and a 10GB dynamic hard drive partition.
Go to town installing Windows 7!
I’ll figure out how to install Guest Additions – haven’t got there yet!

Go Virtual, Go VirtualBox, Go Freedom

The Mighty Brad recommended that I use VirtualBox to run an instance of Windows XP or Vista within my Ubuntu 8.10. And he was right… it was easy, it runs windows fast and it’s real zexy.

You can grab this nice little application from the add/remove applications feature.

Once you install it you can find it under “Applications > Accessories > VirtualBox OSE“. I personally moved it since it makes no sense to have it under accessories, but whatever, you’re your own person and can make trivial choices like this for yourself.

Launch the application and it looks very inviting and appealing. Click the giant-sized “New” button and you’re ready to ride the virtual-F-train.

Follow the wizard down the path to Windows freedom. As you progress it will ask for your windows media. Pop that crazy beyotch in your optical drive and watch the magic happen. When you’re done, it will add an entry into it’s list of available virtual OSes as shown below.

Note: During the wizard setup, it asks you if you want to set aside a permanent amount of space on a hard drive and where… or you can do the dynamic thing, whereas it essentially just grows the file as it needs it depending on what you are doing with the windows virtual machine. I went dynamic and it works fine with photoshop, illustrator, visio etc. I installed Windows XP Pro SP3. The dynamic thing won’t rob you of important storage space permanently, since hard drives are sooo expensive these days.

Now, start that baby up! and it should end up looking like the screenshot below. At this point I shouted “schweeeeet!” and gave my son a high-five.

Go ahead and setup the resolution to your desired size. And install whatever program you want as it shares your optical and usb drives automatically. It will also have network connectivity as well.

Mouse Focus Candy: This works schweet. Move your mouse into the virtualbox window and boom it’s automatically focused on the windows interface. Move the mouse out of the virtualbox window and it’s back to ubuntu. Very slick.

Sharing a Drive/Partition/Folder between the Ubuntu Master and the Windows Virtual Guest

Ok, to do this, and it took me awhile to get this working as apparently it’s an 8.10 thing… inside your Windows virtual guest do the following:

Open Internet Explorer and go to this URL to grab this file:
http://download.virtualbox.org/virtualbox/2.0.4/VBoxGuestAdditions_2.0.4.iso
Grab Daemon Tools and install it.
Mount the image you downloaded above and install the Guest Additions software.
When done the install, reboot the Windows virtual guest.

Now, to setup which drive/partition/folder in the Ubuntu master that you would like to share with the Windows virtual guest do the following:

On the virtual box terminal window (across the top of your Windows guest session), go to “Devices > Shared Folders“.
Add in whatever shared folder you want. Make sure you mark it permanent.

Then in the Windows guest, go to the run command and type this info:
net use x: \\vboxsvr\ubuntupathname

Few Things on the above statement:
Make sure you leave a space between the “x:” and the “\\” or it won’t work.
And where I have “x:” that is the drive letter Windows will assign to the share, so choose whatever letter that pleases you.
And the “ubuntupathname” is the pathname that you saw when you setup the share in the “Devices > Shared Folders” section.

Sharing a Ubuntu drive/folder with a space in the name is an issue. For instance I tried to share “Data Disk” which is a separate drive I have, no go… because the windows command line won’t take the net use statement with spaces in the name… and no, quotations around the name doesn’t work.

In the end you should have a network share in Windows. You can freely copy files in and out of the drive from both the Ubuntu master and Windows guest.

I have install many big applications and everything works fine. And any game emulators you want to run in the windows guest work fine as well.

And that’s all she wrote! Cheers!

Auto-Mount NTFS Partitions Like Steve’s Mom

This is a simpo one to do! Woot! Let’s mount some stuff!

Firstly use the add/remove applications feature to install the “NTFS Configuration Tool“.

Then, run the NTFS Configuration Tool and select the drive you wish to map.

Virtual Machine Note: If you want to use this drive later via some windows virtual machine, make sure the drive name has no spaces in it (spaces in a partition name don’t play nice).

Once you mount a NTFS partition/drive it will show on your desktop as a mounted item.

Further ramblings: this tool basically just messes around with your /etc/fstab file, thus creating an entry because you are either a) Lazy, or b) a Newb. Open up the file to see the south african ooobuntooo magic within. If you ever want to remove this mounted NTFS partition, the 28 year old nerds/virgins who created wonderful NTFS Configuration Tool neglected to allow a deselect or what Steve’s mom refers to as the “dismount”… so you have to get your arms all dirty and do it yourself by removing the line in the /etc/fstab file yourself. Then you also have to clean-up after the dismount by typing in terminal: sudo umount /etc/”nameofstupidNTFSdrive”

This concludes my first shenanigan. I am spent.