Difference between revisions of "Testing/Reports/ARM RPi/Duplicating a RPi SD Card"

From Sugar Labs
< Testing‎ | Reports‎ | ARM RPi
Jump to navigation Jump to search
Line 24: Line 24:
 
::Do it if you want to share Rpi_8GB.img with others or archive it as a backup.
 
::Do it if you want to share Rpi_8GB.img with others or archive it as a backup.
 
*right click "Compress select Rpi_8GB.img
 
*right click "Compress select Rpi_8GB.img
::Rpi_8GB.img.tar.xz 1.7 GB
+
::rpfr-f18-rc1-a-sd.img.zip 2.3 GB
 +
*This file can be Downloaded Here:
 +
 
 +
:user=sugar password=sugaruser
 +
 
 
====Extract Rpi_8GB.img.tar.xz (Optional)====
 
====Extract Rpi_8GB.img.tar.xz (Optional)====
 
*right click on compressed file "archive Manager" Extract
 
*right click on compressed file "archive Manager" Extract

Revision as of 12:37, 18 March 2013

<==Go Back to Testing/Reports/ARM_RPi

Duplicating a RPi SD Card

  • This makes an exact copy of a working SD Card

Equipment used

  • RPi and SD Card
Raspberry Pi "B" 512 memory
8GB class 10 Sandisk Ultra SD with XFCE and Sugar-Desktop installed (see link)
http://wiki.sugarlabs.org/go/Testing/Reports/ARM_RPi#Test_report_rpfr-f18-rc1.img
  • Laptop
"System 76" Gazelle Professional laptop
Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8
Ubuntu 12.10 running gnome classic

Remove Working SD Card from a shutdown RPi and insert it in Laptop SD Slot

  • Start "Disks" gnome-disks
Unmount SD (both partitions)
Select "Create Disk Image"

Create Disk Image.png

Saved File is Rpi_8GB.img 7.9 GB
Name is optional; name it as you wish: xxxxx.img
  • Unmount SD Card in Disks

Compress Rpi_8GB.img (Optional)

NOTE this is an optional step
Do it if you want to share Rpi_8GB.img with others or archive it as a backup.
  • right click "Compress select Rpi_8GB.img
rpfr-f18-rc1-a-sd.img.zip 2.3 GB
  • This file can be Downloaded Here:
user=sugar password=sugaruser

Extract Rpi_8GB.img.tar.xz (Optional)

  • right click on compressed file "archive Manager" Extract

Expand the partition with gparted

  • original partitions on restored 8 GB rpfr-f18-rc1-a-sd.img file
mmcblk0p2 partition is ext4

Rpfr-f18-rc1-a-sd.png

  • expanded mmcblk0p2 partition on 16 GB SD card with gparted

Rpfr-f18-rc1-a-sd-expanded.png

Insert 2nd SD Card in Laptop SD Slot

8GB class 10 Sandisk Ultra SD
  • Start "Disks" gnome-disks
select "Restore disk image"
Select Rpi_8GB.img and restore it.
  • Eject SD Card in "Disks"
remove SD card from laptop

Insert the duplicated SD in the Rpi

Plug in RPi power supply cord and it will boot on copied SD Card.

Sugar-rpfr-f18rc1.png

  • rpfr-f18-rc1-a-sd.img file created with disk utility from working 8 GB SD card
and then restored with disk utility to a 16 GB SD Card and booted on RPi 512 "b"