This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
When extensive tweaking goes wrong, Timeshift can recover your Linux installation.
Firmware, encryption, and filesystem traps that break dual boot.
I replaced Windows with Linux, and there's only one feature I miss ...
Atomic vs. immutable Linux: Why choose one when these nine distros offer both?