Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@debian:/home/user# parted /dev/nvme0n1
- Model: SAMSUNG MZVLB512HBJQ-000H1 (nvme)
- Disk /dev/nvme0n1: 512GB
- Sector size (logical/physical): 512B/512B
- Partition Table: msdos
- Disk Flags:
- Number Start End Size Type File system Flags
- 2 756kB 3431kB 2676kB primary esp
- root@debian:/home/user# gdisk /dev/nvme0n1
- GPT fdisk (gdisk) version 1.0.6
- Partition table scan:
- MBR: MBR only
- BSD: not present
- APM: not present
- GPT: present
- Found valid MBR and GPT. Which do you want to use?
- 1 - MBR
- 2 - GPT
- 3 - Create blank GPT
- Your answer: 2
- Using GPT and creating fresh protective MBR.
- Warning! Main partition table overlaps the first partition by 64 blocks!
- You will need to delete this partition or resize it in another utility.
- Command (? for help): p
- Disk /dev/nvme0n1: 1000215216 sectors, 476.9 GiB
- Model: SAMSUNG MZVLB512HBJQ-000H1
- Sector size (logical/physical): 512/512 bytes
- Disk identifier (GUID): F892941C-D5A7-4343-BCAE-28E0A52F74FF
- Partition table holds up to 248 entries
- Main partition table begins at sector 2 and ends at sector 63
- First usable sector is 64, last usable sector is 6187040
- Partitions will be aligned on 8-sector boundaries
- Total free space is 1 sectors (512 bytes)
- Number Start (sector) End (sector) Size Code Name
- 2 1476 6699 2.6 MiB 0700 ISOHybrid1
- user@debian:~$ sudo gdisk /dev/nvme0n1
- GPT fdisk (gdisk) version 1.0.6
- Partition table scan:
- MBR: MBR only
- BSD: not present
- APM: not present
- GPT: present
- Found valid MBR and GPT. Which do you want to use?
- 1 - MBR
- 2 - GPT
- 3 - Create blank GPT
- Your answer: 1
- Command (? for help): p
- Disk /dev/nvme0n1: 1000215216 sectors, 476.9 GiB
- Model: SAMSUNG MZVLB512HBJQ-000H1
- Sector size (logical/physical): 512/512 bytes
- Disk identifier (GUID): 201E722A-6C00-4879-81B6-A468A663FD26
- Partition table holds up to 128 entries
- Main partition table begins at sector 2 and ends at sector 33
- First usable sector is 34, last usable sector is 1000215182
- Partitions will be aligned on 8-sector boundaries
- Total free space is 1000209923 sectors (476.9 GiB)
- Number Start (sector) End (sector) Size Code Name
- 2 1476 6701 2.6 MiB EF00 EFI system partition
- user@debian:~$ lsblk
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
- loop0 7:0 0 2.6G 1 loop /usr/lib/live/mount/rootfs/filesystem.squashfs
- sda 8:0 1 3.7G 0 disk
- ├─sda1 8:1 1 3G 0 part /usr/lib/live/mount/medium
- └─sda2 8:2 1 2.6M 0 part
- nvme0n1 259:0 0 476.9G 0 disk
- ├─nvme0n1p1 259:3 0 3G 0 part
- └─nvme0n1p2 259:4 0 2.6M 0 part
- user@debian:~$ sudo nvme list
- Node SN Model Namespace Usage Format FW Rev
- ---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
- /dev/nvme0n1 S4GLNF1MB58380 SAMSUNG MZVLB512HBJQ-000H1 1 38.57 GB / 512.11 GB 512 B + 0 B HPS0NEXF
- root@debian:/home/user# fdisk /dev/nvme0n1
- Welcome to fdisk (util-linux 2.36.1).
- Changes will remain in memory only, until you decide to write them.
- Be careful before using the write command.
- The device contains 'iso9660' signature and it will be removed by a write command. See fdisk(8) man page and --wipe option for more details.
- Command (m for help): p
- Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
- Disk model: SAMSUNG MZVLB512HBJQ-000H1
- 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: dos
- Disk identifier: 0x792fab23
- Device Boot Start End Sectors Size Id Type
- /dev/nvme0n1p1 * 0 6187103 6187104 3G 0 Empty
- /dev/nvme0n1p2 1476 6701 5226 2.6M ef EFI (FAT-12/16/32)
- Command (m for help):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement