PDA

View Full Version : [ubuntu] automounting 2nd and 3rd hard drive



alwiap
June 6th, 2008, 03:04 AM
Hi,

I've browsed through some threads of how to do this, and I just want to make sure I do the right thing. I see that I have to edit /etc/stab, and here is what I currently have:


# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2
UUID=c44f4a27-c688-4596-8439-f7962d5cc931 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda5
UUID=3d7e26b3-f32a-4751-aa46-5f1529c753ee none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0

From this data, I also can't tell which drives are which, so I know which 2 to enable to automount (sorry, I'm n00b).

Thanks so much!

hopelessone
June 6th, 2008, 03:06 AM
Check the community docs for a step by step guide...


https://help.ubuntu.com/community/InstallingANewHardDrive

Hope this helps...

alwiap
June 6th, 2008, 03:17 AM
Check the community docs for a step by step guide...


https://help.ubuntu.com/community/InstallingANewHardDrive

Hope this helps...

thanks for the link! i will investigate.

bumanie
June 6th, 2008, 03:25 AM
Essentially you have to make a directory as a mount point for the drives that are not automounting and then add them to fstab. For example to add sdb1 partition called bob, one would

sudo mkdir /media/bob then
sudo gedit /etc/fstab and add
/dev/sdb1 /media/bob ext3 defaults, 0 1
Hope that helps.