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
(Duplicating a RPi SD Card)
 
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
:<==Go Back to [[Testing/Reports/ARM_RPi]]
 
==Duplicating a RPi SD Card==
 
==Duplicating a RPi SD Card==
 
*This makes an exact copy of a working SD Card
 
*This makes an exact copy of a working SD Card
Line 13: Line 14:
 
*Start "Disks" gnome-disks
 
*Start "Disks" gnome-disks
 
:Unmount SD (both partitions)
 
:Unmount SD (both partitions)
:Select "Make Disk Image
+
:Select "Create Disk Image"
 +
[[File:Create_Disk_Image.png|600px]]
 
::Saved File is Rpi_8GB.img  7.9 GB
 
::Saved File is Rpi_8GB.img  7.9 GB
 +
::Name is optional; name it as you wish: xxxxx.img
 
*Unmount SD Card in Disks
 
*Unmount SD Card in Disks
===Compress Rpi_8GB.img (OPTIONAL)===
+
 
 +
====Compress Rpi_8GB.img (Optional)====
 
:'''NOTE this is an optional step'''
 
:'''NOTE this is an optional step'''
::Do it if you want to share Rpi_8GB.img
+
::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
+
 
====Extract Rpi_8GB.img.tar.xz====
+
====rpfr-f18-rc1-a-sd.img.zip  2.3 GB====
 +
:Uploading now; available later today:--[[User:Satellit|Satellit]] 14:12, 18 March 2013 (EDT)
 +
*Prebuilt 8 GB SD Card img file with sugar-emulator 0.98.x and xfce
 +
:This file can be Downloaded Here: http://people.sugarlabs.org/Tgillard/rpfr-f18-rc1-a-sd.img.zip
 +
:user=sugar password=sugaruser
 +
*'''Note do not use the ''rpfr-f18-rc1-a-sd.img'' with dd; it will fail to boot.'''
 +
 
 +
====Extract rpfr-f18-rc1-a-sd.img.zip ====
 
*right click on compressed file "archive Manager" Extract
 
*right click on compressed file "archive Manager" Extract
===Insert 2nd SD Card===
+
 
 +
===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 in 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.
 +
[[File:Sugar-rpfr-f18rc1.png|700px]]
 +
*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"
 +
==Optional:Expand the ext4 partition with '''gparted'''==
 +
*original partitions on restored 8 GB rpfr-f18-rc1-a-sd.img file
 +
:mmcblk0p2 partition is ext4
 +
[[File:Rpfr-f18-rc1-a-sd.png|500px]]
 +
*expanded mmcblk0p2 partition on 16 GB SD card with gparted "resize"
 +
:Command is not available in "disks"
 +
[[File:Rpfr-f18-rc1-a-sd-expanded.png|500px]]

Latest revision as of 13:17, 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

Uploading now; available later today:--Satellit 14:12, 18 March 2013 (EDT)
  • Prebuilt 8 GB SD Card img file with sugar-emulator 0.98.x and xfce
This file can be Downloaded Here: http://people.sugarlabs.org/Tgillard/rpfr-f18-rc1-a-sd.img.zip
user=sugar password=sugaruser
  • Note do not use the rpfr-f18-rc1-a-sd.img with dd; it will fail to boot.

Extract rpfr-f18-rc1-a-sd.img.zip

  • right click on compressed file "archive Manager" Extract

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"

Optional:Expand the ext4 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 "resize"
Command is not available in "disks"

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