As others have said, using dd
will be a bit for bit copy of the drive, regardless of the filesystem. If you were only using 10GB, and the rest of the drive was “empty”, the output of dd
will still be a 256GB file. You could compress this file with gzip if storage is a concern.
With regard to your plan with Windows, there is a hardware check that OS will perform and if the hardware drifts too much, the OS will not be activated anymore and will need a new license. I’m not familiar with recent versions of Windows, but if you have a Pro version of the OS, it might not work on new hardware.
Ah I see ok yeah that should be fine. I misread and thought you were going to sell the windows laptop and transfer the OS to a new machine.