I'm looking to buy a new laptop, which comes with Windows 10 preinstalled.
I'm planning to remove it and install ubuntu right away. But I'm afraid that I might run into any driver issues, so I want to somehow make an exact copy of the whole drive (bit by bit), and in case I do want to return the laptop, I'd be able to recover the drive to the condition I got it from the store with.
How can I do this?