Friday, October 16, 2015

How to Change the Mac Startup Disk From the Command Line


Click the magnifying glass icon at the top of the Mac screen to display the Spotlight dialog box, type 'Terminal' and then click 'Terminal' in the list of results to launch the Terminal utility.
Type 'sudo bless -mount /Volumes/Startup_Disk_Name -setBoot' without the quotation marks into the Terminal window. The Bless command changes the startup disk. Replace 'Startup_Disk_Name' with the correct name of the disk you want to boot from. If the name contains spaces, enclose the entire path in quotation marks. For example, if your startup disk is labeled 'My Mac,' type the following command: sudo bless -mount '/Volumes/My Mac' -setBoot.
Press 'Enter' to run the command and change the startup disk. Note that your Mac boots from the new disk after you restart it. To restart the Mac from the command line immediately, run the following command: sudo shutdown -r now. Don't forget to save your work before you issue the command.
VPS Hosting

No comments:

Post a Comment