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 18:03:14 UTC 2008


Edgar Sarino wrote:
> Dear Rashkae,
> 
> Here is the output, as requested:
> 
> edgar at edgar-desktop:~$ sudo mount
> [sudo] password for edgar:
> /dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
> proc on /proc type proc (rw,noexec,nosuid,nodev)
> /sys on /sys type sysfs (rw,noexec,nosuid,nodev)
> varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
> varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
> udev on /dev type tmpfs (rw,mode=0755)
> devshm on /dev/shm type tmpfs (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> lrm on /lib/modules/2.6.24-21-generic/volatile type tmpfs (rw)
> /dev/sdb1 on /media/Data type ext3 (rw)
> securityfs on /sys/kernel/security type securityfs (rw)
> binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
> (rw,noexec,nosuid,nodev)
> gvfs-fuse-daemon on /home/edgar/.gvfs type fuse.gvfs-fuse-daemon
> (rw,nosuid,nodev,user=edgar)
> 
> edgar at edgar-desktop:~$ sudo blkid
> /dev/sda1: UUID="641262b7-3057-4e2a-b659-a32eb62de7a5" TYPE="ext3"
> /dev/sda5: TYPE="swap" UUID="3d4aef0f-48e1-4462-8397-68930b00f96c"
> /dev/sdb1: UUID="9887bf55-f0c9-4472-bf4d-d84e5669d21c" SEC_TYPE="ext2"
> TYPE="ext3"
> 
> Thanks for all your help.
> 

You did not specify which mount point you want or created, so I'm going
to assume, for this exercise, that it will be /mnt/data

sudo mkdir /mnt
sudo mkdir /mnt/data

Then  add the following line to your fstab file:


UUID=9887bf55-f0c9-4472-bf4d-d84e5669d21c /mnt/data ext3 noatime   0  2


*Note* If e-mail wraps that to two lines, it should all be 1 line,
starting with "UUID" and ending with "2"  Once your fstab has been edited:

sudo umount /media/Data
sudo mount /mnt/data

sudo chown -R username /mnt/data

Substitute 'username' with whatever user name you log in under.




More information about the ubuntu-users mailing list