Intro:
-----------
How2 Clone a 1TB NVMe ssd to a 2TB NVMe ssd with CloneZilla Live - USB Boot.
I used : clonezilla-live-3.1.0-22-amd64
OS
Linux Mint 21.02
Boot
Secure Boot
HDD Partition table
GPT
Hardware used:
Lenovo Thinkpad w. a 1TB 980 NVMe disk installed
Original 1TB NVMe
Samsung 980 1TB PCIe 3.0 (up to 3,500 MB/s) NVMe M.2 Internal Solid State Drive (SSD) (MZ-V8V1T0BW)
https://www.amazon.de/dp/B08TJ2649W/New 2TB NVMe
Samsung 980 PRO 2 TB PCIe 4.0 (up to 7,000 MB/s) NVMe M.2 (2280) Internal Solid State Drive (SSD) (MZ-V8P2T0BW)
https://www.amazon.de/dp/B08QJHLC8J/Orico NVMe (10GB) - USB Adapter
https://www.amazon.de/dp/B0B4S5QZBN/16GB USB Stick for Clonezilla.
How to Clone fast and easy with Clonezilla.
--------------------------------------------
As usual i ran out of space on my Lenovo laptop ....
So i bougt a new 2TB NVMe disk, this time a "2TB 980 PRO" ...
I'm not sure if my laptop can utilize the faster PCIe-4 xfer , but it can utilize the better TBW.
But howto Clone a NVMe on a laptop w. only one NVMe slot ??
I had a look around, and found some USB NVMe adapters on eBay & Ali, but i had no idea about the performance, and didn't want to wait 3..4 weeks.
Then i found the Orico's on Amazon (de)
Fair price, and apparently nice performance.
So i bougt a Dual NVMe/Sata - Note the only "dual" is the chassis, each adapter has it's own USB Cable.
Orico Dual NVMe (10GB) & Sata - USB Adapter
https://www.amazon.de/dp/B0B4RZ4Y5V/And i also bought the "single" NVMe USB Adapter. I could use that as a "Fast" NVMe External SSD.
For cloning i used the "single slot" 10GB USB Adapter.
1: Determine if my setup uses MBR(msdos) or gpt partitioning
--------------------------------------------------------------
$ sudo fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 980 1TB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 131072 bytes
Disklabel type: gpt
Disk identifier: xxxxxxx
2: Download Conezilla
--------------------------
I downloaded Clonezilla (clonezilla-live-3.1.0-22-amd64) , in both zip and ISO formats.
https://clonezilla.org/downloads.phpNote: Only the 64-bit verion supports Secureboot
3:
Create Clonezilla USB Boot stick (Non working)
-----------------------------------------------
Format USB Stick - Fat32.
I tried their recipe for creating a bootable USB Stick from the zip file (just copy files from zip to USB Stick) , but ended up with it getting stuck at boot (twice).
https://clonezilla.org/liveusb.php#linux-setupHmmm ... Try the ISO ...
4:
Create Clonezilla USB Boot stick (working)
-----------------------------------------------
I used etcher to "burn" the ISO to the USB Stick.
5: Mount new 2TB NVMe in Orico "single" NVMe USB Adapter.
-----------------------------------------------------------
Mounting MVMe was not that bad to do .... Even though i had some challenges fitting the "rubber screw/thingy" at the end of the NVMe disk for "fixture".
I decided NOT to remove the plastic on the "Cooling pad side" that connected towards the NVMe, as i had to remove the 2TB NVMe disk after copying.
But i was glad that i did mount the Cooling pad. After copying 900GB of data it got "quite hot".
Connect the NVME (syslog) - Orico seems to use a Realtek RTL9210 USB --> NVMe chip.
I used the TP's USBC plug - It's USB3.? - Actually don't know if it's USB 3.1 or 3.2 ... Prob. 3.1
Aug 6 12:40:26 TP1 kernel: [ 4198.067445] usb 2-1: new SuperSpeed Plus Gen 2x1 USB device number 6 using xhci_hcd
Aug 6 12:40:26 TP1 kernel: [ 4198.094581] usb 2-1: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=20.01
Aug 6 12:40:26 TP1 kernel: [ 4198.094587] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 6 12:40:26 TP1 kernel: [ 4198.094589] usb 2-1: Product: RTL9210
Aug 6 12:40:26 TP1 kernel: [ 4198.094591] usb 2-1: Manufacturer: Realtek
Aug 6 12:40:26 TP1 kernel: [ 4198.094592] usb 2-1: SerialNumber: xxxxxxxxxxxxxxxxxx
Aug 6 12:40:26 TP1 kernel: [ 4198.097281] usb 2-1: Enable of device-initiated U1 failed.
Aug 6 12:40:26 TP1 kernel: [ 4198.098340] usb 2-1: Enable of device-initiated U2 failed.
Aug 6 12:40:26 TP1 kernel: [ 4198.115803] usb 2-1: Enable of device-initiated U1 failed.
Aug 6 12:40:26 TP1 kernel: [ 4198.116903] usb 2-1: Enable of device-initiated U2 failed.
Aug 6 12:40:26 TP1 kernel: [ 4198.119442] scsi host0: uas
Aug 6 12:40:26 TP1 mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
Aug 6 12:40:26 TP1 kernel: [ 4198.123171] scsi 0:0:0:0: Direct-Access Realtek RTL9210 NVME 1.00 PQ: 0 ANSI: 6
6: Boot (from) Clonezilla USB Stick
-------------------------------------
Shutdown TP, Insert USB Stick, Turn on TP.
Press F12 to select Boot menu - In Boot menu boot from USB HDD
Note: I never saw the GUI, As CZ seemed to decide to boot in text "Blue screen" mode.. (Not an issue)
7: Load Clonezilla
---------------------
I chose : Clonezilla live (VGA 800x600 & To RAMD) (cz1.png) , where it copies the USB Boot disk to Ramdisk , allwing you to remove the USB Stick after the copy ... (I didn't remove the stick)
Not it takes a bit of time, where CZ shows it's copying it self to the RamDisk
Set Clonezilla Codepage (cz2.png) + Kbd (cz3.png)
Start Clonezilla (cz4.png)