This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Subject: Re: Linux Partitioning From: Rick Forrister <rickf@crow.jpl.nasa.gov> Date: Thu, 06 Jul 2000 06:22:48 -0700 LourensS@bks.co.za said: > I've recently partitioned my HDD into a 3Gb and 1Gb section to handle > Windows & Linux respectively. However disk space is short for Linux > and I would like to enlarge the Linux partition without deleting or > corrupting the data on it. So far I've been able to free a section of > the Windows partition which I would like to "add" to the Linux > partition. The software I'm using "System Commander" was quite useful > in setting this up. > Enlarging or reducing the FAT32 is no problem, but when it comes to > enlarging the Linux Ext2FS, no luck, even if there is a free > partition. All I can do is create another Linux partition from the > free space, but I can increase the main Linux partition with all my > files on it. > Anybody that might know how to do this? - should Disk Druid/fdisk > work? I'm a bit skeptical about any partitioning software since I've > thrashed my hard drive a while ago while repartitioning Suggest you take a look at Freshmeat for an rpm package of ext2resize. This supports non-destructive resizing of Linux partitions. It's still the case, though, that _ANY_ resizing program can run into problems, so backup all of your critical files, first. On a system which doesn't have too huge a number of personal files on it, I'll usually make a backup of critical config files, and of my personal files, rather than trying to backup everything. Compress these files with gzip or bzip2, then you'll be about ready to go. Also check the docs for how to make a rescue disk for your version of Linux, and set that aside. Then you're ready to go. Follow directions for ext2resize and stretch your linux partition. Then boot with your rescue diskette, rerun lilo, and you should be good to go. ===