a temporary trick is to set the root slackspace back to 0. It's by default 5%
or so. If you have a 100GB disk, and never did that, woohaa, you can suddenly
have 5 GB extra space!!!!

So, try this:

        df /dev/hdaX
        tune2fs  -m 0  /dev/hdaX
        df /dev/hdaX

where X is your partition number you want to expand to the maximum size. Of your
if you have 4GB, then 5% is just a mere 200MB, still, better than the 50MB you
seem  to have available now.

peter

On Mon, 22 Aug 2005, Russ wrote:

> Thanks for the help guys,
> 
> What I actually wound up doing was using the installation disks to try and
> make hda4 my home directory after partitioning with cfdisk.  After that I
> had some system behavior that I didnt like so I reinstalled everything
> again.  I forgot that it took 2 hours to install. LOL. 
> 
> However, I only alloted 4G of space for everything except for my home
> directory.  Unfortunately, the system says I have used 98.6 percent of
> the system partition. Is it possible to safely resize an existing
> partition?  OR! Should I reinstall the OS again with more room.
> 
> Russ 
> 
> 
> On Sun, 21 Aug 2005, Alexander Mahabir wrote:
> 
> > On 8/19/05, Ben Stern <[EMAIL PROTECTED]> wrote:
> > > 
> > > On Fri, Aug 19, 2005 at 06:57:46PM -0400, J. Milgram wrote:
> > > > Suggest you use reiser or ext3 rather than ext2, but ext2 good enough.
> > > >
> > > > something approximately like this might work
> > > > mke2fs /dev/hda4
> > > 
> > > or
> > > mkfs.ext3 /dev/hda4
> > > 
> > > > mount /dev/hda4 /mnt
> > > > mv /home/* /mnt
> > > > umount /mnt
> > 
> > 
> > mkdir /home #but it probably was a given =) 
> > 
> > > add a line to /etc/fstab:
> > > > /dev/hda4 /home reiserfs defaults 1 2
> > > 
> > > Make sure the third word here matches your filesystem type - ext2, ext3, 
> > > or
> > > reiserfs.
> > > 
> > > > then:
> > > > mount /home
> > > >
> > > > should pick it up then when it boots.
> > > > Good luck, hope that doesn't mess up your system :)
> > > 
> > > Ben
> > > --
> > > Ben Stern UNIX & Networks Monkey [EMAIL PROTECTED]
> > > This post does not represent FTI, even if I claim it does. Neener neener.
> > > UM Linux Users' Group Electromagnetic Networks Microbrew Software
> > >
> > 
> 
> Sincerely,
> 
> Russ Main
> 

Reply via email to