Outils pour utilisateurs

Outils du site


tech:efi_notes_partitions_gpt_vs_mbr

EFI Notes partitions EFI GPT vs MBR

EFI/GPT

Source : http://www.ibm.com/support/knowledgecenter/SS42VS_7.2.6/com.ibm.qradar.doc/t_offboard_iscsi_configure_volume.html

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki