Here's how to do it using parted (as root);
# parted /dev/sdb # Substitute with the drive device you are trying to partition
> mklabel gpt # A gpt partition table is needed for partitions over 2TB
> mkpart pri 1 -1 # Makes a new primary partition using the whole disk
Now you can
format the partition the usual way. Here is an ext4 example;
mkfs -t ext4 /dev/sdb1
No comments:
Post a Comment