You are not logged in.

#1 2008-02-19 19:15:32

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

ntfs problem

Well my ntfs drives usualy mounts automaticly but today it seems to have stoped doing so, i might have done something in some config that i dont know about... anny sugestions?

Offline

#2 2008-02-19 19:35:57

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: ntfs problem

What does your /etc/fstab say? What does mount say when you try to mount the drive?

Offline

#3 2008-02-19 19:46:12

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

Re: ntfs problem

fstab:

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/cdrom1 /mnt/cdrom1   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/fd0 /mnt/fd0   vfat   user,noauto   0      0
/dev/sda1 /boot ext2 defaults 0 1
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / ext2 defaults 0 1
/dev/sda4 /home ext2 defaults 0 1
none  /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0

I havent tryide to manualy mounted it becouse it has always just been mounted automaticly.

Offline

#4 2008-02-19 20:00:20

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: ntfs problem

Yup, it's listed in there, so it won't be mounting automagically when you startup, that's your problem.

You need to add the device line back into the fstab file.

For my laptop thats as follows

/dev/sda2     /mnt/vista     ntfs       auto, users, user, noexec, nosuid, nogid    0    0

add the line as appropriate to the fstab file, then type

mount /dev/sda2

or whatever your partition is to mount the drive. Problem solved (in theory) smile

HTH

Si

Offline

#5 2008-02-19 20:45:08

tuxce
Member
Registered: 2008-02-19
Posts: 56
Website

Re: ntfs problem

eldamar wrote:

Well my ntfs drives usualy mounts automaticly but today it seems to have stoped doing so, i might have done something in some config that i dont know about... anny sugestions?

from a desktop manager? if yes which one?

Offline

#6 2008-02-19 21:57:37

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

Re: ntfs problem

i tryide to add:
/dev/sdb1     /mnt/sdb1     ntfs       auto, users, user, noexec, nosuid, nogid    0    0
to fstab and wrote mount /dev/sdb1 but it gives me:
[mntent]: rad 17 i /etc/fstab är felaktig
mount: kan inte hitta /dev/sdb1 i /etc/fstab eller /etc/mtab

I used gnome at first but i switched to xfce4, maby that is my problem?

Offline

#7 2008-02-19 23:08:37

tuxce
Member
Registered: 2008-02-19
Posts: 56
Website

Re: ntfs problem

you cannot have spaces in mount options (fourth field):

/dev/sdb1     /mnt/sdb1     ntfs       auto,users,user,noexec,nosuid,nogid    0    0

Offline

#8 2008-02-20 04:15:21

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: ntfs problem

*IF* you have ntfs-3g installed AND you've updated recently and got the ntfs-3g update, try running this as root:

chmod u+s /bin/ntfs-3g


Matt

"It is very difficult to educate the educated."

Offline

#9 2008-02-20 07:20:47

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: ntfs problem

eldamar wrote:

i tryide to add:
/dev/sdb1     /mnt/sdb1     ntfs       auto, users, user, noexec, nosuid, nogid    0    0
to fstab and wrote mount /dev/sdb1 but it gives me:
[mntent]: rad 17 i /etc/fstab är felaktig
mount: kan inte hitta /dev/sdb1 i /etc/fstab eller /etc/mtab

I used gnome at first but i switched to xfce4, maby that is my problem?

gnome-volume-manager will automatically attempt to mount unmounted partitions/drivers it detect's on startup. Since your fstab doesn't contain an entry for your ntfs partition, it's obvious gnome-volume-manager was responsible, in the past, for performing the automatic mount. If you switched to XFCE it is likely XFCE doesn't have an equivalent service (at least one enabled by default) and you will have to manually add a line (such as above) to your fstab to auto-mount it.

Offline

#10 2008-02-20 10:51:53

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: ntfs problem

tuxce wrote:

you cannot have spaces in mount options (fourth field):

/dev/sdb1     /mnt/sdb1     ntfs       auto,users,user,noexec,nosuid,nogid    0    0

My bad sorry, indeed correct, you can't have spaces in the options section.

Should be able to try again without spaces if you have put them in.  It looks like mount is reporting that it cannot find /dev/sdb1 in /etc/fstab or /etc/mtab which could be caused by spaces in the options line.

Offline

Board footer

Powered by FluxBB