Can't unmount the disk during Mac OS X install
You cannot unmount the disk you're working on, obviously.
Try to boot from a different media type other then your HD (USB-drive, DVD,...) and then try again.

(Mountain) Lion allows you to create a bootable USB-drive or DVD. If you do so, you'll be able to unmount (and format) your internal Macintosh HD.