ubuntu:disk:delete_a_partition
This is an old revision of the document!
Ubuntu - Disk - Delete a partition
Before deleting a partition, run the following command to list the partitions:
sudo fdisk -l
returns:
Disk /dev/sda: 1.84 TiB, 2000398934016 bytes, 3907029168 sectors Disk model: CT2000MX500SSD1 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: 2300B8B9-F7DD-4E5C-B2EF-84A5EC8D5D66 Device Start End Sectors Size Type /dev/sda1 2048 1050623 1048576 512M EFI System /dev/sda2 1050624 2098202623 2097152000 1000G Linux LVM /dev/sda3 3727806464 3728855039 1048576 512M EFI System /dev/sda4 3728855040 3907028991 178173952 85G Linux filesystem Disk /dev/sdb: 14.57 TiB, 16000900661248 bytes, 31251759104 sectors Disk model: ST16000NM001G-2K Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/sdc: 14.57 TiB, 16000900661248 bytes, 31251759104 sectors Disk model: ST16000NM001G-2K Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
ubuntu/disk/delete_a_partition.1622801584.txt.gz · Last modified: 2021/06/04 10:13 by peter