You may be interested in creating an /etc/fstab entry for the drive to mount it somewhere convenient (such as within your home directory, if it's for your personal use alone). Load the /etc/fstab file into your favorite editor (you'll need to execute it with sudo, as described by others in this thread) and add an entry similar to this:
Code:
/dev/sdb1 /home/foo/storage ext3 defaults 0 2
Change /dev/sdb1 to the device filename associated with the drive's single partition and change /home/foo/storage to wherever you want to mount it. That directory must exist (it should be just an empty directory). You can even mount it as /home, although that will require moving your current /home directory tree. Instead of specifying the device filename (/dev/sdb1 in this example), you can use a UUID to specify the device, similar to most entries you've already got in /etc/fstab. Use the blkid command to find the UUID for a device, as in "sudo blkid /dev/sdb1" to find the UUID for /dev/sdb1. Using a UUID makes the configuration more robust against certain types of system changes, such as repartitioning, but it's harder to read in /etc/fstab.
With these changes made, unmount the drive if it's already mounted, then type "sudo mount -a". Your drive should appear in the location you've specified.
Bookmarks