



There appear to be two options, either 'smbfs' or 'cifs'.
My concern though is that authentication is required when accessing my SMB shares, and it looks like I have to enter my required username and password in plain text in the fstab file!
//WHS/Common /media/Common cifs username=altair,password=secret,uid=1000 0 0
//WHS/Common /media/Common cifs credentials=/path_to/.creds,uid=1000 0 0




mythicalmonster wrote:Hi Fred,
Please help! I followed this tutorial, and have now stuffed up my hard-drive thing! I am a beginner, and I'm afraid this is not mycomputer so kinda screwed. I tried the CLI to mount the drive, no joy so then I tried the GUI. THe hard drive is now completely unaccessible! HELP
m
sudo blkid -c /dev/nullcat /etc/fstabmount
sudo chown -R user /media/files/dev/sda1: LABEL="EFI" UUID="70D6-1701" TYPE="vfat"
/dev/sda2: UUID="cdcd9028-452b-32a8-be06-876f1692a786" LABEL="Snow Leopard" TYPE="hfsplus"
/dev/sda3: LABEL="Virtualbox" UUID="F0E652F1E652B814" TYPE="ntfs"
/dev/sdb1: LABEL="swap" UUID="7c429524-3fa2-4022-9ca1-ccf9d651b9f3" TYPE="swap"
/dev/sdc1: UUID="489CB4C19CB4AAB8" TYPE="ntfs"
/dev/sdc2: UUID="E870B0B970B09034" TYPE="ntfs"
/dev/sdc3: LABEL="Win 7 Storage" UUID="96C4C259C4C23AEF" TYPE="ntfs"
/dev/sdb2: UUID="25311594-ef13-45b1-8c1e-414e37c522c1" TYPE="ext4"
/dev/sdb3: UUID="3e9ad51d-a502-4d0b-b790-c2fb79252f98" TYPE="ext4"
/dev/sdd1: LABEL="files" UUID="4a5e3e59-d65a-455b-b3db-3b90c1ca6572" TYPE="ext4"
/dev/sdd2: LABEL="storage" UUID="58DBE5CB2F80A2DF" TYPE="ntfs"
/dev/sdd3: LABEL="backup" UUID="595239EE18A59F3C" TYPE="ntfs"
/dev/sde1: LABEL="Transition" UUID="2C62-01CD" TYPE="vfat"
/dev/sdm1: LABEL="Transition HD" UUID="5DCDC7535F26C2D7" TYPE="ntfs"
/dev/sdl1: LABEL="TV" UUID="264246FD4246D16B" TYPE="ntfs"
/dev/sdn1: LABEL="New Volume" UUID="277E-F194" TYPE="vfat" proc /proc proc defaults 0 0
# /dev/sdb1
UUID=7c429524-3fa2-4022-9ca1-ccf9d651b9f3 swap swap sw 0 0
# /dev/sdb2
UUID=25311594-ef13-45b1-8c1e-414e37c522c1 / ext4 rw,errors=remount-ro 0 0
# /dev/sdb3
UUID=3e9ad51d-a502-4d0b-b790-c2fb79252f98 /home ext4 rw,errors=remount-ro,user_xattr 0 0
/dev/sdd1 /media/files ext4 defaults,noatime 0 2
/dev/sdd2 /media/storage ntfs defaults,umask=007,gid=46 0 0gosa@lmde /media $ sudo su
[sudo] password for gosa:
lmde meiia # 

My problem is that when rebooting the computer, and opening Nautilus I can't find the volume "storage" as an available drive.
If I navigate to /media I do see it, but the folder icon has an X in it, and I can't open it (message says "You do not have the permissions necessary to view the contents of "storage".)
/dev/sdd2 /media/storage ntfs defaults,umask=007,gid=46 0 0
sudo gpasswd -a gosa plugdev
altair4 wrote:This HowTo was written with Ubuntu based Mint in mind not LMDE. There is nothing wrong with this line in fstab:/dev/sdd2 /media/storage ntfs defaults,umask=007,gid=46 0 0
Except that in Ubuntu-Mint all new users are members of the plugdev group ( gid=46 ) by default. In Debian they are not. So if you can add yourself to the plugdev group:
- Code: Select all
sudo gpasswd -a gosa plugdev
Then logout and login again for the group membership to take affect it should work.


