I have copied Windows from one hard drive to another with sudo dd many times successfully. It was always from a smaller SSD (120 GB) to a at least same sized or bigger SSD. I could always copy the whole drive (sda to sdb).
Now I would like to copy Windows from a HDD to a SSD. My SSD is only 120GB while the HDD is 500GB. Obviously I can't copy the whole HDD drive as it is too big. Therefore I have reduced the size of the Windows System Partition to 70GB.
The problem is that I still can't copy the whole drive itself, as it has a 105MB System reserved partition, 70GB Windows System partition and about 420GB on a free partition.
I would now need to copy sda1 (System Reserved) and sda2 (Windows partition) at the same time (and disregard the rest) to sdb (unpartitioned SSD).
When I copy a whole SSD drive to another SSD Windows is starting perfectly, but how can I copy the proper image (MBR, System Reserved and Windows partition) from a much bigger HDD to a smaller SSD?