Hello there people of the internet,
I'm currently running Windows 10 and Elementary OS as dual boot. My root partition is about 12GB large and I'm starting to run into storage issues. Since my home partition is over 100GB big I thought it'd be good a idea to take some amount off of that and enlarge my root.
https://i.sstatic.net/gsTh2.png
or
Model: ATA Samsung SSD 750 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 17,8MB 16,8MB Microsoft reserved partition msftres
2 17,8MB 125GB 125GB ntfs Basic data partition msftdata
3 125GB 137GB 12,0GB ext4
4 137GB 141GB 4000MB linux-swap(v1)
5 141GB 250GB 109GB ext4
6 250GB 250GB 1049kB bios_grub
Model: ATA ST1000DM003-1SB1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 17,4kB 633GB 633GB LDM data partition
2 633GB 634GB 538MB fat32 EFI System Partition boot, esp
5 634GB 1000GB 366GB ext4
3 1000GB 1000GB 1049kB LDM metadata partition
4 1000GB 1000GB 133MB fat16 Microsoft reserved partition msftres
Model: General USB Flash Disk (scsi)
Disk /dev/sdc: 16,0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 16,0GB 16,0GB primary fat32 boot, lba
The disk in question is the first one, the SSD.
Everything up to and including /dev/sda2 is my Windows stuff. Then comes the root, the swap, home and I think the last one should be boot. I've tried resizing sda5 so there's free space behind it, but as I've found out, I can't use that for my root partition since it's not adjacent to it. Resizing sda5 so that there's free space before it 1) gives me a warning that the partition might be unusable after that and 2) probably wouldn't help either since the swap partition is between root and sda5.
Now I'd like to ask you for help. How can I make my root partition bigger? I'd prefer to take space away from sda5, since over 100GB is probably way more than I could ever use up on linux, but other solutions are obviously welcome as well.
EDIT: Since I haven't found a solution yet I'm probably going to reinstall elemetaryOS completely and this time make sure to make the root partition larger. I'd still like to find an alternative but I have about 500MB left on root so right now I'm not seeing another option