Pulsedriver_cz Posted June 13, 2012 Share Posted June 13, 2012 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. Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted June 13, 2012 Share Posted June 13, 2012 Use fstab configuration. See here for information. You can edit config file through pineapple UI in the USB page. Quote Link to comment Share on other sites More sharing options...
Synsafe Posted June 14, 2012 Share Posted June 14, 2012 (edited) 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 June 14, 2012 by Synsafe Quote Link to comment Share on other sites More sharing options...
PineDominator Posted June 14, 2012 Share Posted June 14, 2012 It's fat32 then you have to research on what your fstab settings should be, by default I believe It is set up for EXT4 Quote Link to comment Share on other sites More sharing options...
Pulsedriver_cz Posted June 16, 2012 Author Share Posted June 16, 2012 (edited) 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 June 16, 2012 by Pulsedriver_cz Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted June 16, 2012 Share Posted June 16, 2012 After /etc/init.d/fstab start, try mount -a Quote Link to comment Share on other sites More sharing options...
Cultmanhak5 Posted June 16, 2012 Share Posted June 16, 2012 (edited) 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 June 16, 2012 by Cultmanhak5 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.