From e51faf4e81bd1db8d305bfb3ca7582a553791a07 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Wed, 15 Feb 2023 12:49:17 -0600 Subject: [PATCH] Ubuntu: Add wipefs to the instructions This was present in the Debian instructions. I don't know why we wouldn't want it here too. --- docs/Getting Started/Ubuntu/Ubuntu 22.04 Root on ZFS.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/Getting Started/Ubuntu/Ubuntu 22.04 Root on ZFS.rst b/docs/Getting Started/Ubuntu/Ubuntu 22.04 Root on ZFS.rst index 828256d..74aa9ae 100644 --- a/docs/Getting Started/Ubuntu/Ubuntu 22.04 Root on ZFS.rst +++ b/docs/Getting Started/Ubuntu/Ubuntu 22.04 Root on ZFS.rst @@ -199,6 +199,10 @@ Step 2: Disk Formatting # For an array using a partition (e.g. a swap partition per this HOWTO): mdadm --zero-superblock --force ${DISK}-part2 + If the disk was previously used with zfs:: + + wipefs -a $DISK + Clear the partition table:: sgdisk --zap-all $DISK