Restoring the exact state of a linux install to a different laptop with different sized drives and other hardware
- by user259774
I have an IBM running a Manjaro install that has already been used and settled into, with packages installed, browser profiles, etc, etc. The drive is 60gb, and it has a swap partition and an ext4 root partition.
I need to move this profile to a Toshiba computer with a 320gb drive.
How should I go about this? My inclination would be to shut down the toshiba, boot a live linux system, dd the whole 60gb drive to a file, boot the toshiba to a live system, then dd the file to its 320gb drive.
Would this work? I know that it wouldn't with windows, but I believe this is an artificially imposed limitation from Microsoft. Is this correct, or is Linux similarly limited?
If not, how could I go about this? Would clonezilla work, or would the hardware disparities prevent it from working?