I can't resize or move /dev/sda5 which has kali installed on it. An error pops up every time. I am using GParted in Ubuntu and trying to resize this partition. Basically I want to resize /dev/sda4, on which Ubuntu is installed.
- 31,491
- 11
1 Answers
You cannot resize the /dev/sda4 partition, because it contains the mounted running system. What you're trying to do there is like having a surgeon operate on himself at home... ;-)
You have to do the resizing action from a live media - boot from an Ubuntu installation media. Select Try Ubuntu without installing and once on the Live desktop environment open GParted.
Now you will find all partitions (except of swap eventually) unmounted and are able to resize partitions. In case the swap partition is mounted, right-click the partition and select 'swapoff'. This is the recommended and safe way to work on disks/partitions without damaging systems.
(Which would be the equivalent of going to the hospital and have the surgeon operate on you there)
