PDA

View Full Version : How to resize partitions??


aditya.shevade
11-03-2007, 06:06 PM
Hi

I have just installed opensuse 10.2 on my new HDD. I have made the paritions as

200 MB /boot
10 GB /
25 GB /home
2GB swap

All four are primary partitions. I only have opensuse installed. (No dual boot).

Now after all the installation and update the root partition is almost full. I want to increase it's size to 15 GB and decrease home partition to 20 GB without loss of data.

I used the rescue mode of opensuse and decreased the size of home to 20GBs using the resize option in YAST, but I was not able to increase the size of root partition, so I again increased the size of home to 25, and it worked.

Is there any way to expand the partition? Without data loss or reinstall?

Aditya

linardni
12-03-2007, 10:01 AM
may try Partition Magic......

unni
12-03-2007, 10:55 AM
I only have opensuse installed. (No dual boot).
Man, you're great:cool:.

You can use GParted to resize an unmounted root partition. For this you have to use a live CD. Another option is Logical Volume Management. I don't know if you can use LVM on an already used partition though. Another option is to move to a different partition (http://beans.seartipy.com/2006/09/24/moving-a-gnulinux-installation-to-a-different-partition/). Please note that I _haven't tried_ any of these methods.;)

unni
13-03-2007, 09:18 PM
Has anybody here done partition resizing using Linux tools?

aditya.shevade
13-03-2007, 10:54 PM
Thanks for the answers, but I had to reinstall SUSE because of problems during online update, and now I have created the partitions as required. And it's working great. Thanks again.

Aditya

led_shankar
14-03-2007, 09:38 AM
@Unni: I used qparted from a Knoppix liveCD recently. Pretty easy.

unni
14-03-2007, 09:59 AM
Can you give more details about it, like how big the partition was, what was the size after resizing, how much data was there in it, was it an in-between partition (ie, for example hda6 is between hda5 & hda7), how long did it take, did you encounter any error before, was there any reason for using qparted instead of gparted, which Knoppix version did you use etc.