Yeah. The method for Lion for does not work in mavericks. That's why I posted a new method for DVDs (This thread is for DVDs, not USBs). My method for DVDs does in fact work.
But a DVD will boot up slower than a USB though, so a USB would be better.
The 2 methods baltwo linked to however give different results.
The method involving making invisible files visible will not install a recovery partition. But the one using createinstallmedia will. To do it a better way for USBs therefore should be thus:
Your 8 GB USB drive should be called Untitled and formatted as Mac OS Extended (Journaled). The installer should be called Install OS X Mavericks.app and should be in your Applications folder.
After downloading Mavericks from the Mac App Store, run this in terminal and wait about 20 minutes:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
You should see something like this:
Erasing Disk: 0%... 10%... 20%... 100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
You can then boot up from the USB by holding down the option key, then install Mavericks from the USB.