Mounting a USB drive

Tags:

On Etch Debian, I am trying to mount a Western Digital USB HD. If I format the drive on windows as nfts and use:
mount /dev/sdc1 /mnt/usb1 it mounts successfully, but the drive is read only. If I don't format and specify -t ntfs, the file system is not recognized. I have used an unpartitioned drive and one with up to 3 partitions. How do I make the drive read/write?

Thanx

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

U need ntfsprogs

Try

$apt-get update

$su
#apt-get install ntfsprogs

then

$man ntfsprogs

This should make it do what you want to do automatically, but you may need root access to write to the drive.

One important note about usb drives and Gnu/Linux, you must unmount the drive instead of just pulling out the usb cord. If you just snatch it out you may lose data. Usually you can just right click the icon on your desktop and it will have an option to unmount.

ntfsprogs failure

ken3d,

Thanx for the help, but something is still wrong. When I mount the device after using mkntfs, it is owned by root with 700 perms. But when as root I try to write, I get a permission denied error. When I look at the device with less -f device, I get a series of errors:
A disk read error occurred.
A kernel file is missing from the disk.
A kernel file is too discontiguous.
Insert a system diskette and restart
the system.
\NTLDR is compressed.

Rebooting did not help

Any suggestions??

Re: ntfsprogs failure

Hello,

In order to write on a ntfs partition you need a package called ntfs-3g (I've find it in the backport depository)
deb http://www.backports.org/debian etch-backports main contrib non-free
You will find info about how to configure it on google. Anyway I don't know what is your level of knowledge upon Debian
so If you got problem just let me know...

;)

Debian Etch 2.6.22-3-686
Genuine Intel T2050 1.60GHz, 1GHz DDR2
SATA 120 Go, Mobile Intel 945GM, Realtek high definition Audio,
Intel PRO/Wireless 3945ABG Network Connection
Realtek RTL8139/810x Fast Ethernet NIC

Re: ntfsprogs failure

Go here and it will help, it got my ntfs partition on my hard drive working.

http://forums.debian.net/viewtopic.php?t=20905

Syndicate content