Created
October 18, 2019 11:55
-
-
Save atilaromero/bcdb41841ebec700d2f01acba9c818c0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MBR | |
sudo sfdisk -d /dev/sdb | grep -v label-id | sudo sfdisk /dev/sda | |
# GPT | |
sgdisk --replicate=$dest $source | |
sgdisk -G $dest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment