General Support - Writing to ntfs
giaur - 20.03.2007, 21:30 Uhr
Titel: Writing to ntfs
How to enable ntfs writing? I have Ntfs-3g and libntfs9 installed, but I can't write to ntfs partition, even if I set rw mode in my fstab file.
While botting system, always this messages appears:
NTFS-fs warning (device hda1): load_system_files(): Unsupported volume flags 0x4000 encountered.
NTFS-fs warning (device hda1): load_system_files(): Volume has unsupported flags set. Will not be able to remount read-write. Run chkdsk and mount in Windows.
... and writing to ntfs is disabled. What can I do?
Kano - 20.03.2007, 21:35 Uhr
Titel: RE: Writing to ntfs
I hope you can read: run chkdsk first!
Crest - 20.03.2007, 22:53 Uhr
Titel: RE: Writing to ntfs
Be sure to shutdown Windows the correct way. If you had a crash (bsod) while running Windows then you must first reboot. This forces chkdsk to run and solve possible problems with the ntfs partition. r/w access to ntfs partitions under Linux is only possible when the clean flag for the partition is found (set by Windows when shutting down).
giaur - 21.03.2007, 06:31 Uhr
Nope... Real problem is, that Windows is closed correctly, but this message still appears... chkdsk doesn't report any errors, so I assume that my ntfs partitions are clear.
I have 3 NTFS partitions on 2 hard discs, but writing doesn't work at all and messages about unsuppoerted flags always appears.
Note, that writing to the same partitions from Knoppix live CD works fine, but I don't want to install knoppix now, I want to enable this feature in Kanotix I have installed.
Crest - 21.03.2007, 15:07 Uhr
Well, I have never used/tried the r/w feature of the driver since I don't really need it. Maybe it makes also a difference if you are using Kernel 2.6.18 or Kano's test Kernel 2.6.20. In fact I have never played with any ntfs-3g related settings.
Kano - 21.03.2007, 17:33 Uhr
With the 2.6.20 kernel you get ntfs-3g updates to 1.3x.
giaur - 21.03.2007, 18:36 Uhr
Hmm newest (experimental) ntfs-3g version available now is 1:0.0.0+20070207 and I have installed 1:0.0.0+20061031-9.
Should I install experimental version ? I don't want to recompile my kernel.
Kano - 21.03.2007, 20:18 Uhr
My kernel update packs haven even newer code.
http://kanotix.com/files/kernel/kernel- ... ide.tar.gz
Currently: 1.320 RC.
giaur - 23.03.2007, 20:39 Uhr
No changes. First, I installed ntfs-3g and libntfs-3g from updates directory - but this didn't help.
and then I decided to run install.sh and update kernel, but it doesn't work, error messages:
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
initramfs-tools: Depends: klibc-utils (>= 1.4.19-2) but it is not going to be installed
Depends: busybox (>= 1:1.01-3) but it is not going to be installed or
busybox-cvs-static (>= 20040623-1) but it is not installable
libntfs-3g-dev: Depends: libntfs-3g0 (= 1:0.0.0+20061031-9) but 1:1.320~rc-0 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Error: update-initramfs not found!
But I dont think, that kernel update to 2.6.20 is necessary - Knoppix has 2.6.19 and writing to ntfs works great.
Kano - 23.03.2007, 22:44 Uhr
You think too much, for best use of ntfs-3g you need the fuse kernel module from 2.6.20!
giaur - 24.03.2007, 21:41 Uhr
Ok, I 've installed your patches, but still writing to ntfs is unavailable. I changed "ro" to "rw" in /etc/fstab.
And another question: how to enable verbose mode now? Pressing Esc causes stop animation only, but verbose mode doesn't work (bug?)
I don't need splash screen, I prefer verbose mode
Something is really wrong, I can't switch to text mode to reinstall nVidia drivers!
init 3 causes black screen and system not response, console login in boot menu - colored screen. It seems that text mode doesn't work at all, but X works fine...
Kano - 24.03.2007, 22:39 Uhr
You need "ntfs-3g defaults" instead of "nfts <some options>" .
giaur - 24.03.2007, 23:07 Uhr
Yes, now it works as should, but if ntfs partition isn't clean, I can't acces it in linux at all, how to change this? I mean if I can read only access in this case.
And, what about my another questions?
Kano - 24.03.2007, 23:50 Uhr
a) use force instead of default
b) use chkdsk within win
Simply within X:
DISPLAY= nohup install-nvidia-debian.sh
giaur - 25.03.2007, 20:29 Uhr
Nvidia works now, but something is really wrong - I can't run system without X.
Both console login option in login menu and init 3 in console doesn't work - colored or black screen is displayed and system is halted.
jackiebrown - 25.03.2007, 21:11 Uhr
I used to have that problem with spashy. Try consol 2
giaur - 26.03.2007, 06:30 Uhr
Try consol 2
What do you mean?
Another problem occurs after kernel upgrading. I can't turn off my computer - it's always restarts, even if I use "Turn off computer" from KDE menu, and I can't see what's wrong because verbose mode doesn't work.
I'm going to check logs and post it here, but can you tell me if anyone has similar problem after update?
One more thing about NTFS - it should be easy question. After ntfs-3g and kernel update, I can't access files and directiories containing non-ascii (national) characters - for example names with ą, ę, ć, ś, ź are invisible. How to fix this?
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
UUID=12e3ace6-647d-45a1-82fd-8e76e76bdf39 / ext3 defaults,errors=remount-ro 0 1
/dev/disk/by-uuid/60B80C31B80C086C /media/hda1 ntfs-3g defaults,umask=000,nls=utf8 0 0
/dev/disk/by-uuid/38B4EA33B4E9F2F4 /media/hda5 ntfs-3g defaults,umask=000,nls=utf8 0 0
UUID=d56300f3-f894-4d25-9dad-4e07df7ee910 /media/hda6 ext3 defaults 0 0
/dev/disk/by-uuid/C090244B90244A6C /media/hdb1 ntfs-3g defaults,umask=000,nls=utf8 0 0
UUID=6af4910a-ba16-4a9d-addd-ccd0f1639c43 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Crest - 27.03.2007, 06:39 Uhr
Just for the records: I have changed to ntfs-3g now and enabled write access. I have encountered no errors when copying to and deleting a file on a ntfs (Win2000) partition.
My ntfs partitions reads like this in fstab (one of two ntfs partitions):
/dev/disk/by-uuid/FA0804120803CD17 /media/hdb5 ntfs-3g rw,umask=000 0 0
giaur - 27.03.2007, 12:13 Uhr
Yes, I have no errors too. But, as I wrote - I have no access to directories and files with no ascii national characters in names.
What's the reason of this? No NLS support in kernel? What can I do?
Kano - 27.03.2007, 13:44 Uhr
nls is wrong option, i told you to remove all. That works for me, if not use something like
where this should be the same as the output of
giaur - 27.03.2007, 19:18 Uhr
Both doesn't work - still can't see folders/files with national letters.
locale - a output:
I want polish nls, so I tried locale=pl_PL.utf8 but desn't work. Without nls doesn't work too. What else can I try?
Kano - 27.03.2007, 19:29 Uhr
Show me your fstab and output of mount. Also echo $LANG .
giaur - 27.03.2007, 19:54 Uhr
fstab entry for ntfs:
/dev/disk/by-uuid/60B80C31B80C086C /media/hda1 ntfs-3g rw,umask=000,nls=pl_PL.utf8 0 0
$LANG : en_US.UTF-8, this can't be? I don't care about locale, polish version of KDE is enough. And I had all folders visible before updating system
Mount output: How to check this? I can do nothing about mount/unmount partitions - already mounted and when try unmount, unmounting message like: "Can't unmount, not mounted by HAL"
Kano - 27.03.2007, 20:18 Uhr
Told you to use something different! Can't you read?
/dev/disk/by-uuid/60B80C31B80C086C /media/hda1 ntfs-3g defaults 0 0
/dev/disk/by-uuid/60B80C31B80C086C /media/hda1 ntfs-3g locale=en_US.utf8 0 0
giaur - 27.03.2007, 20:47 Uhr
Second command works fine.
So, now I'm waiting for responses to other problems I posted... If you have any ideas or tips, you are welcome (or maybe I should create another thread for this)
giaur - 02.04.2007, 21:43 Uhr
Another thing about ntfs writing....
Now I'm sure, that enabling it without any restrictions is very bad idea ... (my Windows is dead , because of viruses and other not very nice stuff from net). I have to format all windows partitions and I dont want this situation again after this.
So I want to set rw access for root user only, and read only access for other users. How can I do this?
Alle Zeiten sind GMT + 1 Stunde