TS-4900 MicroSD Backup/restore

From embeddedTS Manuals
Revision as of 11:44, 6 August 2014 by Mark (talk | contribs) (Created page with "These instructions assume you have an SD card with one partition. Most SD cards ship this way by default, but if you have modified the partitions you may need to use a utilit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

These instructions assume you have an SD card with one partition. Most SD cards ship this way by default, but if you have modified the partitions you may need to use a utility such as gparted or fdisk to remove partitions and recreate it with one partition.

Plug the SD card into a USB reader and connect it to your Linux PC. These instructions assume your SD interface is /dev/sdc, but check dmesg in your PC to see what

Running these commands will reflash the SD card to our default latest image.

# Verify nothing else has this mounted
umount /dev/sdc1

mkfs.ext4 /dev/sdc1
mkdir /mnt/sd
mount /dev/sdc1 /mnt/sd/
# Quad core only
wget ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/distributions/yocto/ts-x11-image-ts4900-quad.rootfs.tar.bz2
# Solo only
wget ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/distributions/yocto/ts-x11-image-ts4900-solo.rootfs.tar.bz2

tar --numeric-owner -xf ts-x11-image-ts4900-*.rootfs.tar.bz2 -C /mnt/sd
umount /mnt/sd
sync