I moved this drive from a previous Windows build to a new Ubuntu build and here’s what the drive looks like when mounted:
$ sudo lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdl 8:176 0 3.7T 0 disk sdl1 8:177 0 16M 0 part sdl2 8:178 0 3.7T 0 part $MOUNT_DIR $ sudo blkid /dev/sdl1: PARTLABEL="Microsoft reserved partition" PARTUUID="$PARTITION_ID" /dev/sdl2: LABEL="$LABEL" UUID="$UUID" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="$ANOTHER_PARTITION_ID" $ sudo fdisk -l Disk /dev/sdl: 3.65 TiB, 4000787030016 bytes, 7814037168 sectors Disk model: ST4000VN008-2DR1 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: $DISK_IDENTIFIER Device Start End Sectors Size Type /dev/sdl1 34 32767 32734 16M Microsoft reserved /dev/sdl2 32768 7814033407 7814000640 3.7T Microsoft basic data Partition 1 does not start on physical sector boundary.
Luckily I have a new 8TB drive I can use to copy the data and re-provision this drive.
I think I can use
mkfs to format the partition but I think I only want to do that after (I’ve wiped the drive and) I’ve deleted the partitions created by Windows? How can I do that?