Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 2 Mac OS X versions (10.5 and 10.6) installed on 2 different partition of my Mac. Is there a way that I can do from command line to reboot the system to switch to the other Mac OS X installation other than the current one?

share|improve this question

$ bless --mount /Volumes/MacPartitionX --setBoot;sudo shutdown -r now

I think that or something similar will work for your purposes.

share|improve this answer

You can choose the startup volume for your Mac by holding down the option key (a.k.a. alt) as it boots up.

This selection is just a temporary choice and does not change the default that your Mac will use.

For more info:

share|improve this answer
if you read question he want do it in command line – Am1rr3zA Aug 26 '10 at 23:44

See man 8 bless.

share|improve this answer

You're gonna change the disk by: Turn on, or restart, your Mac. Immediately press and hold the Option key. After a few seconds, the Startup Manager should appear. The Startup Manager scans for available volumes. Select yours and hit enter to boot to that. Then shutdown, or restart and repeat above to switch.

share|improve this answer

You must log in to answer this question.

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