Partition Resizing after installation

I have posted this on another thread, but I have not got any replies so far, hence I am trying again.

I have installed my opensuse11 onto an 80GB hdd, shared in dual/boot with Vista.

The problem is that I would like to resize my linux partitions, in order to give a better dimensioning and to utilize some unallocated space, I revealed by by GParted.

The fact is that I am a bit afraid about the risk to loss data, since the unallocated spaces are not contiguous between the the single partitions.

My idea is to enlarge the root partition, by reducing the swap space and recovering some or all of the unallocated space present on disk (2 or 3 GB in total).

Moreover I am thinking to reduce the swap space from 2GB, to 1GB, since I never seen swap utilization until today, unless I use some benchmarking application in order to stress the system load.

This is the output of fdisk -u -l

linux-turion64:/home/marco # fdisk -u -l

Disco /dev/sda: 80.0 GB, 80026361856 byte

255 heads, 63 sectors/track, 9729 cylinders, totale 156301488 settori
Units = settori of 1 * 512 = 512 bytes
Disk identifier: 0x0e9d9448

Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 63 93867794 46933866 7 HPFS/NTFS
/dev/sda2 113322510 146079044 16378267+ f W95 Esteso (LBA)
/dev/sda3 146079045 150288074 2104515 82 Linux swap / Solaris
/dev/sda4 93867795 113033338 9582772 83 Linux
/dev/sda5 117531603 118158074 313236 83 Linux
/dev/sda6 118158138 146079044 13960453+ 83 Linux

What do you suggest I could do, in order to resize safely my hdd and what do you means for “backup your data” ? That’s refers to root filesystem as well, or just to home dir?

Thank you for your attention.

BR

I would leave it as it is; you don’t give the size of your partition but, if my maths is not wrong and I’ve guessed the right partition, you have 10G in your root partition which is normally plenty. Adding 1G is hardly going to make a difference.

If you are unhappy with the present set up, leave it until you install another version and use the Expert Partitioner to do it then.

I would leave it as it is; you don’t give the size of your partition but, if my maths is not wrong and I’ve guessed the right partition, you have 10G in your root partition which is normally plenty. Adding 1G is hardly going to make a difference.

If you are unhappy with the present set up, leave it until you install another version and use the Expert Partitioner to do it then.
Hi John, thanks; yes you guessed right about my root partition, which is almost 10G.
At the end, I completely agree with your suggestion, however it would be very interesting to re-allocate the unused space on disk for linux, if this operation was safe enough.
Regards,

I have resized a partition after install using suse’s partitioning tools in version 10. The problem is that you need to unmount the partition and you cannot do this when you are logged in. The way around is to boot into a live CD and then you don’t need to mount your root partition. Although everything worked out OK and nothing was lost I would still recommend to back up your files.
Uli