Problem with microSD

I'had insert the microSD in the Yun's slot, i connect to YUN with PuTTY to check if the SD was correctly detected (root@YUN:~dmesg ) but i did't find nothing like "sda: sda1 " .... and the same is use (root@YUN:~df) no folder like "/dev/sda1" !!

What does it means ? The SD was not correctly detected or sometingd wrong on OpenWRT ?

  • YUN is with default config ** SD is a SanDisk microSD 8Gb

did you try /mnt/sda1 ?

Install sofware:

opkg update
opkg install fdisk 
opkg install mkdosfs
opkg install e2fsprogs
opkg install nano

Partition microSD:

http://www.howtogeek.com/106873/how-to-use-fdisk-to-manage-partitions-on-linux/

fdisk -l

Format microSD( base on the format you need only run one of them):

mkdosfs -F 32 /dev/sda1
mke2fs -t ext2 /dev/sda1
mke2fs -t ext3 /dev/sda1
mke2fs -t ext4 /dev/sda1

Mount microSD:

mkdir -p /mnt/sda1
mount  /dev/sda1 /mnt/sda1

I have similar problems:

root@Arduino:~# mkdir -p /mnt/sda1 root@Arduino:~# mount /dev/sda1 /mnt/sda1 mount: mounting /dev/sda1 on /mnt/sda1 failed: Device or resource busy

How should I mount my SD card? Thanks.

output of

fdisk -l

sda not mounting.... WWW folder is not captured over wifi; crapy arduino yun!!!

I have tried everything but sd it won’t mount…

pellumb: sda not mounting.... WWW folder is not captured over wifi; crapy arduino yun!!!

Maybe you just don't know how to use it?

Ok, seriously, try to find the source of your problem rather than just cursing around...

For starters, what size is the MicroSD card? The reader in the Yun is SD/SDHC only, meaning you won't be able to use any SD card that's larger than 32GB, as that would be an SDXC card...

Beside that, MicroSD cards/readers are notorious to fail to recognize/read because the contact "fingers" are very fragile and even subtle deformation from constant removal/insertion or worse, a try to force insertion upside down will cause issues...

Ralf

Hey guys. Figured it out…

You need to use this line of code

ln -s /mnt/sda1/arduino/www /www/sd

and you cant have a folder sd in /www/
It will create a symbolic link which looks like this…