Apple has created a support page http://support.apple.com/kb/ht5856 which directs you to https://support.apple.com/en-ca/HT201372
that explains, in large, how to create a bootable USB drive with the OS X 10.9 Mavericks setup file on board. It is not very detailed (which is where the following steps come in), but is to be preferred over dedicated, third-party tools as it is properly tested.
That being said, this option is only aimed at those whose Macs are already running the latest iteration of the Mac operating system, according to the support page.
Here is what you need to do:
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Yosemite --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
Note: Possible Problems
/Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Yosemite/ --applicationpath /Applications/Install\ OS\ X\ Yosemite.app/ --nointeraction Erasing Disk: 0%... 10%... 20%... 30%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Couldn't mount dmg /Volumes/OS X Install ESD/BaseSystem.dmg (error code 112)Copying boot files...
Failed to copy kernelcache, The file “kernelcache” couldn’t be opened because there is no such file.
The kernelcache problem. I downloaded an app called "!Diskmaker X" and am using this to create a bootable USB drive now. Something possibly is wrong with the Apple createinstall app.
-- EdwardChrzanowski - 2014-10-07