Skip to content

Instantly share code, notes, and snippets.

@UditSinghParihar
Last active July 24, 2020 21:38
Show Gist options
  • Save UditSinghParihar/1946552af07ed722b802ae1e6dd05844 to your computer and use it in GitHub Desktop.
Save UditSinghParihar/1946552af07ed722b802ae1e6dd05844 to your computer and use it in GitHub Desktop.
Controlling partitions size using GParted in Ubuntu
  1. Create gparted live usb using Tuxboot.
    1. In Tuxboot GUI, select GParted as distribution to be installed.
  2. Follow these gparted instructions to add unallocated space into exiting partions.
    1. Boot into gparted live usb. Might need to change the booting order.
    2. To change the partition size, left click on the side of partition and then start dragging.
  3. To directly boot into firmware setup utility or bios setup from command line in current session:
    1. sudo systemctl reboot --firmware-setup
    2. Taken from Ubuntu 16.04 - how can I disable Secure Boot?
  4. Alterante hack to manipulate the partitions size is by creating a bootable pendrive of ubuntu and change existing disk sizes from gparted by booting in the pendrive. This works because of the fact that you cant change disk space of OS in which you are boot into, but can change other disk spaces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment