Skip to content

Instantly share code, notes, and snippets.

@teejee2008
Created December 1, 2017 07:27
Show Gist options
  • Select an option

  • Save teejee2008/93bf7d4ad5dacedd0a91096a4718c755 to your computer and use it in GitHub Desktop.

Select an option

Save teejee2008/93bf7d4ad5dacedd0a91096a4718c755 to your computer and use it in GitHub Desktop.
sudo cryptsetup luksFormat /dev/disk/by-partlabel/xps_system && \
sudo cryptsetup luksOpen /dev/disk/by-partlabel/xps_system xps_system && \
sudo mkfs.btrfs -f /dev/mapper/xps_system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment