Skip to content

Instantly share code, notes, and snippets.

@papapana
Forked from cetinajero/macos_boot_keys.md
Created October 30, 2021 21:25
Show Gist options
  • Select an option

  • Save papapana/e519c0c25719a7b851c9dda454eaf54f to your computer and use it in GitHub Desktop.

Select an option

Save papapana/e519c0c25719a7b851c9dda454eaf54f to your computer and use it in GitHub Desktop.
macOS Boot combination keys and bootable USB commands

macOS Boot combination keys

Keys Description
Startup Manager
Safe mode
D Apple Diagnostics
+ D Apple Diagnostics over Internet
+ V Verbose mode
+ S ó + R Single-user mode
+ R Install the latest macOS that was installed on your Mac
+ + R Upgrade to the latest macOS compatible with your Mac
+ + + R Install the original macOS, or closest still available
+ + P + R Reset NVRAM or PRAM
T Target Disk

Create a bootable USB from an ISO file

diskutil list
diskutil eraseDisk MS-DOS "WIN10HSL" MBR disk2
hdiutil mount ~/Downloads/Win10_1703_SingleLang_SpanishMexico_x64.iso
cp -rp /Volumes/CSLA_X64FREO_ES-MX_DV5/* /Volumes/WIN10HSL/
hdiutil unmount /Volumes/WIN10HSL/

Get the Windows activation key from the BIOS

Windows: wmic path softwarelicensingservice get OA3xOriginalProductKey

GNU Linux: sudo hd /sys/firmware/acpi/tables/MSDM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment