Documentation/Allspark2-Orin NX WikiEnglish · NX
Browse documentation
Additional documentation

镜像备份

Users can create an image backup for system restoration. If an official AMOVLAB image will be used for restoration, no image backup is required. Image backup backs up only the c…

2 min read · English documentation

Image Backup

Users can create an image backup for system restoration. If an official AMOVLAB image will be used for restoration, no image backup is required. Image backup backs up only the contents of the eMMC; data on the SD card is not backed up. The following primarily explains how to back up an SD card system. Prepare the SD card to be backed up and a USB 3.0 card reader. Insert the card reader into a computer running Ubuntu and make sure the computer has 50 GB of available space. As shown below, after the backup finishes, the compressed file raspberryPi.image.img.gz will be available under the home path. You can change raspberryPi to any descriptive name that is easy to identify. The commands used are described below:

sudo parted –l

After connecting the card reader to the computer, use this command to view the SD card system's storage information. The output shows that it is mounted as /dev/sdb.

微信截图_20220812101715.png

sudo umount /dev/sdb1 /dev/sdb2

Use the command above to unmount the SD card. The command may not always work as written; use the Tab key for auto-completion to view the available paths.

sudo dd if=/dev/sdb conv=sync,noerror bs=64K | gzip -c > ~/raspberryPi.image.img.gz

The command above copies the system. The text shown in green indicates the SD card mount path, /dev/sdb. The red text in the yellow box indicates the storage path, which is currently under home. The green text in the yellow box indicates the stored filename. Change it to the desired name for the backed-up image; the current name is raspberryPi.

微信截图_20220812101302.png