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 always and even on desktops make a minimum of these partitions:
That way it is easier to recover portions of your system, if /var logs get out of hand they don't fill up your hard drive and only fill up their partition.. and /tmp should always be on its own for security reasons and for the same reasons /var is on its own.. etc.
Plus: although the idea of splitting up /usr, /var, /boot and so forth is good, you need to know what you're doing, and you need to predict what you're gonna use each partition for. I couldn't predict that /var would be both apt-cache, www-files and DBs, and I find it too small. I also mispredicted usage of space on /usr (alloc 14g, use 3g).
My best suggestion for newbies is this:
/boot -- small; 100m should be enough
/swap -- small too
# if you don't plan on playing memory-hungry games, I'd say 256 is more than enough.
# If you want to be on the (too ultra-)safe side, go for 512.
# If it's more a workstation than a play(/entertainment-)station (i.e. abiword and gnumeric, no heavy media (video and games)), 128 could easily be fine.
# General advice: 256
/home -- most; I'd say 40g or more in your case
/ -- the rest; 20g or less (but not a lot less)--15 may be okay too, 10 a bit on the low side; 5 is prob. too little.
The reason I recommend this is that it's really annoying to have a full /var (so I have to shoot the apt-cache every now and then) and an almost-empty /usr (from where /var could safely be given 75% of the space). If one directory *does* `flood' your disk, you'll always have du(1) to find out what to clean up.
Last edited by jonaskoelker; 06-30-2005 at 07:37 AM.
My question is what size should i assign the following.
How large should boot, swap, etc, home, usr, sbin, sys, tmp, var be given its a 60gb hard drive. (for general setup)
No need to make separate partitions for etc, sbin or sys unless you want a gazillion small partitions..
With a 60GB drive I'd do the following if I was setting it up:
swap = 512MB
/boot = 20MB make bigger if you plan to have a ton of compiled kernels to choose from.
/ = 1024MB or 1GB
/usr = 4096MB or larger, if you plan to install a lot of software that isn't already installed. 10GB would probably last a while unless your the type who likes to install and keep a bunch of everything.
/tmp = 1024MB or 1GB
/var = 1024MB or 1GB
/home = Rest of your space for user files unless you like having a /data partition in which I like having on my systems. Then I make my /home partition smaller and make a /data partition fairly larger to organize my files.