View Single Post
Old 03-03-2012, 09:47 AM   #33
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,493
Karma: 5840130
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by hawhill View Post
On the kindle that would rather be
Code:
nc 192.168.15.201 5555 | dd of=/dev/mmcblk0p1 bs=4K
I would go as far as saying that even piping via SSH should work. So that would trim down to just doing
Code:
ssh root@KINDLE dd of=/dev/mmcblk0p1 bs=4k < mmcblk0p1.img
on the host PC.
I suspect that you will need to quote the remote command since it has whitespace in it: "dd of=/dev/mmcblk0p1 bs=4k"

And of course, the: root@KINDLE can be trimmed back to a single "shortcut" name with a "host identity" stanza in your ~/.ssh/config
Which would also allow you to speed up the authentication process by setting a single key for ssh client to use, rather than trying everything it can get its hands on.
knc1 is offline   Reply With Quote