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.
2024-02-13 16:16:06 +00:00
> More information: <https://keith.github.io/xcode-man-pages/bless.8.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
2022-02-14 11:21:43 +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
2022-02-14 11:21:43 +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`