tldr/pages/osx/bless.md

21 lines
743 B
Markdown
Raw Normal View History

2020-10-07 12:39:23 +01:00
# bless
> Set volume bootability and startup disk options.
> More information: <https://ss64.com/osx/bless.html>.
2020-10-07 12:39:23 +01: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
`bless --folder "{{/Volumes/Mac OS X/System/Library/CoreServices}}" --bootinfo --bootefi`
2020-10-07 12:39:23 +01: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
`bless --mount "{{/Volumes/Mac OS}}" --setBoot`
2020-10-07 12:39:23 +01: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}}`
- 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`