Skip to content

Instantly share code, notes, and snippets.

@jeffbeagley
Created February 28, 2022 23:35
Show Gist options
  • Save jeffbeagley/c4519009f93c11fcd023228dbe4ac0d8 to your computer and use it in GitHub Desktop.
Save jeffbeagley/c4519009f93c11fcd023228dbe4ac0d8 to your computer and use it in GitHub Desktop.
Resize default boot partition on Ubuntu running on ESXI
sudo lvextend -l+100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
sudo growpart /dev/sda 3
sudo pvresize /dev/sda3
sudo lvextend -r -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment