Jump to content

Cannot Mount Flash Drive


Recommended Posts

I cannot mount my flashdisk that appears in /dev as sda1. It's this product: http://www.alza.cz/a-data-micro-sdhc-32gb-class-10-usb-ctecka-v3-cerna-d256730.htm

It has just 1 FAT32 partition. On my desktop linux it mounts ok, but on pineapple it throws this error:

I've got Pineapple MK4 with 2.3.1 firmware

root@Pineapple:/mnt# mkdir flash

root@Pineapple:/mnt# mount /dev/sda1 /mnt/flash/

mount: mounting /dev/sda1 on /mnt/flash/ failed: Invalid argument

Any idea, what do I do wrong?

Thanks.

Link to comment
Share on other sites

Have you checked to see that directory is made and writable?

Have you tried formatting thumbdrive to EXT4 with gparted?

sandisk 16gb fit has a fatal error sorta similar to that

Edited by Synsafe
Link to comment
Share on other sites

Still not working:

root@Pineapple:~# opkg update

Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/Packages.gz.

Inflating http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/Packages.gz.

Updated list of available packages in /var/opkg-lists/snapshots.

root@Pineapple:~# opkg install block-mount

Package block-mount (0.2.0-8) installed in root is up to date.

root@Pineapple:~# /etc/init.d/fstab enable

root@Pineapple:~# /etc/init.d/fstab start

mount: mounting /dev/sda1 on /usb failed: Invalid argument

config global automount

option from_fstab 1

option anon_mount 1

config global autoswap

option from_fstab 1

option anon_swap 0

config mount

option target /usb

option device /dev/sda1

option fstype fat32

option options rw,sync

option enabled 1

option enabled_fsck 0

config swap

option device /dev/sda2

option enabled 0

Edited by Pulsedriver_cz
Link to comment
Share on other sites

I had similar issues until I used the following free windows tool to create a EXT4 Partition on my USB device.

http://www.partitionwizard.com/

I also had to change my USB path to /dev/sdb5...

config mount

option target /usb

option device /dev/sdb5

option fstype ext4

option options rw,sync

option enabled 1

option enabled_fsck 0

Edited by Cultmanhak5
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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