Click to See Complete Forum and Search --> : On the fly HDD repartioning...


Jinx
12-11-2000, 09:39 PM
Can it be done? I am running out of space on my hda5 partition... I have heaps of room on the other partitions, just that cause Linux is on my hda5 partition and RPMs install to the / partition it is filling up...

Is there any way I could get more space without erasing the info? Can I do this in Linux or do I have to dance with the devil and use partition magic. http://www.linuxnewbie.org/ubb/wink.gif

I am assuming it is good advice to make ya primary partition a larger one as most auto installs place themselves here... ahh well maybe next time I will learn.

Cya round
Jinx

------------------
"Cereal is good for you."

eperch
12-11-2000, 10:06 PM
I've got two floppies:
1) a DOS boot disk
2) another with pqmagict.exe, which is
Partition Magic's program that you run
in text mode, or from the command line,
if you like. This way, you don't need to
have Windows installed.

ph34r
12-11-2000, 10:15 PM
Depends - if your free area to move to is on a different drive, then certainly. Otherwise, you would probably be better off not doing it while the system is live.

Evil Jeff
12-11-2000, 11:16 PM
I tried using pqmagic 5 and it didn't work. It fscked my partition. I think there is another program you need to alter the size of the partitions filesystems before actually changing the size of the partitions.

Evil Jeff
www.hellincorporated.com (http://www.hellincorporated.com)

posterboy
12-12-2000, 06:02 AM
Faced with this more times than I like to remember, "My Final Answer" has been LVM. It requires the new 2.4 kernels, but allows on the fly resizing of virtual drives, with total flexibility. These "drives" can be mounted anywhere, and if they get too small, just add some space from anywhere to them. Space can also be swapped, taken from one drive and added to another. Don't even need a restart to see the changes.You do have to move the data, so as to mke2fs the new drive, but it's so much easier than anything else I have found. http://www.sistina.com/lvm/

Ray


------------------
ray@raymondjones.net
HTTP://www.raymondjones.net

Linuxman
12-12-2000, 09:22 AM
fips is also supposed to be able to change partitions on the fly, although I've never used it so I could not tell you from personal experience.

------------------
ADOPTION not abortion. Proud father of an adopted boy.

NFL Week 15
Ravens 24, SD 3
Enter the playoffs.
W 10
L 4
Next Week, at Arizona. One last chance to tie shutout record.

:strain:
12-12-2000, 11:46 AM
GNU parted can also resize partitions properly. You can find it on freshmeat.

Jinx
12-13-2000, 02:15 AM
Thanks for the advice... I am checking em out...

I had to repartition for two reasons... 1. My Windows partition wasn't big enough. 2. Win98 didn't like the partition table made by linux.

My advice to anyone wanting to install linux and windows at the same time... use fdisk, format ya first partition with a windows bootdisk, install windows, then install Linux... it apprechiates the partition tables made by Fdisk a lot more than windows likes partitions made by linux... well that is what I have found. http://www.linuxnewbie.org/ubb/smile.gif

Cya round
Jinx

------------------
"Cereal is good for you."