Com base na sua edição, acho que você pode achar bastante útil o seguinte:
man wipefs
DESCRIÇÃO
wipefs
can erase filesystem, raid or partition-table signatures (magic strings) from the specified device to make the signatures invisible forlibblkid
...
OPÇÕES
-a
,--all
Erase all available signatures. The set of erased signatures can be restricted with the-t
list option.
-b
,--backup
Create a signature backup to the file$HOME/wipefs-<devname>-<offset>.bak
. For more details see EXAMPLES section...
EXEMPLOS
wipefs --all --backup /dev/sdb
Erases all signatures from the device
/dev/sdb
and creates a signature backup file~/wipefs-sdb-<offset>.bak
for each signature.
dd if=~/wipefs-sdb-0x00000438.bak of=/dev/sdb \
seek=$((0x00000438)) bs=1 conv=notrunc
Restores
ext2
signature from the backup file~/wipefs-sdb-0x00000438.bak
.