Add Storage
Update youre Package list and install "gdisk"
apt-get updateapt-get install gdiskExecute "gdisk"
gdisk /dev/sdbCreate a new GPT partition table: Press
oand thenEnter.Create a new partition: Press
nand follow the prompts:Press
Enterto accept default partition number.Press
Enterto accept default start sector.Press
Enterto accept default end sector (uses the whole disk).
Set partition type: Press
t, thenEnterto accept the default type (Linux filesystem, type8300).Write changes and exit: Press
w, thenEnter.Format the partition:
mkfs.ext4 /dev/sdb1Create a mount point:
mkdir /mnt/storageMount the Disk:
nano /etc/fstabAdd the following entry:
/dev/sdb1 /mnt/storage ext4 defaults 0 2
Last updated
Was this helpful?