PINE64
Call for test: Clonezilla live for Rockpro64 - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: Linux on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=101)
+--- Thread: Call for test: Clonezilla live for Rockpro64 (/showthread.php?tid=9656)



Call for test: Clonezilla live for Rockpro64 - stevenshiau - 04-14-2020

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/Flashing-U-Boot-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/experimental/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:
[Image: 0-test-env.jpg]


The rate about saving a SSD disk using -z9p (zstd) of Clonezilla option:
[Image: 2-rockpro-save-ssd.png]

Rate about restoring an image to SSD:
[Image: 3-rockpro-restore-ssd.png]

Boot progress:
http://free.nchc.org.tw/clonezilla-live/experimental/arm/info/rockpro64/0-boot-process.txt

The progress about saving the micro SD which has Armbian 20.02.1 Buster:
http://free.nchc.org.tw/clonezilla-live/experimental/arm/info/rockpro64/4-save-sd.txt

The progress about wiping the micro SD:
http://free.nchc.org.tw/clonezilla-live/experimental/arm/info/rockpro64/5-wipe-sd.txt

The progress about restoring the image to micro SD, then boot the restored Armbian:
http://free.nchc.org.tw/clonezilla-live/experimental/arm/info/rockpro64/6-restore-sd.txt

Bugs report, comments and suggestions are welcome.
Thank you very much.


Steven


RE: Call for test: Clonezilla live for Rockpro64 - tllim - 04-17-2020

Thanks and stick this thread.