Hotfix release available: 2024-02-06a "Kaos".
upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos".
upgrade now! [55] (what's this?)
backupandrestore
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
backupandrestore [2011/07/28 00:39] – created gilles | backupandrestore [2012/02/20 18:01] (current) – code highlighting turbooster | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Backup and Restore | + | DELETEME |
+ | |||
+ | ====== | ||
This Howto shows you a way to backup the whole system on the AC100 to your hardrive. This is probably a good idea before you start playing with an alternativ OS. This Howto is written to be used on a Linux system, but it should easily usable on a Windows system as well. | This Howto shows you a way to backup the whole system on the AC100 to your hardrive. This is probably a good idea before you start playing with an alternativ OS. This Howto is written to be used on a Linux system, but it should easily usable on a Windows system as well. | ||
Line 9: | Line 12: | ||
Open a terminal and change to the following directory: linux4tegra/ | Open a terminal and change to the following directory: linux4tegra/ | ||
the following command sends the vanilla bootloader into your device RAM (it will not overwrite anything) | the following command sends the vanilla bootloader into your device RAM (it will not overwrite anything) | ||
- | # LD_LIBRARY_PATH=. ./nvflash --bl ../ | + | |
+ | '' | ||
the following command saves your disk partitioning (very important!) | the following command saves your disk partitioning (very important!) | ||
- | # LD_LIBRARY_PATH=. ./nvflash -r --getpartitiontable partitiontable.txt | + | |
+ | '' | ||
use the following command with to save the partitions one by one to your harddisk (see Partition Layout for details) | use the following command with to save the partitions one by one to your harddisk (see Partition Layout for details) | ||
- | # for i in $(seq 2 14); do LD_LIBRARY_PATH=. ./nvflash -r --read $i part-$i.img; | + | |
+ | '' | ||
You should endup with part-2.img, part-3.img [...] up to part-14.img, | You should endup with part-2.img, part-3.img [...] up to part-14.img, | ||
Line 31: | Line 40: | ||
Open a terminal and change to the following directory: linux4tegra/ | Open a terminal and change to the following directory: linux4tegra/ | ||
Reload the vanilla bootloader using the following command: | Reload the vanilla bootloader using the following command: | ||
- | # LD_LIBRARY_PATH=. ./nvflash --bl fastboot.bin --go | + | |
+ | '' | ||
For earch part-[PartitionId].img you want to restore, execute the following command: | For earch part-[PartitionId].img you want to restore, execute the following command: | ||
- | # LD_LIBRARY_PATH=. ./nvflash -r --rawdevicewrite [StartSector] [NumSectors] part-[PartitionId].img | + | |
+ | '' | ||
Reboot your device. | Reboot your device. | ||
I used rawdevicewrite for part4, and my bootloader ceased to work until I also restored part2. | I used rawdevicewrite for part4, and my bootloader ceased to work until I also restored part2. |
backupandrestore.txt · Last modified: 2012/02/20 18:01 by turbooster