Install 10.8 on an external drive from 10.9
I would bet you tried to install Mountain Lion on a Mac that shipped with Mavericks. Unfortunately (for driver reasons) it is not possible. 

If you want to run an older OS X on your mac I would suggest try a VM like VirtualBox or VMWare.