Problem with NTFS mounting read-only

Some people have reported this problem. Puppy uses the following to mount an NTFS partition. If you are experiencing this problem, I need you to try this in a terminal and find out what error is returned.

Type this (assuming partition is hda1):

# ntfs-3g /dev/hda1 /mnt/hda1 -o silent,umask=0,no_def_opts,allow_other
# echo $?

I need to know what is returned by the echo also.

If it mounts okay, but readonly, unmount it then try this:

#umount /mnt/hda1
# ntfs-3g /dev/hda1 /mnt/hda1 -o force,silent,umask=0,no_def_opts,allow_other
# echo $?

Then unmount:
# umount /mnt/hda1

Posted on 18 Apr 2008, 8:45


Comments:

Posted on 18 Apr 2008, 8:53 by don russell
ntfs read-only if check needed
I installed (frugal) the 4.0 beta on a machine with NTFS file systems. The mounts were read-only in spite of several mount chnanges I tried. I booted into XP and checked the file systems, the went back to puppy and it all worked fine.


Posted on 18 Apr 2008, 9:35 by cthisbear
NTFS
" I need to know what is returned by the echo also.

If it mounts okay, but readonly, unmount it then try this: "
..............
Puppy Beta4
Booted a Dell Optiplex SX260 to fix XP.

Red warning label etc appeared?
I did not unmount.
Used ...Force.. to delete pagefile etc the first
time only, with no problems in moving files..copying on and off the same disk...and also deleting files.

I thought this was an excellent release
super smooth...........Chris.


Posted on 18 Apr 2008, 9:39 by kirk
ntfs
No problem with Pmount or command line. Hotpup mounts ntfs read-only.



Posted on 18 Apr 2008, 10:47 by linuxcbon
ntfs
# ntfs-3g /dev/hdc6 /mnt/hdc6 -o silent,umask=0,no_def_opts,allow_other
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

# echo $?
0



Posted on 18 Apr 2008, 15:11 by GeoW
No problem

I am running Puppu 3.98 on my NTFS HD.

It works great I read and write from
Puppy or Win.

Dono if this helps.

GeoW


Posted on 18 Apr 2008, 18:40 by coolpup
NTFS-3G Stable Read/Write Driver
The latest stable version is 1.2412, released on April 12, 2008.

http://freshmeat.net/projects/ntfs-3g/?branch_id=68583&release_id=275981

http://www.ntfs-3g.org/


Posted on 20 Apr 2008, 12:22 by Prit1
ntfs-3g output
#ntfs-3g /dev/hda1 /mnt/hda1 -o silent,umask=0,no_def_opts,allow_other

RETURNED:

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

#echo $?

RETURNED:

0


Posted on 20 Apr 2008, 14:21 by BarryK
Re: ntfs
I also did a test on a relative's computer, Windows XP. I saved a pup_save on it, worked fine.

Prit1,
What version of Windows do you have? I'm wondering if the problem that some people have is with the NTFS used with Vista.

Or alternatively, perhaps the NTFS is so dirty that ntfs-3g can't handle it. A run through the filesystem cleanup utility in Windows might be worth a try.



Posted on 20 Apr 2008, 14:23 by BarryK
Re: NTFS note
Linuxcbon, I see that you also report the same error. What version is your Windows?


Posted on 20 Apr 2008, 16:01 by HairyWill
NTFS
I get this too
# ntfs-3g /dev/hda1 /mnt/hda1 -o silent,umask=0,no_def_opts,allow_other
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
# echo $?
0
partition is mounted read/write
it is running XP, service pack 1 (I think)
I'm sure the filesystem is dirty


Posted on 21 Apr 2008, 2:32 by Prit1
ntfs-3g
Barry,
My Windows version is XP Home SP2. Somehow the Hotpup in 2.14R works well with my NTFS system. Maybe we should look at the mount script in 2.14R.



Posted on 21 Apr 2008, 7:30 by BarryK
Re: ntfs
Prit1,
Kirk reports that HotPup mounts ntfs partitions read-only.


Posted on 21 Apr 2008, 7:34 by BarryK
Re: ntfs
Prit1,
Anyway, when you tested mounting ntfs-3g, it returned '0' meaning that it succeeded, despite those error messages. Meaning that it got mounted read-write. After running that line with ntfs-3g, did you go and see whether /mnt/hda1 was actually mounted and writable?


Posted on 22 Apr 2008, 8:12 by Prit1
ntfs-3g
Barry,
You are right. I verified after the commands you mentioned and my NTFS partition was mounted read-write and I was able to write to it. Hope the next release will not have this issue.
A month ago, upon suggestion from Dougal, I used the mount script from 2.14R in 2.17.1 and it did mount ntfs-3g in read-write without any problems.