Mount a new partition automatically (at boot time)
By resizing a partition, you create a new (e.g. ext3 or ext4) partition that you want to mount automatically at each boot.
Follow the steps at https://help.ubuntu.com/community/InstallingANewHardDrive.
As root, create a directory for the drive (e.g.
/etc/fstab and add this line:
/dev/sdb1 /media/mynewdrive ext3 defaults 0 2
Of course, you need to adjust
/dev/sdb1 to your case. Run “
sudo fdisk -l” to figure out the path to the new partition. If you created an ext4 partition, change ext3 too.
Mount the drive manually or restart the system (in this latter case, it will be mounted automatically). Then, make it writable for yourself:
sudo chown -R USERNAME:USERNAME /media/mynewdrive
USERNAME is the name of the user that you use for everyday work.