DIGIT-ARC read-only archive · snapshot: July 23, 2026

NTFS write error!

11 posts · originally from https://geek.digit.in/community/threads/ntfs-write-error.68283/

Dark Star
Dark Star Original post #1
Sep 15, 2007 at 6:45 PM
I installed ntfs-config
Code:
apt-get install ntfs-config

Now after using this I got this errorr

Code:
Mounting /media/sda1 failed.

$LogFile indicates unclean shutdown (0, 1)
Failed to mount '/dev/disk/by-uuid/C4445B1A445B0F14': Operation not supported
Mount is denied because NTFS logfile is unclean. Choose one action:
   Boot Windows and shutdown it cleanly, or if you have a removable
   device then click the 'Safely Remove Hardware' icon in the Windows
   taskbar notification area before disconnecting it.
Or
   Run ntfsfix version 1.13.1 on Linux unless you have Vista.
Or
   Mount the NTFS volume with the 'ro' option in read-only mode.

I have no other OS than Ubuntu what to do ?

btw back again on ubuntu :razz:

Regards
QwertyManiac
Sep 15, 2007 at 7:09 PM
Oh this is simple.

Go back to Windows, Shut Down properly (Don't Restart or Hibernate etc, only Shut Down) and then Launch Ubuntu. It'll be fixed. Its a security/safety issue related to NTFS :)

Oops, no other OS right? Um, wait...

So yeah, add the force option to the FSTAB (sudo gedit /etc/fstab)

So in the line that looks like:
Code:
/dev/hda1 /mnt/windows ntfs-3g users,auto,uid=1000,gid=100,umask=007 0 0

Make it look like:
Code:
/dev/hda1 /mnt/windows ntfs-3g users,auto,uid=1000,gid=100,umask=007,[B]force[/B] 0 0

What I mean is, just add the force command and then reboot.
Dark Star
Sep 15, 2007 at 7:17 PM
Also in my grub boot loader Windows is appearing well I had removed it how to remove from grubmenu.lst :?

Code:
# /etc/fstab: static file system information.
#
#  -- This file has been automaticly generated by ntfs-config -- 
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sda7 :
UUID=a92e4b73-b613-4607-bf76-9b2177983e24 / ext2 defaults,errors=remount-ro 0 1
# Entry for /dev/sda1 :
UUID=C4445B1A445B0F14 /media/sda1 ntfs umask=222,utf8 0 1
# Entry for /dev/sda3 :
UUID=A0FCAA1BFCA9EC2A /media/sda3 ntfs umask=222,utf8 0 1
# Entry for /dev/sda5 :
UUID=705E-3011 /media/sda5 vfat defaults,utf8,umask=007,gid=46 0 1
# Entry for /dev/sda6 :
UUID=536403c8-bb5e-4c58-94ec-532646c2424b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

I cannot find any line similar to that :(
QwertyManiac
Sep 15, 2007 at 8:03 PM
Aw man .. its right in the middle of the file!

Code:
# /etc/fstab: static file system information.
#
#  -- This file has been automaticly generated by ntfs-config -- 
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sda7 :
UUID=a92e4b73-b613-4607-bf76-9b2177983e24 / ext2 defaults,errors=remount-ro 0 1
# Entry for /dev/sda1 :
UUID=C4445B1A445B0F14 /media/sda1 ntfs umask=222,utf8,[B]force[/B] 0 1
# Entry for /dev/sda3 :
UUID=A0FCAA1BFCA9EC2A /media/sda3 ntfs umask=222,utf8,[B]force[/B] 0 1
# Entry for /dev/sda5 :
UUID=705E-3011 /media/sda5 vfat defaults,utf8,umask=007,gid=46 0 1
# Entry for /dev/sda6 :
UUID=536403c8-bb5e-4c58-94ec-532646c2424b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

Add the bold as shown.

But I wonder why it is ntfs and not ntfs-3g ... Wait I'll have to boot back to Ubuntu and check if its really gone. (Was playing Halo 2 :)))

Edit:
Ok, so if you are very sure you have installed ntfs-config and have ticked the appropriate options under Applications > System Tools > NTFS Configuration Tool, then change all occurances of ntfs to ntfs-3g in your fstab. Thus your final fstab will look like:


Code:
[/FONT]# /etc/fstab: static file system information.
#
#  -- This file has been automaticly generated by ntfs-config -- 
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sda7 :
UUID=a92e4b73-b613-4607-bf76-9b2177983e24 / ext2 defaults,errors=remount-ro 0 1
# Entry for /dev/sda1 :
UUID=C4445B1A445B0F14 /media/sda1 [B]ntfs-3g[/B] umask=222,utf8,[B]force[/B] 0 1
# Entry for /dev/sda3 :
UUID=A0FCAA1BFCA9EC2A /media/sda3 [B]ntfs-3g[/B] umask=222,utf8,[B]force[/B] 0 1
# Entry for /dev/sda5 :
UUID=705E-3011 /media/sda5 vfat defaults,utf8,umask=007,gid=46 0 1
# Entry for /dev/sda6 :
UUID=536403c8-bb5e-4c58-94ec-532646c2424b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

Changes indicated in bold.
Dark Star
Sep 15, 2007 at 8:55 PM
Thanks that did worked :) btw I formatted 1 drive after installin Ubuntu and opened NTFS config.. it told me put a letter I typed 3 and now the name of the HDD is coming 3 how can I change the name of the hard disk permanently ;)
QwertyManiac
Sep 15, 2007 at 9:16 PM
I don't know how to change the Volume ID via Linux, sorry, wait for someone else :)
vish786
vish786 #7
Sep 15, 2007 at 9:38 PM
offtopic:
QwertyManiac said:
Wait I'll have to boot back to Ubuntu and check if its really gone. (Was playing Halo 2 :)))

Halo 2.... hmm
wats ur system config ?
M
Sep 15, 2007 at 9:49 PM
Why NTFS if you don't have windows?
Did you try ntfsfix as listed in the solutions in your first post?
QwertyManiac
Sep 15, 2007 at 10:07 PM
@mehulved - That force fixes it up, the ntfsfix fixes it in a more legit way :)) Anyway his problem seems to be solved ..

@Shashwat Pant - You can remove it via (sudo gedit /boot/grub/menu.lst). The Windows entry will be the last, just remove the entire chunk. :)

@vish786 - 3.0 GHz HT Prescott P4 ( 478 ) + 7600 GT 8x + 1024 MB RAM
vish786
vish786 #10
Sep 15, 2007 at 10:57 PM
QwertyManiac said:
@vish786 - 3.0 GHz HT Prescott P4 ( 478 ) + 7600 GT 8x + 1024 MB RAM

is 7600 GT agp card ?
Dark Star
Dark Star #11
Sep 16, 2007 at 10:43 AM
Well again a problem :x .. I copy the files close the windows .. open again and everything blank. Now I have to right click the drive select Ubmount Vol. :x
Code:
You are not privileged to unmount this volume.
For an instance files copied appear .. after closing dissappear and had to follow same step :X
btw am also upgrading adding 1Gig to old 256 and Intel C2D + new mb +gpu later :) +320 gigs storage :d

vish786 said:
is 7600 GT agp card ?

Yes.. Socket 478 did not have PCI-e X16 slot :p

mehulved said:
Why NTFS if you don't have windows?
Did you try ntfsfix as listed in the solutions in your first post?

Install that by
Code:
sudo apt-get install ntfsprogs
donno where it is located plz throw some light on it :eek: btw will re-install maybe when DVD d/l get finished :D btw what other utils DVD ISO provide :D

bumpity bump :p