04-14-2020, 06:44 AM
(This post was last modified: 04-14-2020, 03:43 PM by stevenshiau.)
Dear all,
We are the developers of Clonezilla (https://clonezilla.org). Recently we have created Clonezilla live arm64 release, and would like to invite you to give it a try on RockPro64. Clonezilla is free and open source software for disk imaging and cloning.
How to use it:
1. First, follow this to flash U-Boot to SPI:
https://github.com/sigmaris/u-boot/wiki/...oot-to-SPI
We have tested the release rockpro64 u-boot v2020.01-ci work for booting Clonezilla live from USB flash drive.
2. Download Clonezilla live from
http://free.nchc.org.tw/clonezilla-live/...ental/arm/
The Ubuntu-based release, e.g., clonezilla-live-20200414-focal-arm64.zip which we have tested OK on Rockpro64.
3. Create a FAT32 partition on your USB flash drive, then mount it, e.g.,
pmount /dev/sde1 /media/disk
unzip clonezilla-live-20200414-focal-arm64.zip -d /media/disk
pumount /media/disk
4. Insert the USB flash drive on your Rockpro64, then boot it. Remember to set the it to boot from USB device.
i.e., when you see:
Hit any key to stop autoboot: 0
Press any key, then type:
=> setenv boot_targets usb0
=> boot
If all goes well, you should be able to see the Clonezilla live boot menu.
5. In the 1st item of grub boot menu, edit the boot parameter by pressing "e",
append "ocs_live_run_tty=/dev/ttyS2", so that the Clonezilla main menu will be shown in the serial console.
e.g.,
linux /live/vmlinuz boot=live union=overlay quiet components noswap edd=on nomodeset enforcing=0 noeject locales=en_US.UTF-8 keyboard-layouts=en ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=788 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 ocs_live_run_tty=/dev/ttyS2
Of course, the serial console device name has to match your environment. Then press Ctrl-x to boot it.
6. Wait a while, and you should be able to see the main menu of Clonezilla live, then you can save your disk as an image, restore the image, or clone the disks. More docs are available on Clonezilla website:
https://clonezilla.org/clonezilla-live-doc.php
The photo about the test environment:
The rate about saving a SSD disk using -z9p (zstd) of Clonezilla option:
Rate about restoring an image to SSD:
Boot progress:
http://free.nchc.org.tw/clonezilla-live/...rocess.txt
The progress about saving the micro SD which has Armbian 20.02.1 Buster:
http://free.nchc.org.tw/clonezilla-live/...ave-sd.txt
The progress about wiping the micro SD:
http://free.nchc.org.tw/clonezilla-live/...ipe-sd.txt
The progress about restoring the image to micro SD, then boot the restored Armbian:
http://free.nchc.org.tw/clonezilla-live/...ore-sd.txt
Bugs report, comments and suggestions are welcome.
Thank you very much.
Steven
We are the developers of Clonezilla (https://clonezilla.org). Recently we have created Clonezilla live arm64 release, and would like to invite you to give it a try on RockPro64. Clonezilla is free and open source software for disk imaging and cloning.
How to use it:
1. First, follow this to flash U-Boot to SPI:
https://github.com/sigmaris/u-boot/wiki/...oot-to-SPI
We have tested the release rockpro64 u-boot v2020.01-ci work for booting Clonezilla live from USB flash drive.
2. Download Clonezilla live from
http://free.nchc.org.tw/clonezilla-live/...ental/arm/
The Ubuntu-based release, e.g., clonezilla-live-20200414-focal-arm64.zip which we have tested OK on Rockpro64.
3. Create a FAT32 partition on your USB flash drive, then mount it, e.g.,
pmount /dev/sde1 /media/disk
unzip clonezilla-live-20200414-focal-arm64.zip -d /media/disk
pumount /media/disk
4. Insert the USB flash drive on your Rockpro64, then boot it. Remember to set the it to boot from USB device.
i.e., when you see:
Hit any key to stop autoboot: 0
Press any key, then type:
=> setenv boot_targets usb0
=> boot
If all goes well, you should be able to see the Clonezilla live boot menu.
5. In the 1st item of grub boot menu, edit the boot parameter by pressing "e",
append "ocs_live_run_tty=/dev/ttyS2", so that the Clonezilla main menu will be shown in the serial console.
e.g.,
linux /live/vmlinuz boot=live union=overlay quiet components noswap edd=on nomodeset enforcing=0 noeject locales=en_US.UTF-8 keyboard-layouts=en ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=788 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 ocs_live_run_tty=/dev/ttyS2
Of course, the serial console device name has to match your environment. Then press Ctrl-x to boot it.
6. Wait a while, and you should be able to see the main menu of Clonezilla live, then you can save your disk as an image, restore the image, or clone the disks. More docs are available on Clonezilla website:
https://clonezilla.org/clonezilla-live-doc.php
The photo about the test environment:
The rate about saving a SSD disk using -z9p (zstd) of Clonezilla option:
Rate about restoring an image to SSD:
Boot progress:
http://free.nchc.org.tw/clonezilla-live/...rocess.txt
The progress about saving the micro SD which has Armbian 20.02.1 Buster:
http://free.nchc.org.tw/clonezilla-live/...ave-sd.txt
The progress about wiping the micro SD:
http://free.nchc.org.tw/clonezilla-live/...ipe-sd.txt
The progress about restoring the image to micro SD, then boot the restored Armbian:
http://free.nchc.org.tw/clonezilla-live/...ore-sd.txt
Bugs report, comments and suggestions are welcome.
Thank you very much.
Steven