LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2004, 12:51 AM   #1
davidjs
LQ Newbie
 
Registered: Dec 2003
Location: New Zealand
Distribution: Mandrake 9.1
Posts: 4

Rep: Reputation: 0
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.
 
Old 01-28-2004, 01:02 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
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

Last edited by SciYro; 01-28-2004 at 01:35 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition problem with Qtparted in Knoppix variety & mp3 support problem in FC3 eypros Linux - Software 1 06-01-2005 08:12 PM
boot problem/ partition problem? ian sil Linux - General 1 05-10-2005 07:08 PM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 01:42 PM
partition problem!! maseby Red Hat 3 06-10-2004 10:43 PM
What the... ??? (RH 7.3 Partition Problem) zeky Linux - General 7 07-24-2002 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration