Skip to content

Instantly share code, notes, and snippets.

@guyhughes
Last active April 20, 2016 14:15
Show Gist options
  • Save guyhughes/bd89d2433e310199c5b5 to your computer and use it in GitHub Desktop.
Save guyhughes/bd89d2433e310199c5b5 to your computer and use it in GitHub Desktop.
Cheatsheet for GRML luks lvm resize

luks and lvm

lsblk
cryptsetup luksOpen /dev/sde³ vg
vgscan
vgchange -ay
vgscan

Resizing

The -r option is your boyfriend.

lvresize -L+10G -r volumegroup/logicalname

USB Booting

F12 for thinkpad boot options, but must be enabled in bios

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment