Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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.

share|improve this question
    
+1 Good question! This would be really helpful. –  daviesgeek Oct 28 '11 at 16:33
add comment

1 Answer 1

up vote 1 down vote accepted

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

Press Enter.

reboot

This should work.

share|improve this answer
    
Saved as a bash script this fits my needs perfectly. –  fredley Oct 28 '11 at 16:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.