Home
      CentOS / Blue Quartz
      Online Store
      Main Cobalt Page
      Recent Updates
      Commercial Software
      Tech Support
      How To / Install Notes
      Free Downloads
      Cobalt Related Links
      About Us
      Site News
 
[RaQ 3/4] Increase space to install applications
 

Do this at your own Risk!

Make a directory in "home" partition
    mkdir -p /home/usr/local

Change Directory to your "usr" directory
    cd /usr/local

This command will TAR it, and copy it to your new directory
    tar -c * | tar -C /home/usr/local -xf -

Take a long break.  Go eat some food, or get a drink!!!

For sanity sake, rename your old usr directory
    mv /usr/local /usr/local_old

Create a symbolic link to your new directory
    ln -s /home/usr/local /usr/local

You can choose to do this, or skip it.  Depending on what you want.  If you
do not delete it, it will not cause problems.  I recommend keeping it, incase
you run into problems.  Should you run into problems, you can fix your box
without restoring it!!
    rm -R -f /usr/local_old

*** How to Fix it, if you did NOT delete the /usr/local_old directory ***

Change to the root directory
   cd /

Remove the old user directory.  Just a symlink, remember!
   rm /usr/local

Rename the old us directory to the /usr/local directory
   mv /usr/local_old /usr/local

Change back to the home directory
   cd /home

Remove the new copy directory
   rm -R -f /home/usr/local




Copyright (c) 2006.
NuOnce Networks, Inc.