Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
That all depends on how many other partitions you have setup. Everything is under your / directory if you didn't create any other partitions on their own separate partition.
What does your /etc/fstab file look like ?? That should give us an idea of what you could remove safely. You can go ahead and look in /tmp, anything there can go bye bye.. and might want to check your log files in /var/logs and see if they are taking massive amounts of space.
I do have big logfiles, but when I've deleted those before the logging processes didn't like it. (I deleted the large file, then wrote an empty file with the same name and owner in its place. Still, my log processes would touch the file. ) How can I remove these and still have logging work?
Usually when you clear your log files by deleting the file then recreating the file, you would need to restart the daemon, like the syslogd.
This is always one reason why I create my /var/log directory on its own partition along with /tmp as well.
Were there any files in /tmp ? You can always remove those with no problems. You could also look for any lost+found directories that might have been created after a fsck, usually during bootup. Those would be safe to clear out and remove. Maybe some /etc configuration files that your not using for services not running.. but those usually won't take up that much space..
But you really didn't start out with a very large / partition to begin with. 235 MB is kind of small. Did you make the partition or let Mandrake do it ?? I usually make my / directories around 800 MB or more usually.
When I installed Mandrake, at the partition screen I accepted the suggested size for / and increased the size of /root (taking some proposed space away from /home). I did that because I thought that /root was the root filesystem. I see I was in error.
I would happily take, oh, 3GB of the unused space away from /root and give it to /, if you can suggest a reasonably safe way for me to do it. (Also, let me know if you think that giving 3GB to / is overkill...)
Yeah the /root is root's home directory. Probably the one way to repartition would be to use FIPS without destroying or losing any data, but if you go that route, always backup anything you'll want to save if something goes haywire.
And 3GB shouldn't be any problem for /.
Here is how I usually setup my partitions for my workstations:
/boot = 32 MB
Swap = 125 MB
/ = 600 MB to 1 GB
/usr = Usually more than 2 GB depending on the hard drive size.
/tmp = 500 MB to 1 GB
/var = 500 MB to 1 GB
/home = rest of hard drive
And sometimes I'll have a /data partition with a few gigs as well but its not part of the standard Linux heirarchy.