Skip to content

Instantly share code, notes, and snippets.

@casouri
Created October 7, 2021 04:09
Show Gist options
  • Save casouri/8e85ccb3339e682732cc5278f549c725 to your computer and use it in GitHub Desktop.
Save casouri/8e85ccb3339e682732cc5278f549c725 to your computer and use it in GitHub Desktop.
root@gnu ~# fdisk /dev/nvme0n1
Welcome to fdisk (util-linux 2.35.1).
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/nvme0n1: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 960 EVO 250GB
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: 63C6B218-B47D-8748-9EFB-EB2EFD69F820
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 526335 524288 256M EFI System
/dev/nvme0n1p2 526336 488397134 487870799 232.7G Linux filesystem
Command (m for help): q
root@gnu ~# ls /mnt
bin/ boot/ etc/ gnu/ home/ lost+found/ mnt/ run/ swapfile tmp/ var/
root@gnu ~# ls /mnt/boot
efi/ grub/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment