backups
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
backups [2011/07/29 01:44] – ggrandou | backups [2013/02/03 15:14] (current) – [How to backup your AC100] psl | ||
---|---|---|---|
Line 18: | Line 18: | ||
=== The manual way === | === The manual way === | ||
- | Your AC100 MMC contains several [[AC100_std_partitions|partitions]]. The basic commands | + | Your AC100 MMC contains several [[AC100_std_partitions|partitions]]. The manual way to backup them are: |
- | + | - Connect a USB-cable between | |
- | < | + | - Enter the recovery mode by keep pressing |
- | # power up your AC100 in recovery mode (CTRL+ESC) | + | - Start nvflash and load the bootloader to get access to the AC100. This has to be done only once, but everytime, after you (re)enter the recovery mode. < |
$ nvflash --bl / | $ nvflash --bl / | ||
- | $ nvflash -r --getpartitiontable partitiontable.txt | + | </ |
- | $ nvflash | + | - Download the present partition table of the internal flash-memory < |
- | $ nvflash | + | $ nvflash -r --getpartitiontable partitiontable.txt |
- | $ nvflash -r --read 4 part04.img | + | |
- | $ nvflash -r --read 5 part05.img | + | |
- | $ nvflash -r --read 6 part06.img | + | |
- | $ nvflash -r --read 7 part07.img | + | |
- | $ nvflash -r --read 8 part08.img | + | |
- | $ nvflash -r --read 9 part09.img | + | |
- | $ nvflash -r --read 10 part10.img | + | |
- | $ nvflash -r --read 11 part11.img | + | |
- | $ nvflash -r --read 12 part12.img | + | |
- | $ nvflash -r --read 13 part13.img | + | |
</ | </ | ||
- | + | - Your number of partitions might be different to the below example (e.g., because you modified the partition table before already). Check the content of partitiontable.txt to get the number of partitions on your device. | |
- | Create | + | more partitiontable.txt |
- | < | + | |
- | dd if=part2.img of=ac100.bct bs=4080 count=1 | + | |
</ | </ | ||
- | You will need later in case you need to do a full restore of your AC100. | + | - Backup the partitions according |
+ | $ for i in $(seq -w 2 14); do nvflash -r --read $i part$i.img; done | ||
- | Create the cfg file. This file is derived from the partitiontable.txt file. | + | </ |
- | You can download this little script http:// | + | - Create the BCT file from your part02 image: < |
- | + | dd if=part02.img of=ac100.bct bs=4080 count=1 | |
- | < | + | </ |
+ | - Optional: tar and gzip the image files, **deleting the original image files**< | ||
+ | - Create the cfg file. This file is derived from the partitiontable.txt file. You can download this little script http:// | ||
$ dos2unix partitiontable.txt | $ dos2unix partitiontable.txt | ||
$ ./ | $ ./ | ||
</ | </ | ||
+ | **Troubleshooting: | ||
=== The automated way === | === The automated way === | ||
+ | TODO | ||
====== How to restore your AC100 ====== | ====== How to restore your AC100 ====== | ||
+ | |||
+ | < | ||
+ | nvflash --bl / | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | nvflash -r --download <num> part< | ||
+ | </ | ||
+ | |||
+ | The [[partitionlayout|Partition Layout]] might also be interesting to look at. |
backups.1311896676.txt.gz · Last modified: 2011/07/29 01:44 by ggrandou