Help with fstab

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Help with fstab

Postby nucleus on Mon Apr 30, 2012 2:47 pm

Hi,

I am trying to mount my media folders which are located and shared on a Windows XP machine. I have added the two lines below in /etc/fstab but when I browse the two mountpoints, I cannot see my media.

Code: Select all
//192.168.10.30/My\040Data/My\040Media/Movies /mnt/movies cifs noauto,username=<user>,password=<pass>,uid=114,gid=126 0 0
//192.168.10.30/My\040Data/My\040Media/Series /mnt/series cifs noauto,username=<user>,password=<pass>,uid=114,gid=126 0 0


If I do it manually using the below it works.

Code: Select all
sudo mount -t cifs -o username=<user>,password=<pass>,uid=114,gid=126 //192.168.10.30/My\ Data/My\ Media/Movies /mnt/movies
sudo mount -t cifs -o username=<user>,password=<pass>,uid=114,gid=126 //192.168.10.30/My\ Data/My\ Media/Series /mnt/series


Can anyone tell me what I am doing wrong with my /etc/fstab editing?

Thanks
nucleus
Level 1
Level 1
 
Posts: 4
Joined: Mon Apr 30, 2012 2:39 pm

Linux Mint is funded by ads and donations.
 

Re: Help with fstab

Postby altair4 on Mon Apr 30, 2012 4:03 pm

You have "noauto" specified in fstab which does exactly what it sounds like it does: it does not automatically mount the shares.

Just remove the "noauto" option and see how much further that gets you.

BTW, What OS are you running that your uid is 114?
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 13
Level 13
 
Posts: 4743
Joined: Tue Feb 03, 2009 10:27 am

Re: Help with fstab[SOLVED]

Postby nucleus on Mon Apr 30, 2012 11:05 pm

Thank you for that. It worked.
I use LinuxMint 12. It's another user's uid, not mine.
nucleus
Level 1
Level 1
 
Posts: 4
Joined: Mon Apr 30, 2012 2:39 pm


Return to Installation & Boot

Who is online

Users browsing this forum: kureis and 18 guests