Skip to content

Instantly share code, notes, and snippets.

@rexlManu
Created May 7, 2020 00:25
Show Gist options
  • Save rexlManu/0ba69254918e2ac6a3171b84623f9c87 to your computer and use it in GitHub Desktop.
Save rexlManu/0ba69254918e2ac6a3171b84623f9c87 to your computer and use it in GitHub Desktop.
HOW TO RESIZE DISK IF U STUPID AND INSTALL LINUX BY HAND
HOW TO RESIZE DISK IF U STUPID AND INSTALL LINUX BY HAND
- swapoff -a
- /etc/fstab > comment the uuid with swap
- /etc/initramfs-tools/conf.d/resume > RESUME=none
- delete swap partitions with parted
- update-initramfs -u -k all
- update-grub
- resize2fs
FINISH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment