Accessing NTFS USB drive

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Accessing NTFS USB drive

Postby sjwoo » Sat Feb 23, 2013 1:13 pm

Hey folks,

I can't seem to access my USB flash drive that's formatted in NTFS. fdisk -l gives me this:

Disk identifier: 0xc3072e18

Device Boot Start End Blocks Id System
/dev/sda1 * 32 125304831 62652400 7 HPFS/NTFS/exFAT

ls -l gives me this:

[root@alarmpi etc]# ls -l /media
ls: cannot access /media/64gb: Transport endpoint is not connected
total 4
d????????? ? ? ? ? ? 64gb
drwxr-xr-x 2 root root 4096 Jan 1 1970 sd-mmcblk0p1

I have automount installed. Why am I not able to access this drive? I'm coming from running ALARM on Pogo, where this drive worked just fine.

- Sung
sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm

Re: Accessing NTFS USB drive

Postby sjwoo » Sat Feb 23, 2013 1:19 pm

sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm

Re: Accessing NTFS USB drive

Postby sjwoo » Sat Feb 23, 2013 1:22 pm

Doh! Spoke too soon. When I go into the dir, there's nothing there:

[root@alarmpi 64gb]# ls -l
total 0

My fstab looks like this:

[root@alarmpi 64gb]# cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat defaults 0 0

Is automount supposed to automatically update fstab? Or does it do it in another way?

- Sung
sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm

Re: Accessing NTFS USB drive

Postby twix » Sun Feb 24, 2013 6:09 pm

$this->bbcode_second_pass_code('', '/dev/mmcblk0p1 /boot vfat defaults 0 0')

vfat is for FAT16/FAT32 partitions, use ntfs-3g for NTFS partitions
twix
 
Posts: 2
Joined: Sun Feb 24, 2013 6:08 pm

Re: Accessing NTFS USB drive

Postby moonman » Mon Feb 25, 2013 4:45 am

$this->bbcode_second_pass_quote('', '[')root@alarmpi etc]# ls -l /media
ls: cannot access /media/64gb: Transport endpoint is not connected
total 4
d????????? ? ? ? ? ? 64gb


Were you using udev-automount ?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Accessing NTFS USB drive

Postby Huulivoide » Tue Feb 26, 2013 4:18 pm

You need to manually edit the /etc/fstab
Huulivoide
 
Posts: 27
Joined: Tue Jun 26, 2012 6:22 pm

Re: Accessing NTFS USB drive

Postby moonman » Tue Feb 26, 2013 11:53 pm

Not necesserily, udev-automount doesn't work with ntfs. Use udevil. Last post under udev-automount thread.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests