2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/parted

10 lines
227 B
Plaintext
Raw Normal View History

2021-06-08 15:03:13 +00:00
# create a new MBR/MSDOS partition table for BIOS systems
2017-05-08 20:27:00 +00:00
(parted) mklabel msdos
# create a new GPT partition table for UEFI systems instead, use:
(parted) mklabel gpt
# grow a partition
(parted) resizepart ${number} ${end}