I'm looking for a way to fully erase the SSD on my laptop before I try to reinstall an operating system. Here's the situation: I originally had Windows 11 on the laptop, but then I installed Linux for a while. I now want to revert to Windows, but after trying to install it again, my laptop is stuck at a GNU GRUB prompt. I've tried installing both Windows and Linux, and both installation attempts seem to recognize that there was another operating system previously on the drive. I want to start fresh, and I think that completely wiping the drive might help. Any recommendations for a program or method that can do this outside of any OS installation?
5 Answers
The quickest way to wipe it is to boot from a live USB, open the terminal, and run `lsblk` to find your SSD. Then you can use `sudo blkdiscard /dev/yourSSD` to erase its contents completely.
Just download any Linux distribution and choose the option to overwrite the entire disk during the installation process. It’s an easy and straightforward method to ensure everything is cleared out before you reinstall the OS.
If you were using a BTRFS or EXT4 file system, try booting from a Linux live USB and format the SSD there. Leave the space unallocated to ensure a clean install next time. You can also install NTFS-3G if needed to format the drive to NTFS afterward.
Make sure to provide some hardware details and error messages when you're asking for help next time! As for wiping the SSD, you can run a hardware probe and then use the command `dd if=/dev/zero of=/dev/yourdrive bs=1m count=10` to obliterate any partition information. Just be careful with the `dd` command, as it can delete everything if used incorrectly.
Using GParted is a solid choice! You can easily boot from a GParted live USB, and it'll let you wipe the drive completely. It’s user-friendly and great for formatting tasks. If you run into real trouble, you could use the `dd` command, though that’s generally overkill for this situation.
Yeah, GParted Live is fantastic! I’ve had to use it to sort out similar issues before, and it really saved the day.
Totally agree! I keep a GParted live image on a thumb drive just in case.

That sounds efficient! I'm definitely trying that next time.