View Single Post
Old 05-18-2011, 11:02 AM   #6
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
But in combination with the "if=" syntax of "dd", the shell glob "*" wouldn't work. You would have to issue each of these seperately, globbing does not work here.

As yifanlu wrote, there's no need to image the partitions (...p<n>) if you already have an image of the full device (mmcblk0). It already is what you call "the whole thing", a full image of the flash block device. When you use "fdisk" on it, you should see the partitions. If you want to loop-mount single partitions on the desktop, you could e.g. use the "offset" option of losetup or mount.

Besides using linux for this, another option would be to do it on the windows command line. You don't have to use a pipe into "dd", redirecting output to a file is sufficient. So if you have a SSH cli client (e.g. openssh, putty's plink or similar), you can do "ssh root@kindle dd if=/dev/mmcblk0 > kindle.img" and it should work (cannot test, since no Windows installation).
hawhill is offline   Reply With Quote