How to Expand Windows 8 VirtualBox Disk

It seems before VirtualBox 4, expanding a virtual machine hard drive was not a simple task. But after updating to VirtualBox 4.1.6 resizing the disk has become easy.

On Mac OS X 10.6.8 these are the steps. According to the VirtualBox Manual, “This currently works only for expanding the capacity of VDI and VHD formats, and only for the dynamically allocated variants.”

cd /path/to/vm/disks
VBoxManage modifyhd [disk name] --resize [new size]

Then, start the Windows 8 (Developer Preview) virtual machine, go to Control Panel > System and Security > Administrative Tools and open Computer Management.

In the left pane, under Storage, click on Disk Management. Right click the (C:) partition and select Expand Volume. Follow the wizard which should suggest expanding to maximum capacity.

Virtualenv Setup with pip on Mac OS X

This is how I setup virtualenv using pip on Mac OS X 10.6.8 with Python 2.6 (modified from Jontourage).

Install virtualenv and virtualenvwrapper:

sudo pip install virtualenv
sudo pip install virtualenvwrapper

Add to .bash_profile:

# virtualenv
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh

For the changes to .bash_profile to take effect, open a new terminal window or:

source ~/.bash_profile

The Crazy Ones

The original Apple “Think Different” commercial voiced by Steve Jobs.

Here’s to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They’re not fond of rules. And they have no respect for the status quo. You can quote them, disagree with them, glorify or vilify them. About the only thing you can’t do is ignore them. Because they change things. They push the human race forward. And while some may see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do.

The TV version was narrated by Richard Dreyfuss.