[Swlug] Safely resize linux partitions?
Mark Summerfield
mark at qtrac.eu
Fri Dec 14 18:38:58 UTC 2018
Hi,
I hope someone can give me some clear and safe steps to follow please!
I have this partition table:
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 2.9M 1.6G 1% /run
/dev/nvme0n1p2 51G 45G 3.1G 94% /
tmpfs 7.8G 21M 7.8G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/nvme0n1p3 396G 214G 163G 57% /home
/dev/nvme0n1p1 234M 6.1M 228M 3% /boot/efi
It is one single SSD /dev/nvme0n1p1
The order (left to right shown in gparted) is:
[/dev/nvme0n1p1 /boot][/dev/nvme0n1p2 /][/dev/nvme0n1p3 /home][swap]
So, I need to move /home right by 24 GB (thus shrinking it by 24 GB and
avoiding the swap -- which I don't think I ever use since I have 8 GB
RAM).
Then, stretch / by 24 GB.
Can I do this safely all in gparted live?
Or am I best using a Live USB and running gparted from there?
Or do I need to use console tools?
Thanks!
--
Mark Summerfield, Qtrac Ltd.
comparepdfcmd - fast command line PDF comparison tool
http://www.qtrac.eu/comparepdfcmd.html
More information about the Swlug
mailing list