[CLUE-Tech] Moving data between partitions?

Collins erichey2 at attbi.com
Sat Aug 24 08:46:03 MDT 2002


On Sat, 24 Aug 2002 07:43:20 -0600 (MDT) Randy Arabie
<rrarabie at arabie.org> wrote:
> On Sat, 24 Aug 2002, Jeffery C. Cann wrote:
> 
> > Is there a simple way to move space from my /var partition to my /
> > partition?
> 
> You could format and re-partition ;-) Ha!
> 

I depends on what you mean by simple.  Presuming you have sufficient
space in your / partition (If not, see above!) I would:

1) Shut down to single user mode (INIT 1)
2) unmount your /var partition and mount it on another mount point
(/mnt ?).
3) cp -a /mnt/* /var
4) Fix your /etc/fstab (remove entry for /var)
5) INIT3 or INIT 5 and continue

Good luck,
-- 
Collins Richey - Denver Area - WWTLRD? - Code Python
gentoo(since 01/01/01) kernel 2.4.18+(ext3) xfce-sylpheed-skipstone



More information about the clue-tech mailing list