So I have the following problem, and I don't know what could be the best way to solve it. I have to copy the entire disk of a laptop with a 1TB nvd disk, to another with the same characteristics.
That laptop has a dual boot with Windows 10 and Debian so I chose to make a clone with dd. I have a 1TB removable disk to temporarily store the image.
Start FreeBSD as liveusb, mount my 1TB removable usb with UFS partitioning and proceed with dd like this:
Create image:
Restore image in the other laptop:
Would it be a good procedure? The compression delay would be very high as it is a 1TB file? Any other way to proceed?
Thanks.
Edit:
According to geom, the disks have the same size, I can see that in Mediasize.
That laptop has a dual boot with Windows 10 and Debian so I chose to make a clone with dd. I have a 1TB removable disk to temporarily store the image.
Start FreeBSD as liveusb, mount my 1TB removable usb with UFS partitioning and proceed with dd like this:
Create image:
dd if=/dev/nvd0 status=none bs=1m conv=fdatasync,noerror | xz -9 > /mnt/disk.xz
Restore image in the other laptop:
xz -9d /mnt/disk.xz | dd of=/dev/nvd0 status=none bs=1m conv=fdatasync,noerror
Would it be a good procedure? The compression delay would be very high as it is a 1TB file? Any other way to proceed?
Thanks.
Edit:
According to geom, the disks have the same size, I can see that in Mediasize.