Partition and Mount
Make a partition and mount it to directory
Generate Partition
sudo fdisk /dev/sdbCommand (m for help): n
Partition number (1-128, default 1):
First sector (34-1953525134, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-1953525134, default 1953525134):
Created a new partition 1 of type 'Linux filesystem' and of size 931.5 GiB.Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.Format Partition
sudo mkfs -t ext4 /dev/sdb1Mount Partition
Last updated