Update 11.4 -> 12.2

I have updated 3 of my 4 opensuse systems successfully via the usual zypper route ,
now for the last system I want to increase the root partition size from currently 20 GB
to 80GB during the update. How to proceed ?

here a look at what df says:

lxuser@spacesystems:~> df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 20G 16G 3.5G 82% /
devtmpfs 2.0G 268K 2.0G 1% /dev
tmpfs 2.0G 300K 2.0G 1% /dev/shm
/dev/sdc2 20G 16G 3.5G 82% /
/dev/sdc3 254G 13G 229G 6% /home
/dev/sdb1 276G 7.6G 267G 3% /data4
/dev/sda1 276G 171G 91G 66% /data3
/dev/sdd1 917G 154G 718G 18% /data5
/dev/sde1 917G 63G 854G 7% /data6

so I gather the partition sits on sdc and there is enough space.
Short of install from scratch are there any save options to do this ?

Thanks
Db

On 2012-11-08 08:36, Darkblue2 wrote:

> so I gather the partition sits on sdc and there is enough space.
> Short of install from scratch are there any save options to do this ?

Do full backup, delete root and home, repartition as desired, recover
backup, upgrade. That’s probably the safest route.

Online upgrade
method

Offline upgrade
method


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

Please first take this in consideration:

You still have 3.5 GB left on “/”. Even with multiple desktop environments, “bigger” games, 80 GB is overkill. Do you have specific plans for this 80 GB. there may be better solutions, like shrinking /home and creating a new partition in the free space.

Then again, Carlos’ option gives you complete liberty in creating a new setup.

On 2012-11-08 13:16, Knurpht wrote:
>
> Please first take this in consideration:
>
> You still have 3.5 GB left on “/”. Even with multiple desktop
> environments, “bigger” games, 80 GB is overkill. Do you have specific
> plans for this 80 GB. there may be better solutions, like shrinking
> /home and creating a new partition in the free space.

Another solution is to symlink a directory on / to somewhere else. This
is what I usually do.

> Then again, Carlos’ option gives you complete liberty in creating a new
> setup.

I have heard of tools to do the resizing live, but as I have not used
them (in Linux) I don’t remember the name. I’m not sure if it is the
parted live cd.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

Thanks guys for the fast feedback.

I think I will go with the backup route as
this seems the safest way and yes I will rethink
the 80Gb plan.

Db

P.S. Using Suse since version 6.4

On Thu, 08 Nov 2012 12:44:11 +0000, Carlos E. R. wrote:

> I have heard of tools to do the resizing live, but as I have not used
> them (in Linux) I don’t remember the name. I’m not sure if it is the
> parted live cd.

gparted is what I’ve used and it has generally worked well. But I’d also
advise backing up before doing anything with partitions you can’t afford
to lose.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C