mount usb harddrive
I am having trouble mounting my usb harddrive. It is at /dev/sdb1 and i have edited /etc/fstab so it includes:
/dev/sdb1 /media/usb1 auto noauto,users,rw 0 0 I can mount it fine, however, I cannont write to the disk. I am running Debian with kernel: 2.6.18-4-486. I have tried a chmod +w, however, it says that it is a read-only filesystem. How do I go about mounting my harddrive so I can write to it? Thanks in advance DAN |
You didn't mention what the filesystem is used on the partition, so I will assume that it is fat32. If that is the case, you can't use the chmod command.
Instead add the option "uid=<yourusername>" and optionally "gid=<yourgroup>". This will make you the owner and give you access that way. Using "fmask=111" and dmask="000" will do the same thing, allowing you to access the drive as an "other" user. The second option is similar to "umask=000" which gives "rwx" permissions for everyone, but for mass storage devices, using "rw" for files is a better policy. But the decision is yours. |
All times are GMT -5. The time now is 08:28 AM. |