Subject: Re: [expert] Extending / partition



> > Okay I have seen a zillion ways to do this over
> > the last couple of years and read hundreds of lines
> > of mans, howto's, and email's, HOWEVER;
> >
> > I will ask this list for pointers again !
> >
> > My / 3 gig partition is full. I have created another
> > ext2 fs of 2 gigs on the same HD. How do I merge it into
> > The present / so that after reboot (I guess that would be
> > necessary?) The new / partition would contain 5 gigs?
> >

>From the command line:

copy all the files from /usr to the new partition after temporarily mounting
it as /mnt/temp.

edit fstab to mount the entire partition as /usr.

mv /usr /usrold

reboot

Now your /usr directory is 2 GB.

Verify that everything works and then rm /usrold to free up the space.

This is not a good technique to do with the /bin or /lib partitions; you
should do those, if necessary, from a rescue disk.

Hoyt




__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html

Reply via email to