Skip to content

Instantly share code, notes, and snippets.

@sephraim
Last active February 1, 2025 14:09
Show Gist options
  • Save sephraim/b60c00b1fa056b0baedeba31aad2f7f1 to your computer and use it in GitHub Desktop.
Save sephraim/b60c00b1fa056b0baedeba31aad2f7f1 to your computer and use it in GitHub Desktop.
[Create SteamOS recovery drive] Using Mac or Linux, create a SteamOS disk image flash drive to recover, repair, or re-image your Steam Deck
# NOTE: This process takes ~16 minutes on an M1 Mac
# RESOURCES:
# - https://www.cyberciti.biz/faq/how-to-create-disk-image-on-mac-os-x-with-dd-command/
# - https://help.steampowered.com/en/faqs/view/1B71-EDF2-EB6D-2BB3
# STEPS:
# 1.) Download the SteamOS .img.bz2 file from here: https://help.steampowered.com/en/faqs/view/1B71-EDF2-EB6D-2BB3
# 2.) Plug in your flash drive (must be 8GB or more)
# 3.) List available volumes
diskutil list
#=> /dev/disk4 (external, physical):
#=> #: TYPE NAME SIZE IDENTIFIER
#=> 0: GUID_partition_scheme *8.0 GB disk4
#=> 1: EFI EFI 209.7 MB disk4s1
#=> 2: Microsoft Basic Data Lexar 7.8 GB disk4s2
# 4.) Find your disk in the list above and unmount it, e.g. /dev/disk4
diskutil unmountDisk <DISK_DRIVE> # e.g. diskutil unmountDisk /dev/disk4
#=> Unmount of all volumes on disk4 was successful
# 5.) Create the disk image drive
bzcat <IMG_FILE> | sudo dd if=/dev/stdin of=<DISK_DRIVE> oflag=sync status=progress bs=128M
# e.g. bzcat ~/Downloads/steamdeck-recovery-4.img.bz2 | sudo dd if=/dev/stdin of=/dev/disk4 oflag=sync status=progress bs=128M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment