[Swlug] Safely resize linux partitions?

Mark Summerfield mark at qtrac.eu
Fri Dec 14 23:21:50 UTC 2018


Knowing it worked for you encouraged me to try.

I made a Debian Live USB. It wouldn't boot at first because Unetbootin
didn't set its boot flag, but once I'd done that with gparted it booted
fine. I then had to install gparted 'cos it isn't in the basic .iso but
I did all the moving/resizing and rebooted and everything worked:-)

On Fri, 14 Dec 2018 18:54:47 +0000
Julian Hall via Swlug <swlug at mailman.lug.org.uk> wrote:
> I've done it safely in gparted live, but as always step 0.. back 
> everything up first.
> 
> Julian
> 
> On 14/12/2018 18:38, Mark Summerfield via Swlug wrote:
> > 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.
    ComparePDF - easy to use fast PDF comparison tool
        http://www.qtrac.eu/comparepdf.html



More information about the Swlug mailing list