If you need to do a clear install of OS X 10.9 Mavericks without resorting to the Internet Recovery or Recovery HD partition, here is how. You will need the “Install OS X Mavericks App” from the Mac App Store, a free 8Gb+ USB disk and your Terminal app.

Make sure you erase the USB disk and change the partition type to Master Boot Record. Leave the default “Untitled” name for the simplicity (or replace all occurencies of it in the following command).

As a bonus to this article, here is the icon file for the Samsung 840 Pro SSD. Just unzip it, open the icns file in the Preview app, Select All, Copy, open the Get Info window for the drive, click the default hard disk icon and Paste the custom icon into it.