tech:efi_notes_partitions_gpt_vs_mbr
Table des matières
EFI Notes partitions EFI GPT vs MBR
EFI/GPT
Optional: To create a partition, use the GNU parted command :
parted /dev/volume
mklabel gpt
Warning: The existing disk label on /dev/volume will be destroyed and all data on this disk will be lost. Do you want to continue?
mkpart primary 0% 100%
unit TB
print print free
quit
partprobe /dev/volume
Ou addpart / delpart ?
cat /proc/partitions
To create an XFS file system, type the following command :
mkfs.xfs -f /dev/partition
For an ext4 files system, type the following command :
mkfs.ext4 /dev/partition
#parted /dev/sdb mklabel gpt mkpart P1 0% 100% parted /dev/sdb mklabel gpt mkpart primary ext4 0% 100%
parted /dev/sdb unit s print > sdb-pt.parted
parted -ms /dev/sdb print > sdb-pt.parted2
- sdb.parted2
BYT; /dev/sdb:322GB:scsi:512:512:gpt:EQLOGIC 100E-00:; 1:1049kB:322GB:322GB:ext4:primaire:;
Exemple
parted /dev/sdb mklabel msdos mkpart p xfs 0% 100%
tech/efi_notes_partitions_gpt_vs_mbr.txt · Dernière modification : de 127.0.0.1
