I have Lion and Snow Leopard installed on my machine, and I switch between them all the time (I develop for compatibility on both platforms). Going into System Preferences and selecting the startup disk every time is quite a pain, it would be great if I could automate this process with a script that I can launch from my dock.

  • Note that although it wouldn't fit your question title of "automate" you can hold the option key immediately after the boot chime to see all the accessible bootable mediums and choose the OS you want. – Arc676 Nov 20 '15 at 8:58

sudo bless -mount /Volumes/"startup disk name" -setBoot

Press Enter.


This should work.

  • Saved as a bash script this fits my needs perfectly. – fredley Oct 28 '11 at 16:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .