Jump to content

Questions about USB stick


HammerHead_0718

Recommended Posts

Not sure how to go about this.

I plugged in a 32 GB flash drive into the Nano and it shows up in dmesg as well as USB devices. and fdisk -l shows the drive as /dev/sdb but not sdb1 or sdb2.

However it doesn't mount automatically.

I figure I should edit the fstab file but don't want to screw anything up.

I tried making a directory and mounting but it says /etc/fstab no such file or directory.

Anybody have any ideas?

Disk /dev/sda: 60751872 sectors,  992M
Logical sector size: 512
Disk identifier (GUID): 5f05cf2c-b0d3-445b-ab4c-189f378d956a
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 60751838

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40          409639        200M   0700  
   2          411648        60749823       28.7G   0700  
Link to comment
Share on other sites

First I'd try executing

mount /dev/DEVICE_NAME /mnt

If that works and you can access the flash drive at /mnt I'd add

config 'mount'
    option    target        '/sd'
    option    device        '/dev/DEVICE_NAME'
    option    fstype        'auto'
    option    options        'rw,sync'
    option    enabled        '1'

to fstab.

Link to comment
Share on other sites

First I'd try executing

mount /dev/DEVICE_NAME /mnt

If that works and you can access the flash drive at /mnt I'd add

config 'mount'
    option    target        '/sd'
    option    device        '/dev/DEVICE_NAME'
    option    fstype        'auto'
    option    options        'rw,sync'
    option    enabled        '1'

to fstab.

Yup, I've tried that and it tells me fstab does not exist.

Thanks for the response.

Link to comment
Share on other sites

Barry, I think you nailed it on the head. For some reason, I through that exFat was compatible with Linux. Maybe it is maybe it isn't, I haven't double checked. But my instinct after reading your comment makes me believe you are right.

Now I have to research whether Windows or mac will read linux format for faster easier file transfer.

Lild4d

Thanks for the link. I have bookmarked it with a note for reference.

Link to comment
Share on other sites

  • 4 weeks later...

I have a 16GB SanDisk Cruzer I want to use with my NANO for storage. The system sees it and I execute the format button and save the fstab file. The is no /tmp/fstab file (I see the sym link from /etc/fstab). I never see the light go on the USB stick when the format starts. It looks like the system sees it, but does not format it. I followed to the format file in: /pineapple/modules/Advanced/formatSD/format_sd

It looks like this is not setup or meant to use an USB drive. Is that correct?

I see these in 'dmesg'

[ 612.870000] usb 1-1.3: new high-speed USB device number 5 using ehci-platform
[ 613.000000] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 613.020000] scsi host1: usb-storage 1-1.3:1.0
[ 720.450000] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 720.470000] scsi host2: usb-storage 1-1.2:1.0

[ 614.020000] scsi 1:0:0:0: Direct-Access SanDisk Cruzer Fit 1.00 PQ: 0 ANSI: 6

The fstab file on the page does not look right either:

config 'mount'
option target '/sd'
option device '/dev/sdcard/sd1'
option fstype 'auto'
option options 'rw,sync'
option enabled '1'

I did try to format it on my linux host and that was no good. I did a reet several times, no good. I am running 1.0.5. I did not try this with lower firmware.

Thanks,

Jim

Link to comment
Share on other sites

  • 2 years later...

I got my NANO 2 weeks ago. I have exactly the same problem.

I use a PNY 32Gb USB DRIVE

I tried to format with the web interface. Web interface says "SUCCESS" but usb drive doesn't mount after reboot

I tried format EXT4 with gparted, USB Drive doesn't mount automatically

 

web interface shows

Bus 001 Device 005: ID 154b:005b PNY

fdisk ouput

Disk /dev/sdb: 32.7 GB, 32717537280 bytes
255 heads, 63 sectors/track, 3977 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks  Id System
/dev/sdb1   *           1        3978    31949696  83 Linux

 

FSTAB

config global
    option anon_swap '0'
    option anon_mount '0'
    option auto_swap '1'
    option auto_mount '1'
    option delay_root '5'
    option check_fs '0'

config mount
    option target '/sd'
    option device '/dev/sdb1'
    option fstype 'auto'
    option options 'rw,sync'
    option enabled '1'

Sorry for my bad english.

Link to comment
Share on other sites

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...