Adding a new harddrive to ubuntu server 16.04 LTS
- Install your new harddrive into the computer
- Boot from gparted live cd and format your new harddisk with ext4
- Reboot into ubuntu server 16.04 LTS
- Check /etc/dev to see the hardware descriptor of your new drive (Usually it should be sdb1)
Open /etc/fstab
EDIT /ETC/FSTAB
$ sudo nano /etc/fstab
Add the following line to the end:
/dev/sdb1 /media/data ext4 defaults 0 0