I have a machine with a GPT-partitioned hard drive. The drive looks like this:
Code: Select all
fred@aussie ~ $ sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 138.7G 0 part /
├─sda2 8:2 0 46.6G 0 part
├─sda3 8:3 0 4.7G 0 part [SWAP]
├─sda4 8:4 0 42G 0 part
└─sda5 8:5 0 1001M 0 part
sr0 11:0 1 7.7G 0 rom /media/fred/LSE0NNF1
fred@aussie ~ $ sudo fdisk -l
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 351A555A-C6F0-4CFF-A62A-AB9A38CDE85C
Device Start End Sectors Size Type
/dev/sda1 34 290920447 290920414 138.7G Linux filesystem
/dev/sda2 292970798 390628793 97657996 46.6G Linux filesystem
/dev/sda3 390628794 400395000 9766207 4.7G Linux swap
/dev/sda4 400396288 488396799 88000512 42G Linux filesystem
/dev/sda5 290920448 292970495 2050048 1001M Linux filesystem
Partition table entries are not in disk order.
I have 5 primary partitions, but I don't need sda5, so that shouldn't be an issue. I'll just delete it.
Thanks!
Fred