Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The amount of partitions is really up to you. I would put the bulk of my disk space in the / partition. I usually allow my distro to do it's work and make the number of partitions it wants. Otherwise, I go ahead and make 2; a / and a swap. The rest is up to Linux and Mandrake. Your swap should be about double the size of RAM you have installed (if 64, then make swap 128 and so on...).
You should give a little more info like what distro you are installing, and maybe what file system you are planning on using. There is really no huge benefit to making 30+ partions if you are just planning on using your LinuxBox as a home PC for games and internet. As a server, I have no idea.
Actually, if you do a normal workstation-class install most distros will take care of all of this for you, usually by creating one root partition and a small partition for swap.
If you're just getting into Linux, you don't really need to get complicated with your partition scheme.
The basic scheme is:
1 swap partition - not larger than 256M, unless your running a server or other very intensive tasks. The rule of making swap twice the size of your RAM is outdated for the amount of memory in today's machines.
1 root partition (called simply " / ")- the rest of the space on the drive.
There are, of course, many other schemes, but there's really no single correct one.
Originally posted by dark_light Im installing redhat 7.0
is /boot partition necessary ,remember i have also windows installed and i want to have both operating systems
Well, you can have /boot directory on seperate partition to the rest of the directories listed under / (root/top-level directory). But that would make it a bit more complex. So in other words I'd use this scheme:
/ (root/top-level directory)- 3GB - 3.75GB
swap - around 200-300MB (depending how memory intensive the application(s) is/are)
If I were to have, say a Gig of RAM would I not have a swap file? Thanks.
It really depends on what you will be doing with your system, but you could probably get away with no swap partition. However, with 4 GB of space, you probably wouldn't 256MB of space for a swap partition -- and I would make it a swap partition, not a swap file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.