View Full Version : NTFS write error!
Dark Star
15-09-2007, 06:45 PM
I installed ntfs-config
apt-get install ntfs-config
Now after using this I got this errorr
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
15-09-2007, 07: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:
/dev/hda1 /mnt/windows ntfs-3g users,auto,uid=1000,gid=100,umask=007 0 0
Make it look like:
/dev/hda1 /mnt/windows ntfs-3g users,auto,uid=1000,gid=100,umask=007,force 0 0
What I mean is, just add the force command and then reboot.
Dark Star
15-09-2007, 07:17 PM
Also in my grub boot loader Windows is appearing well I had removed it how to remove from grubmenu.lst :?
# /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
15-09-2007, 08:03 PM
Aw man .. its right in the middle of the file!
# /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,force 0 1
# Entry for /dev/sda3 :
UUID=A0FCAA1BFCA9EC2A /media/sda3 ntfs umask=222,utf8,force 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:
# /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-3g umask=222,utf8,force 0 1
# Entry for /dev/sda3 :
UUID=A0FCAA1BFCA9EC2A /media/sda3 ntfs-3g umask=222,utf8,force 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
15-09-2007, 08: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
15-09-2007, 09:16 PM
I don't know how to change the Volume ID via Linux, sorry, wait for someone else :)
vish786
15-09-2007, 09:38 PM
offtopic: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 ?
mehulved
15-09-2007, 09:49 PM
Why NTFS if you don't have windows?
Did you try ntfsfix as listed in the solutions in your first post?
QwertyManiac
15-09-2007, 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
15-09-2007, 10:57 PM
@vish786 - 3.0 GHz HT Prescott P4 ( 478 ) + 7600 GT 8x + 1024 MB RAM
is 7600 GT agp card ?
Dark Star
16-09-2007, 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
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
is 7600 GT agp card ?
Yes.. Socket 478 did not have PCI-e X16 slot :p
Why NTFS if you don't have windows?
Did you try ntfsfix as listed in the solutions in your first post?
Install that by sudo apt-get install ntfsprogs donno where it is located plz throw some light on it :o btw will re-install maybe when DVD d/l get finished :D btw what other utils DVD ISO provide :D
bumpity bump :p
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.