Skip to main content
10 events
when toggle format what by license comment
Aug 26, 2018 at 14:14 vote accept Cbhihe
Aug 24, 2018 at 19:47 answer added Cbhihe timeline score: 2
Aug 23, 2018 at 20:43 comment added sawdust Your comment about /etc/fstab inspires confidence that you do know what you're doing. Rather than "inactivate the swap" and "reboot without swap", I would simply boot a LiveCD. I'm inclined to agree with @JohanMyréen, but I've only used MBR partitions. Just be prepared for lengthy disk operations.
Aug 23, 2018 at 20:08 comment added Cbhihe @sawdust: Effectively GParted is not known for its ability to perform leapfrog... I was going to inactivate the swap, erase it, reallocated space to neighboring ext4 volumes, move /boot' and /` as far to the left as the EFI FAT volume will permit, recreate swap after them (with new UUID), extend /home and /var reboot without swap, and finally correct the /etc/fstab entry for the swap's new UUID. Am I missing something ?
Aug 23, 2018 at 20:00 history edited Cbhihe CC BY-SA 4.0
corrected wording per comments on allocated vs unused space and made question more accurate.
Aug 23, 2018 at 19:52 comment added sawdust GParted is incapable of "moving" one partition to the other side of another partition, as you want to do. In order to move the four partitions (5, 8, 9, 10), you would first have to delete partitions 2,3,4,6,7. Then you could recreate the swap partition, which may cause issues, as the new swap partition may have different partition and UUID numbers.
Aug 23, 2018 at 19:48 comment added Cbhihe @JohanMyréen: yes. Does that mean that moving them around with GParted will keep the partition table up to date, without me having to re-index partitions ? That was the direction of my query...
Aug 23, 2018 at 19:41 comment added sawdust You're incorrectly conflating "unmounted space" and "unused space". Your partition map indicates that all of the disk space has been allocated; there is no "unused space". Even though an OS may not use a partition, that area of the disk is still considered allocated and not "unused space". You will have to delete unused partitions in order to create "unused space".
Aug 23, 2018 at 19:20 comment added Johan Myréen Moving partitions around is always a bit risky, so you better be careful and it's good to have backups of everything. Now, with that warning out of the way: the good thing about UEFI and GPT is that no disk data (like boot loaders and stuff) is hidden away outside of partitions in magical, fixed disk sectors. The firmware is able to understand FAT, everything is explicitly in files. You can move around partitions as long as the partition table is in sync with the actual locations of the disk partitions.
Aug 23, 2018 at 19:02 history asked Cbhihe CC BY-SA 4.0