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
m (→‎Insert 2nd SD Card in Laptop SD Slot: *'''Note do not use the ''rpfr-f18-rc1-a-sd.img'' with dd it will fail to work.''')
Line 41: Line 41:
 
===Insert 2nd SD Card in Laptop SD Slot===
 
===Insert 2nd SD Card in Laptop SD Slot===
 
:8GB class 10 Sandisk Ultra SD
 
:8GB class 10 Sandisk Ultra SD
 +
:16GB class 10 Lexar Platinum II SD
 +
: used in these examples
 
*Start "Disks" gnome-disks
 
*Start "Disks" gnome-disks
 
:select "Restore disk image"
 
:select "Restore disk image"
::Select Rpi_8GB.img and restore it.
+
::Select rpfr-f18-rc1-a-sd.img.zip and restore it.
 
*Eject SD Card in "Disks"
 
*Eject SD Card in "Disks"
:remove SD card from laptop
+
*'''Note do not use the ''rpfr-f18-rc1-a-sd.img'' with dd it will fail to work.'''
 +
 
 
===Insert the duplicated SD in the Rpi===
 
===Insert the duplicated SD in the Rpi===
 
:Plug in RPi power supply cord and it will boot on copied SD Card.
 
:Plug in RPi power supply cord and it will boot on copied SD Card.

Revision as of 12:46, 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 rpfr-f18-rc1-a-sd.img.zip

  • 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
16GB class 10 Lexar Platinum II SD
used in these examples
  • Start "Disks" gnome-disks
select "Restore disk image"
Select rpfr-f18-rc1-a-sd.img.zip and restore it.
  • Eject SD Card in "Disks"
  • Note do not use the rpfr-f18-rc1-a-sd.img with dd it will fail to work.

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"