Upgrading Windows on a clean hard drive is not a problem at all as it doesn’t contain any data, which means there will be no data overwriting. The drive on which the upgrade is initiated will be affected, but it will not affect drive partitions.

Though the improper hard drive to fix a corrupted or RAW hard drive may cause you data loss, and you may accidentally end up losing or deleting a drive partition.

In case you lost or deleted a drive partition, you can recover data from it using Stellar Data Recovery Professional. Read this guide for steps to recover data from lost/missing or deleted drive partitions.