3 ms·
1. I vaguely remember there being some command or sysctl preference which you can use to set options for next boot and also control sleep options.
by peterhil 6y ago
1. I vaguely remember there being some command or sysctl preference which you can use to set options for next boot and also control sleep options.
- DenseComet 6y agoSystem Preferences -> Startup Disk on the MacOS side should let you reboot into Windows. On Windows, you need to install the Windows Bootcamp Utility. It'll add an icon in the taskbar that you can right click to reboot back into MacOS.
- jungletime 6y agoIt only shows the macos partition
- peterhil 6y agoThe command is bless, and it requires some options to be able to boot a Windows partition: Example to boot from `dev/disk0s3` once: sudo /usr/sbin/bless --device /dev/disk0s3 --setBoot --legacy --nextonly More information: https://hints.macworld.com/article.php?story=20110601220925705 https://hints.macworld.com/article.php?story=201106012209257...
- peterhil 6y agoActually there has been a `systemsetup` command for a long time now, that is preferred to using `bless`: List the available startup volumes: sudo systemsetup -liststartupdisks Set startup partition: sudo systemsetup -setstartupdisk /Volumes/MyPartition https://krypted.com/mac-security/dont-use-bless-to-change-startup-disks-any-more-in-os-x/ https://krypted.com/mac-security/dont-use-bless-to-change-st...
- peterhil 6y agoActually, just pressing alt or option on an external keyboard should go to the boot partition selector. If you are using a wireless keyboard, do not press the key until you hear the startup chime, because bluetooth is not loaded until then: https://www.cnet.com/news/how-to-manage-os-x-boot-options-with-wireless-keyboards/ https://www.cnet.com/news/how-to-manage-os-x-boot-options-wi... Using Apple's BootCamp or rEfIt might also help if this does not work for some reason.