Editing PiClone

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
Mostly obsolete as Pi now has a utility to clone sd cards.
 
  
 
= Setup =
 
= Setup =
  
This is a rough log of how I backed up / copied a raspberry pi os.  Will try again and make better notes.
 
 
[[Linux Commands On Pi]]
 
  
 
Main sd card with another on an extension cable and card reader.
 
Main sd card with another on an extension cable and card reader.
  
  
 
<pre>
 
disk usage for shrink can do from file manager or from command line -- now a little under 5
 
The df utility displays the disk space usage on all mounted filesystems.
 
 
http://www.tecmint.com/how-to-check-disk-space-in-linux/
 
df -h  #  this is the summary for shrinkage all disks may have to be mounted or not
 
 
 
disk usage for shrink can do from file manager or from command line  -sh for summary and human format
 
du -sh /home/tecmint
 
sudo du -sh /  # still some Permission deniedsudo not enough
 
sudo du -sh ~    #works, not much data sudo not required
 
 
</pre>
 
  
 
= Links =
 
= Links =
Line 71: Line 51:
 
== copy ==
 
== copy ==
  
   sudo dd if=/dev/mmcblk0  of=/dev/sdb status=progress
+
   sudo dd if=/dev/mmcblk0  of=/dev/sdb
 
 
command just sits there, status=progress makes it show some progress if opion implemented, it is new.  level to print stats periodically
 
  
 
= Then =
 
= Then =
Line 1,124: Line 1,102:
  
 
</pre>
 
</pre>
 
 
= End Log =
 
  [[Category:Arduino/RaspberryPi]]
 

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)