I need to add unallocated space to my root ext4 partition where my Ubuntu 14.04 is installed.
I've read dozens of tutorials and couldn't find the one working for me.
Most of the tutorials include using the extended
partition and moving space left to right or right to left. I don't really understand any of these terms and I'm not able to create an extended partition from my unallocated space.
If I click "Create new Partition" on my unallocated space, I'm only allowed to create it as a 'Primary Partition'.
It is also not possible to boot from live cd as I'm using Grub 2 that somehow does not allow me to boot from iso file and just gives me errors when I try to do so. I've already posted a question about this here and it seems there's no answer.
So, anyway, I need to extend my root partition when it is mounted (I've read that runtime extending can be done without losing the data).
Here's my GParted window screenshot:
My root partition is
dev/sda8
. It sometimes shows a mount point like on the picture (/,/var/lib/docker/aufs
) and sometimes like this: /
(don't really know why).
Could anyone please explain to me how I can add my unallocated space to the /dev/sda8
partition (in the most simple words possible, step-by-step for an absolute dummy in all this)?
PS: maybe it will be safer to extend my partition from Windows?
Update
➜ ~ sudo parted -l /dev/sda
Model: ATA WDC WD7500BPKX-8 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 106MB 105MB fat32 EFI system partition boot
2 106MB 1050MB 944MB ntfs Basic data partition hidden, diag
3 1050MB 1184MB 134MB Microsoft reserved partition msftres
4 1184MB 285GB 284GB ntfs Basic data partition msftdata
10 285GB 301GB 16,1GB linux-swap(v1)
5 301GB 301GB 369MB ntfs hidden, diag
6 301GB 571GB 270GB ntfs Basic data partition msftdata
8 676GB 729GB 52,4GB ext4
7 729GB 750GB 21,5GB ntfs Basic data partition hidden, diag
sudo parted -l /dev/sda
. Also, I don't think it's actually possible to resize while mounted, and even if it is, it is certainly not advisable. You should do this from a live system. You don't need grub at all for that, just change the boot order in your EFI settings or BIOS to boot from USB or CD, wherever you burn your ISO to. Alternatively, just do it from Windows where your/
won't be mounted. – terdon Dec 06 '16 at 10:42