diff --git a/README.md b/README.md index 16bd92a..94ebd75 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,11 @@ The only reliable way to do this is by sending an AppleScript command to Finder. osascript -e 'tell application "Finder" to eject (every disk whose ejectable is true)' ``` +#### Make Volume OS X Bootable +```bash +bless --folder "/path/to/mounted/volume/System/Library/CoreServices" --bootinfo --bootefi +``` + #### Mount Disk Image ```bash hdiutil attach /path/to/diskimage.dmg @@ -170,6 +175,11 @@ You don't have to use the Disk Utility GUI for this. sudo diskutil repairPermissions / ``` +### Set Boot Volume +```bash +bless --mount "/path/to/mounted/volume" --setBoot +``` + #### Show All Attached Disks and Partitions ```bash diskutil list