Go Down

Topic: Problem with microSD (Read 5993 times) previous topic - next topic


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



Mar 01, 2014, 08:13 pm Last Edit: Mar 02, 2014, 04:55 pm by sonnyyu Reason: 1
Install sofware:

Code: [Select]
opkg update
opkg install fdisk
opkg install mkdosfs
opkg install e2fsprogs
opkg install nano

Partition microSD:


Code: [Select]
fdisk -l

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

Code: [Select]
mkdosfs -F 32 /dev/sda1
mke2fs -t ext2 /dev/sda1
mke2fs -t ext3 /dev/sda1
mke2fs -t ext4 /dev/sda1

Mount microSD:

Code: [Select]
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.



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


I have tried everything  but sd it won't mount....


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...



Hey guys. Figured it out...

You need to use this line of code
Code: [Select]
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...

Go Up