Your best bet is to use 'parted /dev/mmcblk0' and have it write a new disk label. Then create the partition(s) on the disk.
I think the problem you are having is that you are mounting the device instead of the partition which means that you managed to mung the partition table. Once you run the parted command and create a partition, you should see both mmcblk0 and mmcblk0p0 (or possibly mmcblk0p1, trying to do this from memory) devices show up in your /var/log/messages. You want to mount the mmcblk0p0 device. I may be wrong but the way to read the mmcblk0p0 is mmc(MultiMediaCard) blk(Block device) 0(#0) p0(Partition #0). Hope this helps, Jason On Fri, Oct 7, 2011 at 10:52 PM, John Jason Jordan <[email protected]>wrote: > On Fri, 7 Oct 2011 22:24:05 -0700 > John Jason Jordan <[email protected]> dijo: > > >> Create a mount point for it; e.g., /mnt/tinycard/. Then, as root, > >> tail and > >>follow /var/log/messages (tail -f /var/log/messages) and insert the > >>card and adapter in a USB port. You'll see the name of the device > >>assigned to that port; e.g., sdb1. > >> > >> Then, in /etc/fstab create a line for it to be mounted. Here I have > >>several external USB devices that I mount as needed: > >> > >>/dev/sdb /mnt/thumb vfat noauto,users,rw 0 0 > >>/dev/sdc /mnt/flashdrive vfat noauto,users,rw 0 0 > >>/dev/sdb1 /mnt/zip vfat noauto,users,rw 0 0 > >> > >> Now, when you insert your SD card you can type > >> 'mount /mnt/tinycard' and > >>it should be there. > > >Thanks for the suggestion, but I must have failed to follow the > >instructions and it did not work. > > I took the SD card out of the laptop and the adapter and put it into my > Android phone. The phone reported that it was damaged and asked if I > wanted to format it. Since the card was blank I told the phone to do > so. After it finished the phone happily mounted the card. > > Then I took the card out of the phone and inserted it back into the > laptop. Now I get: > > [jjj@Devil8 ~]$ dmesg |tail > [83821.802409] end_request: I/O error, dev mmcblk0, sector 4 > [83821.806631] mmcblk0: error -110 sending status comand > [83821.806635] mmcblk0: error -110 sending read/write command, response > 0x0, card status 0x0 [83821.806639] end_request: I/O error, dev > mmcblk0, sector 5 [83821.810782] mmcblk0: error -110 sending status > comand [83821.810785] mmcblk0: error -110 sending read/write command, > response 0x0, card status 0x0 [83821.810788] end_request: I/O error, > dev mmcblk0, sector 6 [83821.815133] mmcblk0: error -110 sending status > comand [83821.815137] mmcblk0: error -110 sending read/write command, > response 0x0, card status 0x0 [83821.815140] end_request: I/O error, > dev mmcblk0, sector 7 > > The tail -f /var/log/messages command gives me more or less the same > output as dmesg |tail. > > Apparently something in what I did trying to follow the instructions > damaged the SD card. > > I think I need a command that clearly tells me exactly what Fedora 14 > thinks the name of the device is. The results of dmesg and tail > commands give me confusing results. There must be a command that gives > a list of all devices attached to the computer. And, since the phone > just "reformatted" the card without saying anything about what file > system it used, it would be helpful to find out what file system it > currently has. And maybe I should just reformat it with the laptop, > where I can specify vfat. Except the laptop cannot currently see it. > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
