How to do a backup of your bootable microSD

This article illustrates how to do a backup of your FOX Board G20 bootable microSD using an Ubuntu Linux PC. Unfortunately I didn't find an easy way to do a copy using Windows because FOX uses an ext filesystems unsupported by Windows. In this case you could use a virtual machine using SunVirtual Box.

Turn off your FOX typing:

debarm:~# halt

Insert the original microSD in your Linux PC. Two new folders will appear on your desktop:

  • kernel
  • rootfs

Partition and format a new microSD following the instruction on this article: Partition & Format a bootable microSD.

Remove the target microSD and insert it again. Two new folders will appear on your desktop:

  • kernel_
  • rootfs_

Open a terminal session on your PC and type:

$ sudo cp -rp /media/kernel/. /media/kernel_/. 
$ sudo cp -rp /media/rootfs/. /media/rootfs_/.
$ sync
$ sudo umount /media/kernel_ 
$ sudo umount /media/rootfs_

Your copy is ready, extract it and try on the FOX.

 
dev/microsdcopy.txt · Last modified: 2010/07/15 13:36 by tanzox
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki