sudo fdisk -l
Well, you need to add lines in fstab for each of the partitions on
your internal hard drive that you want mounted automatically.
1) Use the following command to create a mount point for this drive
(change mountpoint to a name that is not already in use and will be
easy to recognize and remember):
sudo mkdir /media/mountpoint
2) Use the following command to back a back up of your fstab file in
case something goes wrong:
sudo cp /etc/fstab /etc/fstab.bak
3) Use the following command to open fstab for editing:
sudo gedit /etc/fstab
Add one of the following line (depending on filesystem type) to your
fstab to cause it to automatically mount (replace sda# with the name
of the device you wish to mount and mountpoint with the mountpoint you
created in step 1):
For ext3:
/dev/sda# /media/mountpoint ext3 defaults,errors=remount-ro 0 1
For NTFS:
/dev/sda# /media/mountpoint ntfs-3g defaults,nls=utf8,umask222 0 0
For Fat32 or Fat16:
/dev/sda# /media/mountpoint vfat user,utf8,fmask=0111,dmask=0000 0 0
Reboot.
Fuente: http://ubuntuforums.org/archive/index.php/t-669962.html
No hay comentarios:
Publicar un comentario