Skip to content

Instantly share code, notes, and snippets.

@atomlab
Last active September 29, 2021 13:15
Show Gist options
  • Save atomlab/9a7aad1f472e74e632addfc953ca1a59 to your computer and use it in GitHub Desktop.
Save atomlab/9a7aad1f472e74e632addfc953ca1a59 to your computer and use it in GitHub Desktop.
#!//bin/bash
swappoff -a
echo "yes" | parted /dev/nvme0n1 rm 4
echo "yes" | parted /dev/nvme0n1 rm 3
echo "yes" | parted /dev/nvme1n1 rm 4
echo "yes" | parted /dev/nvme1n1 rm 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment