This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
Dale wrote:
I'm not necessarily needing to use shred or dd everything to make
sure data can never be recovered, just reset to like new so I can start
clean with a fresh new setup.
<<snip>>>
What is the fastest way
In that scenario I would simply use gdisk (sys-apps/
gptfdisk).
When you open the drive (e.g. "gdisk /dev/sda") under the "extra
functionality (experts only)" menu there is the option:
z zap (destroy) GPT data structures and exit
Note that the drive does not need to be GPT formatted. Zapping it will
also ask to remove MBR structures too.
This will give you a clean slate. Of course, since the actual data of
each partition has not been removed if you then create the exact same
partition table with the exact same offsets you will still be able to
mount the filesystems. Notably, if the start offset is the same, e.g.
"2048" and you try to run mkfs it will warn of existing signature having
been found.
LVM signatures will s
till remain in place and the same would be
possible. If that's not a desirable outcome you can use LVM's "vgremove"
and "pvremove" first to remove the VG/PV signatures.
None of this really matters much though since the data at these
locations would eventually be overwritten. And if you plan to do have
exact same layout, at the exact same offsets, then creating a new
filesystem or PV/VG/LV will inherently overwrite any existing signatures.
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail
wsGpBAEBCABdBYJoKtdzCZDHHRBH4xmOczUUAAAAAAAcABBzYWx0QG5vdGF0 aW9ucy5vcGVucGdwanMub3JnXOaXcbhs1CY8LG4uu1A11xYhBChWW5VCWm3b IxkkL8cdEEfjGY5zAACwbw//bUYfVJvEHm1UW/Vn++VskTRcLjywyakxSX8W eQsQnzvSCzXdvkCNJSXWHWJeBaMbOOggfYOSqMnlSNaEqWdu6ofocYy+ltEh 7cN1qVMkPnINw35gkmvyjh7Qn12ER8KAzuVFU7htVw13GQWrk6JYHPj/7ZKY P3PYLKyXpO/Y2X1SiV+QmF7UKQijcFaTSEec5ianUdhcZIprEt1nWasZpBTC G+rgRvYmPyTY49ITohR/B+GcsK4tr/6unJ8XEU0hkcOnD8Y9G42oOCyYDuRv FwiZwtLzB3fX6W/6X++phN8jp4qJ1UzG5DgHx5vSXbfFE8g+x28a64R0OlV9 S14Hz3j7NiqWjhkQCA8M4MajUgIvCzkhppLyxhob34mdvxTjiTguv/alHtBd M7Dm08Lk9y8Bwc/4L1W7BkrlOQR1GRR0E9A5n+DoCahl/f5pIsWnBRceLrHH CN6L9Nxw+dsoU361fnxhcLv6Z5fFjfzBdi+QKGcsZLmSiD0kx+GkEjMucPdn 0f1eJe/SiiXfO5mVzpzO9x3Oo6gQWWWxazQ1cmtl5yDzAPFNdOKIrmSWBoue /cOucrLj06sSU8vdsWnrQmFIGhDWLAJckPPEtwcda3rNrw6O81e/H+SuVDPj RvM3JMZXImNdC7AomzlWvv1Bq3MgZl2x4tyoD2q+lt4x4i8=
=qVvN
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)