Created
August 7, 2020 14:07
-
-
Save glennswest/77105e67828b345a9d1edf87d5bbcd63 to your computer and use it in GitHub Desktop.
Delete mbr and all partitions except datastore.
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
label: gpt | |
label-id: AEC4D53B-ED9A-4DBB-B7B4-960B56D113A2 | |
device: /dev/sda | |
unit: sectors | |
first-lba: 34 | |
last-lba: 335544286 | |
/dev/sda5 : start= 11587584, size= 323956703, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=C7E4D36D-3878-4A8C-952F-4079674ED253, name="datastore" |
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
dd if=/dev/zero of=/dev/sda bs=446 count=1 | |
sfdisk -no-reread --force /dev/sda < disk1p.sfdisk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment