Jump to content

Does Windows 10 completely wipe the partition table?

Yasashii
Go to solution Solved by Master Disaster,

If you delete all existing partitions then a new table has to be created yes but remember, there's a few other variables at play here.

 

First is partition type/style, this is either MBR or GPT.

Next is the partition table, this is the list of each partition on the disk.

Finally is Filesystem, NTFS, FAT, EXT4 etc.

 

As you can see, even removing the partition table might not necessarily clear the MBR (though this is not an issue with GPT since boot data is stored on a partition anyway).

 

If you're ever in doubt, at the partition screen just press Shift + F10 to open command prompt then use diskpart to clean the drive, diskpart cleaning reverts the disk back to RAW.

 

The reason Windows installation doesn't have the advanced partitioning & FS tools that Linux has is simple, it doesn't need them. Windows 10 can only boot from an NTFS filesystem anyway so that's the only FS it supports, advanced users can use diskpart for anything else.

Hi.

 

When I install Linux there is usually an option, depending on the distro, to "create new partition table",  during the partitioning process. There is no such option while installing Windows.

 

The question is: if I delete all partitions on a given partition table before installing Windows, does the installer create a new partition table or does it use the existing one?

 

The context is, if I should be so unlucky as to get infected with a virus which stores itself in the MBR space of a disk, does removing all of the partitions and creating them anew during installation completely fix that issue if I'm using an MBR partition table or does this still leave a possibility that the virus could survive the re-installation of the system itself?

 

Let's assume my anti-malware software did not detect the virus prior to re-installation of the operating system.

Link to comment
Share on other sites

Link to post
Share on other sites

If you delete all existing partitions then a new table has to be created yes but remember, there's a few other variables at play here.

 

First is partition type/style, this is either MBR or GPT.

Next is the partition table, this is the list of each partition on the disk.

Finally is Filesystem, NTFS, FAT, EXT4 etc.

 

As you can see, even removing the partition table might not necessarily clear the MBR (though this is not an issue with GPT since boot data is stored on a partition anyway).

 

If you're ever in doubt, at the partition screen just press Shift + F10 to open command prompt then use diskpart to clean the drive, diskpart cleaning reverts the disk back to RAW.

 

The reason Windows installation doesn't have the advanced partitioning & FS tools that Linux has is simple, it doesn't need them. Windows 10 can only boot from an NTFS filesystem anyway so that's the only FS it supports, advanced users can use diskpart for anything else.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×