yooqert.blogg.se

Ubuntu wipefs
Ubuntu wipefs












ubuntu wipefs

To restore first find the relevant back-up file. This can be done adding the “–backup” option or in short “-b”. You might want to create a back-up in case something goes wrong and you need to perform a restore. Note that “-a” and “-f” are the short versions of the “–all” and “–force” options, respectively.

ubuntu wipefs

To wipe the disk /dev/sda run the following command : # wipefs -a -f /dev/sda # wipefs /dev/sda* DEVICE OFFSET TYPE UUID LABEL For this we need to add an asterisk at the end of the device name as a wildcard. Since wipefs does not work recursively running the command on an entire block device (e.g., /dev/sda), will not show the signatures of every partition on the device.

ubuntu wipefs

# wipefs /dev/sda1 DEVICE OFFSET TYPE UUID LABEL To display the current signatures on a hard disk run the following command : # wipefs /dev/sda Removing metadata and signatures from previously used hard drives is important to ensure that when they are reused in a new system, they do not contain information that could interfere with the installation of an operating system and underlying file system and cause the process to fail. Wipefs is a great tool for removing signatures and metadata from used hard drives that have been previously partitioned and formatted.














Ubuntu wipefs