LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Partition problem (https://www.linuxquestions.org/questions/linux-newbie-8/partition-problem-139473/)

davidjs 01-27-2004 11:51 PM

Partition problem
 
I need some help with the partitions on my hard drives. I have a 16Gb that has windows on it (C:/), and a 4Gb one which i installed linux onto. The 1.6Gb partition for the / filesystem has now run out of space and i have an excess of space on the /home partition as i put all my files on the larger drive. I cant figure out how to use the parition program in the mandrake control panel and i cant even intall the help file for it cos theres no space to do so. How do i steel space off /home and give it to /, the two partitions are not adjacent. Also can i shrink the C: drive and give either / or /home some space from that drive? Please help cos its almost disableing the system as its down to about 124Kb free space.
p.s. I dont have partition magic , and i dont think i could install it cos i dont have the space to do so.

SciYro 01-28-2004 12:02 AM

ok simply take files that are not needed to boot up off of and put them in a directoy on /home, an example
in /bin there are programs, a lot of them are not needed to boot up. like gcc and its stuff, so ill mov all the gcc file in /bin to /home/bin, do this for all the unessesary files, like .. perl, text editors, the x server and all of the related files

same can be done with the /lib just move what you dotn need into /home/lib

jsut be sure to edit the /etc/profile i think its anme is, in this file there sould be declarations for the /bin and /lib and /sbin, just add /home/bin or the bin one (i sould make this more clearer but my laptop with linux is compiling a new kernel(gotta get this stupid pcmcia card to work with networking :) ) so il post back later when i finish to clear it up

ok for me its /etc/profile look for a starting as
export PATH="/bin:/sbin" --thats the one i use, each path is a place for bash to look at for programs to run, separaed by the ":" just modify yours to add
/home/bin:/home/whatever -- thats only an exemple change it to suit ur needs


All times are GMT -5. The time now is 07:23 AM.