Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created July 22, 2017 19:30
Show Gist options
  • Save cleverca22/d332976c361dcee9d9a4032c84d9cca6 to your computer and use it in GitHub Desktop.
Save cleverca22/d332976c361dcee9d9a4032c84d9cca6 to your computer and use it in GitHub Desktop.
[root@laptop:~]# fdisk /dev/sda
Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 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: 4BCD3C8D-4FA0-426A-BBB5-27132BD111F1
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 1052671 1048576 512M Linux filesystem
/dev/sda3 1052672 625142414 624089743 297.6G Linux filesystem
Command (m for help): i
Partition number (1-3, default 3): 1
Device: /dev/sda1
Start: 2048
End: 4095
Sectors: 2048
Size: 1M
Type: BIOS boot
Type-UUID: 21686148-6449-6E6F-744E-656564454649
UUID: 3852D687-B026-4B54-BD05-0124FBAE2F7F
Name: BIOS boot partition
Command (m for help): i
Partition number (1-3, default 3): 2
Device: /dev/sda2
Start: 4096
End: 1052671
Sectors: 1048576
Size: 512M
Type: Linux filesystem
Type-UUID: 0FC63DAF-8483-4772-8E79-3D69D8477DE4
UUID: 7195F0E2-2C81-4C3D-B19D-D48B3DE77FF7
Name: Linux filesystem
Command (m for help): i
Partition number (1-3, default 3): 3
Device: /dev/sda3
Start: 1052672
End: 625142414
Sectors: 624089743
Size: 297.6G
Type: Linux filesystem
Type-UUID: 0FC63DAF-8483-4772-8E79-3D69D8477DE4
UUID: DA7B2750-0F8B-4290-BE32-1EA54141B054
Name: Linux filesystem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment