Forums

Cannot mount or write to SD Card

  • I want to use the SD card to transfer a file back to my host PC (or any other).

    When I first insert the card, this shows up...

    / # mmc0: host does not support reading read-only switch. assuming write-enable.
    mmc0: new high speed SD card at address 0002                                   
    mmcblk0: mmc0:0002 00000 1.86 GiB                                              
     mmcblk0: p1                  

                                                     
    I have to hit enter to get back to command.

    Here's some more output.

    / # mount -t ntfs /dev/mmc0 /root/sdcard                                       
    mount: mounting /dev/mmc0 on /root/sdcard failed: No such device               
    / # mount -t ntfs /dev/mmcblk0 /root/sdcard                                    
    mount: mounting /dev/mmcblk0 on /root/sdcard failed: No such device            
    / # ls dev/mm*                                                                 
    dev/mmcblk0    dev/mmcblk0p1                                                   
    / # ls dev/ttyS*                                                               
    dev/ttyS0  dev/ttyS1  

    Any ideas on why I can't mount?

  • Hi,

    First, you don't need to hit enter to get back to the command.  You are just seeing kernel message on the console.  Of course pressing enter makes it easier to see what you are typing.

    Your commands above show you are trying to mount an NFS file system when your SD card is likely formatted with the VFAT file system.  Do a quick internet search before posting question that can easily be answered.

    www.catb.org/.../smart-questions.html, which contains lots of wisdom, such as

    Before You Ask

    Before asking a technical question by e-mail, or in a newsgroup, or on a website chat board, do the following:

      1.  Try to find an answer by searching the archives of the forum you plan to post to.

      2. Try to find an answer by searching the Web.

      3.  Try to find an answer by reading the manual.

      4.  Try to find an answer by reading a FAQ.

      5.   Try to find an answer by inspection or experimentation.

      6. Try to find an answer by asking a skilled friend.

      7.  If you're a programmer, try to find an answer by reading the source code.

    Todd