backupandrestore
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
backupandrestore [2011/08/11 18:27] – ggrandou | backupandrestore [2012/02/20 18:01] (current) – code highlighting turbooster | ||
---|---|---|---|
Line 12: | 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 34: | 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.1313080034.txt.gz · Last modified: 2011/08/11 18:27 by ggrandou