Linux - NewbieThis 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!
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.
i was running win2k and rh till now on my laptop. thing is, it was the first time i had tried linux, and had opted for the auto partitioning done by diskdruid - so it had a /boot, a swap, and the rest under '/'.
i have a 40gb HD, of which i have given win2k 12gb. so, im left with about 28gb for linux.
i wanted to re-install it in a more optimised way than wht the auto partition did (everything just felt a bit slow too).
but im a bit confused bout how much space i will be allocating to the various mounts, and dont want to just go ahead without really understanding it - as once i make the partitions, if i do allocate space for some mount which just grows, ill have a few headaches.
ive been readin a few how-to's but most were written in the days when 10gb was state-of-the-art.
my system is a p4-2.4ghz, with 512 mb ram, and a 40gb HD. running win2k right now with 12gb space, and need an idea of wht the various mounts should be sized under linux. im thinking of separate partitions for :
while i only know wht to give /boot and swap, i am not sure bout the rest. i got confused at the difference between the other partitions as till now, i only saw them in action after the auto install. im especially confused bout '/', '/usr, and '/home', and how they should be sized.
i think most of my confusion comes from the fact that im not sure how the packages are installed, and what '/home' is really used for other than installing stuff from source.
also, i dont understand how /usr/local/XXX is to be treated differently from /home/userxxx.
i keeeeeeep getting confused between these ...
i would really appreciate any ideas and help on this (im not gonna go ahead with my install till i am reasonably sure of it).
/boot -- Basically for the kernel and bootloaders. I've given mine 50Mb. Does find Plenty of space left.
swap -- The size of your RAM is a good guide I used to double the size of RAM for swap now I use half, but thats still probably more than you need.
/tmp -- for temporary files only, maybe a few megs but can get very big at other times. I leave this as part of root.
/ -- Everthing you dont put anywhere else. I use about 5Gb for this and its still only got about 1.1Gb used. Root is the filesystem and other mount points that aren't assigned anywhere else still live inside root. The system reassembles everthing so It all apears under root anyway. So no matter how you partition your computer everthing will still work.
/usr -- This needs to be a good size, as its where most of your software will live. Its usually the largest of all the mount points. I have 15Gb set aside for this, and its got 5Gb used.
/home -- got a My Documents folder? This is the UNIX equivalant. everthing belonging to any user should be here. I have 5Gb set aside for home.
/var -- Log files, spool files, mail, caches, etc.. they all live here a decent size is needed at least a couple of Gb's. I have this as part of /.
Thats your list. As for /usr/local/ Its usually where software you have compiled and/or written yourself for this machine would go. Kind of like a minuture /usr but for local purposes only. Well you can put things in their without messing up your entire system if things go wrong. Well thats how I use it anyway.
The ideal way though is to look at how your current system is looking at these directories and how big they are now.
the 'du' command will tell you how big directories are now.
thank you soo very much - much better now (the 'my documents' analogy realllly opened my eyes - i had never thought of anything remotely similar to windows all this while).
cant thank u enuff - its like a few hours of reading cleared up by ur post. todays been a reasonably productive day now.
ty ty ty. heh!
the only thing i would suggest from what leonscape has said is to make your /boot a little bigger then 50mb...i know a slack box i have that /boot is 55mb after a fresh install, so whenever i setup a box i just set aside 100mb just for percautionary reasons.
The outside of a HD actually spins quicker than the inner side. But the way the drives are built has the same density of information (Unlike a record where the outside edge has a lower density, or it would sound faster).
The heads move around the drive quite a bit anyway, but are usually parked on the outside of the drives.
I think thats right, but Its been a while since I did my partioning and I was going through this stuff myself