I've just cloned my 120gb SSD to a 240gb SSD, and would like to extend my root partition.
It seems this isn't as easy as I was hoping and could use some assistance!
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xd09196e4 Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 2099199 2097152 1G 83 Linux /dev/sda2 2099200 18636799 16537600 7.9G 82 Linux swap / Solaris /dev/sda3 18636800 123494399 104857600 50G 83 Linux /dev/sda4 123494400 250068991 126574592 60.4G 5 Extended /dev/sda5 123496448 250068991 126572544 60.4G 83 Linux
Model: ATA KINGSTON SA400S3 (scsi) Disk /dev/sda: 240GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 1075MB 1074MB primary ext4 boot 2 1075MB 9542MB 8467MB primary linux-swap(v1) 3 9542MB 63.2GB 53.7GB primary xfs 4 63.2GB 128GB 64.8GB extended 5 63.2GB 128GB 64.8GB logical xfs
Filesystem Size Used Avail Use% Mounted on devtmpfs 7.9G 0 7.9G 0% /dev tmpfs 12G 16K 12G 1% /dev/shm tmpfs 7.9G 1.1M 7.9G 1% /run tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/sda3 50G 12G 39G 24% / /dev/sda1 976M 85M 825M 10% /boot /dev/sda5 61G 408M 60G 1% /home
I've tried xfs_growfs but nothing changes, gparted (live usb boot) doesn't allow me to change the size. I know I have 4 active partitions, but unsure how to get past this limitation (is it a limitation?)
I tried following https://askubuntu.com/questions/492054/how-to-extend-my-root-partition with no success as well.
I'm sure I'm doing something stupid, but I can't see it.
Any help would be much appreciated!