HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

bless — Set volume boot capability and startup disk options. More information: <https://keith.github.io/xcod

Submitted by: @import:tldr-pages··
0
Viewed 0 times
volumecommandandbootclicapabilityblessset
macos

Problem

How to use the bless command: Set volume boot capability and startup disk options. More information: <https://keith.github.io/xcode-man-pages/bless.8.html>.

Solution

bless — Set volume boot capability and startup disk options. More information: <https://keith.github.io/xcode-man-pages/bless.8.html>.

Bless a volume with only Mac OS X or Darwin, and create the BootX and boot.efi files as needed:
bless --folder {{/Volumes/Mac OS X/System/Library/CoreServices}} --bootinfo --bootefi


Set a volume containing either Mac OS 9 and Mac OS X to be the active volume:
bless --mount {{/Volumes/Mac OS}} --setBoot


Set the system to NetBoot and broadcast for an available server:
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:
bless --info --plist

Code Snippets

Bless a volume with only Mac OS X or Darwin, and create the BootX and `boot.efi` files as needed

bless --folder {{/Volumes/Mac OS X/System/Library/CoreServices}} --bootinfo --bootefi

Set a volume containing either Mac OS 9 and Mac OS X to be the active volume

bless --mount {{/Volumes/Mac OS}} --setBoot

Set the system to NetBoot and broadcast for an available server

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

bless --info --plist

Context

tldr-pages: osx/bless

Revisions (0)

No revisions yet.