Created
October 16, 2018 06:55
-
-
Save lilongen/32973f972def11f8f79baa6b0ad50406 to your computer and use it in GitHub Desktop.
clear disk mbr, parted create partition table and create partition
This file contains 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
dd if=/dev/zero of=/dev/sdb bs=512 count=1 | |
parted /dev/sdb mklabel gpt | |
parted -a optimal /dev/sdb mkpart primary 0% 100% | |
parted /dev/sdb print | |
mkfs.xfs /dev/sdb1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment