Skip to content

Instantly share code, notes, and snippets.

@pedrocr
Created August 10, 2020 09:46
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 pedrocr/30f3e224bb18cb7d70755086a0a92208 to your computer and use it in GitHub Desktop.
Save pedrocr/30f3e224bb18cb7d70755086a0a92208 to your computer and use it in GitHub Desktop.
parted from install
$ sudo parted -ls
[sudo] password for pedrocr:
Model: ATA SanDisk SD8SN8U1 (scsi)
Disk /dev/sda: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 1000MB 999MB primary ext4 boot
2 1001MB 1024GB 1023GB extended
6 1001MB 21.0GB 20.0GB logical
5 21.0GB 1024GB 1003GB logical
Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/home: 1003GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1003GB 1003GB ext4
Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/sdb6_crypt: 20.0GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 20.0GB 20.0GB ext4
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: /dev/sr0: unrecognised disk label
Model: Linux File-CD Gadget (scsi)
Disk /dev/sr0: 14.9MB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment