Solved How to completely wipe a drive for re-installation? Mixed partitions..

lister

New member
Power User
Local time
4:48 AM
Messages
259
Hi I have a dual boot with different types of partitions, NTFS and ext4 and linux SWAP.

Id like to completely wipe everything and make the drive NTFS and then run virtual box inside.

So, my question! How would you safely make the drive as much "out of the box" as possible?

Thanks!
 

My Computer My Computer

At a glance

Windows 7 Panasonic CF F9 (used to have CF F8)
Computer Manufacturer/Model Number
Panasonic Toughbook CF F9
OS
Windows 7 Panasonic CF F9 (used to have CF F8)

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
thanks for that link.

Does the "clean all" clean ALL partitions? I am hoping it aggressively goes into every partition (even the ext4 and the SWAP) and simply cleans them as well...

Is that the case? Thanks again
 

My Computer My Computer

At a glance

Windows 7 Panasonic CF F9 (used to have CF F8)
Computer Manufacturer/Model Number
Panasonic Toughbook CF F9
OS
Windows 7 Panasonic CF F9 (used to have CF F8)
Yep, a "clean all" command at boot will completely delete everything (data, partitions, swap, etc....) off the drive, and leave you with a empty unallocated HDD afterwards.
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
cool thanks. I see that in your excellent tutorial (link in your previous post) you warn about SSD's

I have an SSD and will be doing this to it - good to know that its best now to overdo it.
 

My Computer My Computer

At a glance

Windows 7 Panasonic CF F9 (used to have CF F8)
Computer Manufacturer/Model Number
Panasonic Toughbook CF F9
OS
Windows 7 Panasonic CF F9 (used to have CF F8)
You're most welcome.

Yeah, for a SSD, I would recommend the "Clean" command instead of "Clean all" to avoid the extra writes to the SSD. :)
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Hi all
this might be "more than required" but if you really want to be sure of erasing all the data on the disk you should write x'00' or random hex digits on every sector at least twice.

This ensures that even the most sophisticated "Disk unerase" or data recovery type of program will fail.

Not sure if the OP wanted to go to this level of security or whether he just wanted to re-install the OS on a "newly formatted" drive.


http://www.diskwipe.org/

This sort of FREE software will do the trick too.

It uses these sorts of algorithms to securely erase data ;

Dod 5220-22.M, US Army etc.

I always use this before chucking an old HDD in the "Bin" or if I'm giving someone / a charity / or whatever an old computer.

Cheers
jimbo
 

My Computer My Computer

At a glance

Linux CENTOS 7 / various Windows OS'es and se...Intel i7 Intel i58GB, 16GBOn Motherboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
thanks - is that overkill for me though? All I want to do is make the disk "new" again so that I can install a fresh completely new copy of windows for the entire disk. (I had several partitions that now I just want to get rid of and run several OS's in virtual box)

So, the zero's is overkill for me right, or would you advise to do it? Would it make the disk more error-free?

Thanks
 

My Computer My Computer

At a glance

Windows 7 Panasonic CF F9 (used to have CF F8)
Computer Manufacturer/Model Number
Panasonic Toughbook CF F9
OS
Windows 7 Panasonic CF F9 (used to have CF F8)
Hi there
For your situation this is overkill

I only do this sort of stuff if I'm tossing out an old HDD or giving away a Computer.

Identity theft / fraud is big big business -- even if you think you have ZERO assets and even LESS money personal data is big big business so that's why I do a secure erase before tossing this stuff out.

It won't improve performance -- Brink's method is just fine for cleaning and re-creating partitions on your HDD.

BTW I'd always recommend to have a smaller partition just for the OS and applications and have your data / music / photos etc on different partition(s) so if you have to restore the OS you don't have to re-create all your data again.

Cheers
jimbo
 

My Computer My Computer

At a glance

Linux CENTOS 7 / various Windows OS'es and se...Intel i7 Intel i58GB, 16GBOn Motherboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
Hi all
this might be "more than required" but if you really want to be sure of erasing all the data on the disk you should write x'00' or random hex digits on every sector at least twice.

A clean all command in DiskPart does exactly that - wipe the entire HD by zeroing it out. No need to do it twice. :)

EDIT: I just realized you were talking about secure wiping. But this is kinda overkill too if you're immediately going to reuse the disk anyway.
 

My Computer My Computer

At a glance

Windows 7 Professional SP1 32-bitIntel Core 2 Duo E6600 2.4GHz4GB DDR2-667 (4x1GB in dual-channel config)nVidia GeForce 9800 GT
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom-built
OS
Windows 7 Professional SP1 32-bit
CPU
Intel Core 2 Duo E6600 2.4GHz
Motherboard
Asus PL5D2
Memory
4GB DDR2-667 (4x1GB in dual-channel config)
Graphics Card(s)
nVidia GeForce 9800 GT
Sound Card
Creative X-Fi XtremeMusic
Monitor(s) Displays
Acer P236H
Screen Resolution
1920x1200 (DVI)
Hard Drives
OCZ SSD Vertex Plus 60GB SATA (Firmware 3.55), 64MB cache
Hitachi HD321KJ SATA, 320GB, 7200rpm, 16MB cache
PSU
Antec TruePower 2.0
Case
Cooler Master Centurion
Cooling
Too many fans
Keyboard
Standard
Mouse
Microsoft wireless optical mouse
Internet Speed
AT&T U-verse (18mbit/sec)
Antivirus
Microsoft Security Essentials
Browser
Firefox
Other Info
Other devices:
Compaq CQ-60 laptop
Google Nexus 7 (2012) tablet
Nvidia SHIELD tablet (US/LTE)
Hardkernel ODROID-XU single-board computer (Samsung Exynos 5420)
thanks - is that overkill for me though? All I want to do is make the disk "new" again so that I can install a fresh completely new copy of windows for the entire disk. (I had several partitions that now I just want to get rid of and run several OS's in virtual box)

So, the zero's is overkill for me right, or would you advise to do it? Would it make the disk more error-free?

Thanks

Lister,

If you were going to be selling or giving your SSD to someone, then you would want to use the Clean all command to also include a "secure erase" to make sure that the data is gone off of it.


However, since you are keeping the SSD and are only reinstalling, then "Clean all" would be overkill and do a bunch of unneeded overwrites (unneeded wear and tear) to your SSD. For what you are wanting to do, the Clean command will work perfectly. :)
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top