NTFS write error!

Status
Not open for further replies.

Dark Star

Cyborg Agent
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

Commander in Chief
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.
 
Last edited:
OP
Dark Star

Dark Star

Cyborg Agent
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 :(
 
Last edited:

QwertyManiac

Commander in Chief
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.
 
Last edited:
OP
Dark Star

Dark Star

Cyborg Agent
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 ;)
 

mehulved

18 Till I Die............
Why NTFS if you don't have windows?
Did you try ntfsfix as listed in the solutions in your first post?
 

QwertyManiac

Commander in Chief
@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
 
OP
Dark Star

Dark Star

Cyborg Agent
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
 
Last edited:
Status
Not open for further replies.
Top Bottom