Skip to content

Instantly share code, notes, and snippets.

Created March 12, 2017 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6fefa047ecdc217a618a8fdd5a7b776b to your computer and use it in GitHub Desktop.
Save anonymous/6fefa047ecdc217a618a8fdd5a7b776b to your computer and use it in GitHub Desktop.
[root@amd-nixos:~]# fdisk /dev/sdb
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/sdb: 223.6 GiB, 240057409536 bytes, 468862128 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: 31B010B7-097D-4C5D-9ACC-8283752EE656
Device Start End Sectors Size Type
/dev/sdb1 2048 67583 65536 32M BIOS boot
/dev/sdb2 20973568 468860927 447887360 213.6G Linux filesystem
/dev/sdb3 67584 1116159 1048576 512M Linux filesystem
/dev/sdb4 1116160 20973567 19857408 9.5G Linux swap
Partition table entries are not in disk order.
Command (m for help): i
Partition number (1-4, default 4): 1
Device: /dev/sdb1
Start: 2048
End: 67583
Sectors: 65536
Size: 32M
Type: BIOS boot
Type-UUID: 21686148-6449-6E6F-744E-656564454649
UUID: AD3E9290-AE0F-4953-B67B-1DFDEEBED926
Name: bios boot
Attrs: LegacyBIOSBootable
Command (m for help):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment