|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Wiping a softraid0 encrypted drive
Hi,
I recall there is a magic dd incantation that will wipe out both the original gpt partition table and the backup at the end of the drive so I don't have to write /dev/zero to every block on the drive if I want to start over and repartition my encrypted drive. Unfortunately my Google-fu has failed me. Would someone mind giving me a nudge to how I can whack the drive quickly and start over again? I get that the old data will still be there unless I wipe it but I'm just messing around to figure out how I eventually want to config this machine (Thinkpad T440p with Coreboot/Tianocore). Thanks! |
|
|||
Perhaps:
Code:
dd if=/dev/urandom of=/dev/rsd1c bs=1m count=1 But, for the end, I dont known! |
|
|||
Some drives will backup a gpt table at the end of the drive and restore it on the next boot. The google 'foo' is to add 'seek' to your search terms.
https://serverfault.com/questions/78...ta-from-a-disk An alternative is to use gdisk which is available in the gparted live disk https://www.rodsbooks.com/gdisk/wipegpt.html |
|
||||
If it's a solid state drive then blkdiscard(8) will wipe it in an instant but it's a Linux program (from the util-linux package) so you'd have to load a live image.
__________________
Are you infected with Wetiko? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How the NSA can break trillions of encrypted Web and VPN connections | J65nko | News | 0 | 15th October 2015 06:45 PM |
Help on getting WEP-Encrypted Network on OpenBSD | chicago | OpenBSD General | 24 | 18th May 2011 05:15 AM |
Encrypted == secure? | passthejoe | OpenBSD Security | 13 | 9th November 2010 05:45 PM |
Creating USB flash drive drive image from FreeBSD disc1.iso | FBSD | Guides | 1 | 10th February 2010 04:42 PM |
Encrypted disk compatibility issue | TheLogicInverter | FreeBSD Security | 3 | 30th January 2009 02:59 PM |