You are not logged in.

#1 2010-11-26 15:06:00

naequs
Member
From: Germany
Registered: 2010-07-12
Posts: 23

[SOLVED] ntfs partition still fails to mount after adding to fstab

hi,

i recently installed arch(bang) on my laptop like:


/dev/sda1               2048    24578047    12288000   27  Unknown
/dev/sda2   *    24578048    24782847      102400      7  HPFS/NTFS
/dev/sda3        24782848   583196671   279206912    7  HPFS/NTFS
/dev/sda4       583196672   625141759    20972544    5  Extended
/dev/sda5       583198720   602073087     9437184   83  Linux
/dev/sda6       602075136   620949503     9437184   83  Linux
/dev/sda7       620951552   625141759     2095104   82  Linux swap / Solaris

where sda5 is / and sda6 is ~/

the line i added in fstab is:

/dev/sda3        /data        ntfs-3g defaults,force           0      0

but the damn thing still fails to mount

TIA !

Last edited by naequs (2010-11-27 17:17:29)


It's by forging that one becomes a blacksmith.

Offline

#2 2010-11-26 15:21:32

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: [SOLVED] ntfs partition still fails to mount after adding to fstab

Did you install extra/ntfs-3g? Is there an error message?

Offline

#3 2010-11-26 15:27:29

naequs
Member
From: Germany
Registered: 2010-07-12
Posts: 23

Re: [SOLVED] ntfs partition still fails to mount after adding to fstab

warning: ntfs-3g-2010.10.2-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): ntfs-3g-2010.10.2-1 [0.23 MB]

Total Download Size:    0.00 MB
Total Installed Size:   0.87 MB

Proceed with installation? [Y/n]

everything fine sad


It's by forging that one becomes a blacksmith.

Offline

#4 2010-11-26 15:33:13

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: [SOLVED] ntfs partition still fails to mount after adding to fstab

ntfs-3g is built on top of FUSE.  Do you have fuse added to your MODULES=() array in /etc/rc.conf?  I believe there is a notice about that when you install ntfs-3g.

Also, when trying to debug an automatic procedure (like fstab mount-on-boot), first test and see if the manual way works, to isolate the problem.
Can you mount the partition with ntfs-3g in a normal shell?

Offline

#5 2010-11-26 16:38:57

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] ntfs partition still fails to mount after adding to fstab

1. don't use force
2. what is the exact error?
3. what does dmesg say?
4. uname -r and  pacman -Q kernel26

Last edited by Mr.Elendig (2010-11-26 16:39:49)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2010-11-26 16:49:03

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: [SOLVED] ntfs partition still fails to mount after adding to fstab

This is mine and it works fine

Did you mkdir /data before hand for your mount point ?

# Mount Windows Partition
/dev/sda1 /mnt/windows ntfs-3g defaults 0 0

Offline

#7 2010-11-26 17:10:08

Gossamer
Member
Registered: 2009-04-29
Posts: 31

Re: [SOLVED] ntfs partition still fails to mount after adding to fstab

I normally just use:

"user, auto, rw" and it automounts at boot and works just the same as my main filesystem.

Offline

#8 2010-11-26 17:42:27

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] ntfs partition still fails to mount after adding to fstab

Gossamer wrote:

I normally just use:

"user, auto, rw" and it automounts at boot and works just the same as my main filesystem.

you can simply use "defaults" instead of that.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2010-11-26 18:36:45

naequs
Member
From: Germany
Registered: 2010-07-12
Posts: 23

Re: [SOLVED] ntfs partition still fails to mount after adding to fstab

alright, this was the solution, quite simple smile

whitetimer wrote:

Did you mkdir /data before hand for your mount point ?

# Mount Windows Partition
/dev/sda1 /mnt/windows ntfs-3g defaults 0 0

and ps: fuse is not added in my modules array but it works now

thx to all !

Last edited by naequs (2010-11-27 17:17:01)


It's by forging that one becomes a blacksmith.

Offline

#10 2010-11-27 05:26:23

Gossamer
Member
Registered: 2009-04-29
Posts: 31

Re: [SOLVED] ntfs partition still fails to mount after adding to fstab

Mr.Elendig wrote:
Gossamer wrote:

I normally just use:

"user, auto, rw" and it automounts at boot and works just the same as my main filesystem.

you can simply use "defaults" instead of that.

I always thought that only defaulted it for root rather than user. Thanks for the info.

Offline

Board footer

Powered by FluxBB