Need help killing a file..
Ok here is the problem this file will not [del] i've logged in as root tried with konsole rm'ed the file when i do that it tells me this:
"rm: cannot remove `FILE': Read-only file system I think this is a trojan or something of that nature but i run linux so it don't matter to me..Also this is on a external hdrive... |
Seems like the external HDD is mounted as a read-only filesystem. Type in "mount" at the prompt, and you should see the drive permissions in () at the end of each line. If it's (rw), it's read-write. (r) would indicate read-only.
You can try unmounting and remounting the file system as read-write. |
Hi,
The errors tells you what the problem is: Your filesystem is mounted read-only. Mount it read-write (if possible) and your problem is solved. You don't tell us what kind of FS is on the external hd, so I cannot give you any other advice. Hope this helps. |
ok this is what mount says /dev/sdf1 on /media/Backup type ntfs (rw,nosuid,nodev,sync,uid=1000)
|
Hi again,
The line does state that it (the ntfs fs) should be mounted read-write (the rw option). But...... There's also a kernel option for ntfs filesystems to allow writing on ntfs. This is probably not activated. It's (still??) dangerous to write on a ntfs partition, that's why it's off by default on most ditro's. There's also a ntfs tool that i heard of (never used it myself): ntfs-3g. Don't know if this tool needs the ntfs write kernel option to be activated in order to do its work. Hope this helps. |
Quote:
Why is this dangerous? all i want to do is copy my mp3 to this drive... I have a network sould i send them to my win-hows rig then just copy them off of that? |
Hi,
I never had the need (home and work) to write to a ntfs partition/disk, so my knowledge is only hear-say. These are the 3 things I 'know': 1) Current NTFS kernel driver (kernel 2.6+ only?). Read is fully supported for 3-4 years, write is reliable but not everything is implemented. 2) Older NTFS kernel driver. It's used up to kernel 2.4. Read is ok, write was disabled (implemented only for NT4). 3) Driver (old and new?) is referred as "dangerous" by a few (knowledgeable?) people. The 2 questions (1 and 3) are mine, not enough detail. If 2 and/or 3 are true: You can/will corrupt your ntfs partition/disk. The safest way would be to copy to your windows box and from there to your external disk. |
I would say 1 is true for me as far as kernel i have 2.6.18.8-0.1-default "lol got to love that"...
Just going to copy to the drone rig and do it that way... |
Can i reformat the drive with a FS that windows and linux can read write to..LoL fatchance right...
|
Yes use normal FAT32 and you can read+write.
But you will need to change the entry in /etc/fstab to something like: /dev/sdf1 /Media/backup vfat rw 0 0 You might also need to add uid=<user> after rw, |
sweet...I'm going to have to do that hmm now where was that command...
|
All times are GMT -5. The time now is 01:50 AM. |