How do I permanently mount my 137 GB HD to my Ubuntu 8.04 Desktop Edition on my Dell Precision 450 Workstation?

Rashkae ubuntu at tigershaunt.com
Fri Oct 31 04:16:27 UTC 2008


Edgar Sarino wrote:
> Dear Rashkae,
> 
> I am somewhat familiar with using the Terminal in Mac OS 10.5.5.
> 
> I have no problem editing text configuration files - I just don't want to
> make a mistake and lose data or functionality.
> 
> I am ready for your instructions.
> 
> Thanks.
> 

Looks like others have already suggested nice easy to use GUI tools I
was unaware of..

In any case, if you want to proceed the old fashioned way, I need you to
mount the hard drive the way you normally do (when you see the
lost/found directories)

then please copy and paste the output of the following commands:

sudo mount
sudo blkid

You need to create a mount point where you want the hard drive to mount
permanently.  For example, I use /mnt/storage on my own system, but it
can be anywhere, including somewhere in your home directory.  Just
decide where you want the hard drive to be grafted, and create the
directory with mkdir, such as mkdir /mnt/storage

Then create a backup of your /etc/fstab file.  This is the file where
hard drives and partitions are configured in Linux.  This is just a
safety in case something goes horribly wrong.

sudo cp /etc/fstab /etc/fstab.bak



With the output of the mount and blkid commands, I should be able to
provide you a line that you can copy and paste at the end of the fstab
to add your new hard drive.  Once the drive is mounted, then it's simply
a matter of changing ownership so you can write files to the drive as a
regular user. (Assuming the drive is formatted with a POSIX compatible
filesystem, such as ext3, and not dos fat or ntfs).  Using my
/mnt/storage example, this would be:

sudo chown -R username /mnt/storage





More information about the ubuntu-users mailing list