-
-
Save rjcorwin/10666212 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#copy your ssh key to root@raspberrypi | |
ssh [email protected] 'aptitude install screen iotop' | |
ssh [email protected] 'screen -d -m -S clone' | |
ssh [email protected] 'echo u > /proc/sysrq-trigger' | |
ssh [email protected] 'screen -x clone' | |
dd if=/dev/mmcblk0 bs=1M of=/dev/sda | |
#detach with "CRTL-a d" | |
iotop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment