Find the answer to your Linux question:
Results 1 to 2 of 2
Alright, Im out of space on my one partition (well almost I got like 120mb left). This is my main linux partition. Now I created a new 4GB EXT3 partition ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Location
    Canada
    Posts
    48

    How to give more space for applications?


    Alright, Im out of space on my one partition (well almost I got like 120mb left). This is my main linux partition. Now I created a new 4GB EXT3 partition just for stuff to be installed on, but now where do I mount it, so that applications will be installed on this partition and not the other one thats almost out of space?

  2. #2
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    You could mount that new partition (it doesn't matter where, when I did something like this, I mounted it at a directory I called /aux), move all of your files from /usr to that directory, umount the new mount, and remount it onto /usr. This is assuming, of course, that your applications are installed mainly in /usr; I don't know anything about how SuSE handles things. If not, try /opt or /usr/bin.

    Ex.
    Code:
    mkdir /aux
    mount -t ext3 /dev/hda2 /aux <-- If the new partition is at /dev/hda2
    mv /usr/* /aux
    umount /aux
    mount -t ext3 /dev/hda2 /usr
    If you do this, be sure to edit /etc/fstab appropriately!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •