Difference between revisions of "Raspberry Pi SD Cards and Images"

From Interaction Station Wiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
==How to shrink a Raspberry Pi image==
+
==How to burn an SD image on Mac OS==
*How to burn an sd image on Mac OS:
+
*Run Disk Utility
 +
*Insert the SD card where you will burn the image
 +
*Check in Disk Utility the disk Number
 +
*Eject the SD partition
 +
*Open a terminal and type matching the Number, the path and name of the image
 +
*sudo dd if=///dir_path/input_image.img of=/dev/rdiskNumber bs=1m
 +
 
 +
==How to backup a Raspberry SD card==
 
*Run Disk Utility
 
*Run Disk Utility
 
*Insert the SD card
 
*Insert the SD card
 
*Check in Disk Utility the disk Number
 
*Check in Disk Utility the disk Number
 
*Eject the SD partition
 
*Eject the SD partition
*sudo dd if=///dir_path/image.img of=/dev/rdiskNumber bs=1m
+
*Open a terminal and type matching the Number path and name of the image
 
+
*sudo dd if=/dev/rdiskNumber of=///dir_path/output_image.img bs=1m
 
 
  
 +
==How to shrink a Raspberry Pi image==
 
*In Ubuntu:
 
*In Ubuntu:
 
*sudo apt-get install dcfldd
 
*sudo apt-get install dcfldd
Line 14: Line 21:
 
*More info:
 
*More info:
 
*https://github.com/aoakley/cotswoldjam/tree/master/raspbian-shrink
 
*https://github.com/aoakley/cotswoldjam/tree/master/raspbian-shrink
 +
 +
 +
[[Category:Raspberry Pi]]

Latest revision as of 15:13, 21 November 2022

How to burn an SD image on Mac OS

  • Run Disk Utility
  • Insert the SD card where you will burn the image
  • Check in Disk Utility the disk Number
  • Eject the SD partition
  • Open a terminal and type matching the Number, the path and name of the image
  • sudo dd if=///dir_path/input_image.img of=/dev/rdiskNumber bs=1m

How to backup a Raspberry SD card

  • Run Disk Utility
  • Insert the SD card
  • Check in Disk Utility the disk Number
  • Eject the SD partition
  • Open a terminal and type matching the Number path and name of the image
  • sudo dd if=/dev/rdiskNumber of=///dir_path/output_image.img bs=1m

How to shrink a Raspberry Pi image