Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 06-07-2008, 03:00 PM   #1
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Rep: Reputation: 30
Write to usb 500GB drive

I have no trouble mounting a WD 500GB usb drive but writing to it doesn't work. I've installed ntfs-3g but it doesn't make a difference.
I use KDE where the drive is auto found when plugged in. How can I get it to write?
I guess I could add it to fstab but whats the point of auto detect then and what if I use several disks?


Last edited by twinkers; 06-07-2008 at 03:05 PM.
Old 06-07-2008, 06:00 PM   #2
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
If it is mounted somewhere (not as read only) then you should be able to write to it. Are you having problems in modifying some files ?

mount will behave differently too.

See too.


A. Mani
Old 06-07-2008, 06:06 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,096

Rep: Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325
"cat /proc/mounts"
Old 06-08-2008, 01:15 AM   #4
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Original Poster
Rep: Reputation: 30
I guess I didn't form my question clear. I can manually mount the drive using ntfs-3g and write to it. If KDE automounts it though, it seems it uses the ntfs instead of the ntfs-3g driver and that makes writing impossible.
My question should be: how to make debian always use ntfs-3g when automounting?

Old 06-08-2008, 01:42 AM   #5
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,247
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
This solution might work for you..

2007-04-10, 06:46 AM PDT

I think I have it figured out, I presume the best bet is to plug in your usb devices one at a time and run:

udevinfo -a -p $(udevinfo -q path -n /dev/sdX) | grep SYSFS{serial}

Get the serial number of each device and create a file called /etc/udev/rules.d/10-local.rules, chmod the file to 644, add an entry in the form of:

BUS=="usb", KERNEL=="sd*", SYSFS{serial}=="57442D5743414C3736393837303631", NAME="%k", SYMLINK+="wd-external%n"

for each device...


/sbin/udevcontrol reload_rules

Then add the appropriate /etc/fstab entries using like /dev/wd-external, as an example, that should work, and survive reboots.
the trick is to assign each external drive a unique name using udev rules then add an fstab entry for each one.

You wouldn't want the system to ALWAYS use ntfs-3g when automounting, since USB flash drives and CF cards, SD cards are all FAT32...

Last edited by farslayer; 06-08-2008 at 01:44 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount a 500gb usb hard disk permission issues mariogarcia Debian 10 12-29-2007 01:29 PM
Maxtor One Touch 3 usb 500GB bookie Linux - Newbie 13 07-09-2007 08:32 AM
Linux won't recognize new 500GB Seagate second hard drive Grexsnip Linux - Hardware 6 07-05-2007 10:23 PM
Help with 500GB USB drive on Fedora Core 3 & 4 cojo Linux - Hardware 16 06-06-2007 11:05 AM
weird issue with a 500GB USB external drive cyberpuerka Linux - Hardware 6 05-11-2005 11:08 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration