gpart destroy efi partition?
- Reply: Warner Losh : "Re: gpart destroy efi partition?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 May 2023 03:44:53 UTC
Is there a secret incantation for destroying an EFI partition on a USB memstick? After installing FreeBSD, I would like to re-use a memstick, but % gpart destroy da0 gpart: geom 'da0': Read-only file system % gpart destroy -F da0 gpart: geom 'da0': Read-only file system % gpart show da0 => 40 60063664 da0 GPT (29G) 40 60063664 1 ms-basic-data (29G) % gpart delete -i 1 da0 gpart: geom 'da0': Read-only file system % dd if=/dev/zero of=/dev/da0 bs=1m dd: /dev/da0: Read-only file system -- Steve