Skip to content

Instantly share code, notes, and snippets.

@puelocesar
Created August 29, 2016 20:22
Show Gist options
  • Save puelocesar/d2e9687567b5ff9bb689569d0b42ef4b to your computer and use it in GitHub Desktop.
Save puelocesar/d2e9687567b5ff9bb689569d0b42ef4b to your computer and use it in GitHub Desktop.
Paulos-MacBook-Pro:~ paulo$ sudo bless --device /dev/disk0s2 --setBoot --verbose
Password:
EFI found at IODeviceTree:/efi
found ioreg "FirmwareFeaturesMask"; featureMaskValue=0xE803FF37
found ioreg "FirmwareFeatures"; featureFlagsValue=0xE803F537
isPreBootEnvironmentUEFIWindowsBootCapable=1
given BSD is not a DVD disc medium
isDVDWithElToritoWithUEFIBootableOS=0
Checking if disk is complex (if it is associated with booter partitions)
GPT detected
Booter partition required at index 3
System partition found
Booter partition found
Preferred system partition found: disk0s1
Returning booter information dictionary:
<CFBasicHash 0x7f8ab1f06d40 [0x7fff7d202f00]>{type = mutable dict, count = 3,
entries =>
0 : <CFString 0x104ca8e70 [0x7fff7d202f00]>{contents = "System Partitions"} = (
disk0s1
)
1 : <CFString 0x104ca9650 [0x7fff7d202f00]>{contents = "Data Partitions"} = (
disk0s2
)
2 : <CFString 0x104ca9670 [0x7fff7d202f00]>{contents = "Auxiliary Partitions"} = (
disk0s3
)
}
Substituting booter disk0s3
IOMedia disk0s3 has UUID DAA1D0D5-2623-421E-8F0E-13EA661D1CB7
Setting EFI NVRAM:
efi-boot-device='<array><dict><key>IOMatch</key><dict><key>IOProviderClass</key><string>IOMedia</string><key>IOPropertyMatch</key><dict><key>UUID</key><string>DAA1D0D5-2623-421E-8F0E-13EA661D1CB7</string></dict></dict><key>BLLastBSDName</key><string>disk0s3</string></dict></array>'
Setting EFI NVRAM:
IONVRAM-DELETE-PROPERTY='efi-boot-file'
Setting EFI NVRAM:
IONVRAM-DELETE-PROPERTY='efi-boot-mkext'
Setting EFI NVRAM:
IONVRAM-DELETE-PROPERTY='efi-boot-kernelcache'
Old boot-args: rootless=1
Got token: rootless=1
Preserving: rootless=1
Setting EFI NVRAM:
boot-args='rootless=1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment