2020-10-07 12:39:23 +01:00
# bless
2021-05-20 21:13:41 +01:00
> Set volume boot capability and startup disk options.
2021-03-08 19:08:37 +00:00
> More information: <https://ss64.com/osx/bless.html>.
2020-10-07 12:39:23 +01:00
2021-03-08 19:08:37 +00:00
- Bless a volume with only Mac OS X or Darwin, and create the BootX and `boot.efi` files as needed:
2020-10-07 12:39:23 +01:00
2021-03-08 19:08:37 +00:00
`bless --folder "{{/Volumes/Mac OS X/System/Library/CoreServices}}" --bootinfo --bootefi`
2020-10-07 12:39:23 +01:00
2021-03-08 19:08:37 +00:00
- Set a volume containing either Mac OS 9 and Mac OS X to be the active volume:
2020-10-07 12:39:23 +01:00
2021-03-08 19:08:37 +00:00
`bless --mount "{{/Volumes/Mac OS}}" --setBoot`
2020-10-07 12:39:23 +01:00
2021-03-08 19:08:37 +00:00
- Set the system to NetBoot and broadcast for an available server:
2020-10-07 12:39:23 +01:00
`bless --netboot --server {{bsdp://255.255.255.255}}`
2021-03-08 19:08:37 +00:00
- Gather information about the currently selected volume (as determined by the firmware), suitable for piping to a program capable of parsing Property Lists:
2020-10-07 12:39:23 +01:00
`bless --info --plist`