Laptop I want to buy comes with preinstalled windows 10. I want to install linux on this laptop but I want to have option to recover windows (reset to factory settings). Because of that I want to make bit by bit image of whole disk (all partitions, MBR, etc). Of course I must have an option to flash this image to disk so laptop is reverted to factory settings with preinstalled windows. What is the best option to create such image and how do I later recover such image?I will boot linux from usb and attach much bigger hard drive throught usb. I will store backup on this usb hard drive. I was thinking about dd command but it won't take in account empty space so it will produce huge image.
Creating recovarable disk image
backup;administration;disk image;system recovery