![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 2017-05-07 18:00, Rüdiger Meier wrote:
On May 7, 2017 4:57:53 PM GMT+02:00, Bjoern Voigt <bjoernv@arcor.de> wrote:
What is the best way to wipe a GPT partition table completely from an USB key?
(Background: My USB key contains a GPT partition table, probably from an OS installation (FreeNAS, openSUSE installation media ...). Parted, fdisk, gdisk have functions to create a new MSDOS partition table, but they do not wipe the GPT completely. As the result, Grub2 functions (grub2-install, YaST Bootloader) fail. Currently I do "dd if=/dev/zero of=/dev/disk/by-id/<my-usb-key-device> bs=64M", but this takes long.)
$ man wipefs
cer@Telcontar:~> man wipefs | grep -i gpt cer@Telcontar:~> -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)