Skip to content

Instantly share code, notes, and snippets.

@oz123
Last active December 9, 2024 07:37
Show Gist options
  • Save oz123/ade4528c87913077a8bbf88e864df234 to your computer and use it in GitHub Desktop.
Save oz123/ade4528c87913077a8bbf88e864df234 to your computer and use it in GitHub Desktop.
gio showing luks partition.
oznt@gentoo-elli ~ $ gio mount -l
Drive(0): TS1TMTE220S
Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
Drive(1): SanDisk Ultra II 480GB
Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
Volume(0): 479 GB Encrypted
Type: GProxyVolume (GProxyVolumeMonitorUDisks2)
Volume(1): 767 MB Volume
Type: GProxyVolume (GProxyVolumeMonitorUDisks2)
oznt@gentoo-elli ~ $
oznt@gentoo-elli ~ $ sudo su
Password:
gentoo-elli /home/oznt # fdisk -l /dev/sda
sda sda1 sda2 sda5
gentoo-elli /home/oznt # fdisk -l /dev/sda
Disk /dev/sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model: SanDisk Ultra II
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: 0x67ca8b79
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1499135 1497088 731M 83 Linux
/dev/sda2 1501182 937701375 936200194 446.4G 5 Extended
/dev/sda5 1501184 937701375 936200192 446.4G 83 Linux
gentoo-elli /home/oznt # fdisk -l /dev/nv
nvme0 nvme0n1 nvme0n1p1 nvme0n1p2 nvme0n1p3 nvram
gentoo-elli /home/oznt # fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: TS1TMTE220S
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: EF970737-8D0C-41E9-9604-1A1FCA1F8715
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 2097151 2095104 1023M EFI System
/dev/nvme0n1p2 2097152 4194303 2097152 1G EFI System
/dev/nvme0n1p3 4194304 2000408575 1996214272 951.9G Linux LVM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment