On Sat, Aug 31, 2013 at 03:39:39PM +0530, Anubhav Yadav wrote: > > > Can't you just treat it as a normal USB stick? > > e.g. > > Plug it in > > select connect to PC on phone. > > then > > # mount /dev/sdb /mnt > > (get some error msgs) > > It gives me this no medium found on /dev/sdb
Did you select "connect storage to PC" on phone like I said? (That has to be successful before trying anything else!) You have to enable "USB debugging" on the phone, for Gingerbread it's under settings ---> applications ---> Development before "connect storage to PC" will be allowed. THEN # mount /dev/sdb /mnt You should see something similar to: [4247732.683920] sd 100:0:0:0: [sdb] No Caching mode page present [4247732.690689] sd 100:0:0:0: [sdb] Assuming drive cache: write through [4247732.700447] sd 100:0:0:0: [sdb] No Caching mode page present [4247732.703418] sd 100:0:0:0: [sdb] Assuming drive cache: write through [4247732.827436] FAT-fs (sdb): invalid media value (0x00) mount: you must specify the filesystem type > > then > > # mount /dev/sdb1 /mnt > > and this gives me special device /dev/sdb1 does not exist Right, of course. Because the above failed. You can see with the tab key: root@tal:~# mount /dev/sd<TAB> You should see sdb1 AFTER doing "mount /dev/sdb /mnt" Then the contents will be available under /mnt (I'm presuming you know the basics of moving files from the command line.) -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130901162308.GC30483@tal