me@me-System-Product-Name ~ $ sudo blkid -c /dev/null
[sudo] password for me:
/dev/sda1: LABEL="System Reserved" UUID="50B4C36DB4C3545E" TYPE="ntfs"
/dev/sda2: UUID="8E4EDC344EDC1735" TYPE="ntfs"
/dev/sda5: UUID="e0816cb8-23eb-45cf-803c-76e7608dc420" TYPE="ext3"
/dev/sda6: UUID="30a47fd4-c169-4483-851c-b9596f18b18e" TYPE="ext3"
/dev/sda7: UUID="c9fe47c2-85ff-4393-86a4-773f81861bcb" TYPE="ext3"
/dev/sda8: UUID="31b05315-b9f3-4a32-89e0-efe697ca0e01" TYPE="ext3"
/dev/sda9: UUID="a014c50a-056c-4851-9f5f-954b81a5f669" TYPE="ext3"
/dev/mapper/cryptswap1: UUID="d5162753-6078-492f-abf6-59a98e10cd06" TYPE="swap"
me@me-System-Product-Name ~ $ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=30a47fd4-c169-4483-851c-b9596f18b18e / ext3 errors=remount-ro 0 1
# /boot was on /dev/sda5 during installation
UUID=e0816cb8-23eb-45cf-803c-76e7608dc420 /boot ext3 defaults 0 2
# /home was on /dev/sda9 during installation
UUID=a014c50a-056c-4851-9f5f-954b81a5f669 /home ext3 defaults 0 2
# /tmp was on /dev/sda7 during installation
UUID=c9fe47c2-85ff-4393-86a4-773f81861bcb /tmp ext3 defaults 0 2
# /usr was on /dev/sda8 during installation
UUID=31b05315-b9f3-4a32-89e0-efe697ca0e01 /usr ext3 defaults 0 2
# swap was on /dev/sda10 during installation
#UUID=6b5b59a5-2403-4353-a8fa-7e58c3bb4584 none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0
/dev/sda2 /home/me/Windows ntfs defaults,umask=007,gid=46 0 0
/dev/sda2 /home/me/Windows ntfs defaults,umask=007,gid=46 0 0me@me-System-Product-Name ~ $ mount
/dev/sda6 on / type ext3 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
/dev/sda7 on /tmp type ext3 (rw,commit=0)
/dev/sda5 on /boot type ext3 (rw,commit=0)
/dev/sda9 on /home type ext3 (rw,commit=0)
/dev/sda2 on /home/me/Windows type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda8 on /usr type ext3 (rw,commit=0)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/home/me/.Private on /home/me type ecryptfs (ecryptfs_check_dev_ruid,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs,ecryptfs_sig=528f9ff1e9f185bb,ecryptfs_fnek_sig=7165aac9fcd192d2)
gvfs-fuse-daemon on /home/me/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=me)
/dev/sda2 /home/me/Windows ntfs defaults,umask=007,gid=46 0 0
#/dev/sda2 /home/me/Windows ntfs defaults,umask=007,gid=46 0 0
/dev/sda2 on /home/me/Windows type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda2 /home/me/Windows ntfs defaults,uid=1000,umask=007,gid=46 0 0
sudo umount /home/me/Windowssudo mount -asudo mkdir /media/Windows/dev/sda2 /media/Windows ntfs defaults,umask=007,gid=46 0 0


4hya wrote:install storage device manager.


To auto mount an ntfs Windows partition in /media open a terminal and type:
sudo mkdir /media/Windows
sudo su
echo "/dev/sdxx /media/Windows ntfs defaults,umask=007,gid=46 0 0" >> /etc/fstab

gksudo gedit /etc/fstab



sudo blkid -c /dev/nullcat /etc/fsatb
Users browsing this forum: OnlyMe and 7 guests