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!
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.
I know how to install RHLinux 7.2.
But I do not know how to decide what partitions are required and why.
I also want to the size of partitions to be allocated. I have allotted 3.5 GB for linux. How do I decide the partition sizes and why????????
I had installed linux twice. But it seems to be giving problems. I do not know why?
In general, it is a matter of usage that dictates the correct partition sizes. For me, one root partition with as much space as is available and a 256Mb swap partition is fine. If you have no special need for extra partitions then just use twice your RAM for swap and the rest for /.
RH 7.2 is not a particularly good choice. You should probably be using either RH 7.3 or 9.0 (don't bother with 8.0) so you won't have to load so many patches.
You can download ISO images of Red Hat CDROMs from Red Hat's site, or from the ibiblio.org mirror.
If you insist on using 7.2, make sure you ftp all the patches from updates.redhat.com (this will take quite some time!) and apply them before attaching your system to a network. An unpatched 7.2 system that allows incoming connections from the Internet will be owned in less than a week, which is probably not what you want.
As for the partitions, to some extent it's a matter of taste, but mostly you need to figure out what you use the system for and partition accordingly. On most of my linux boxes, I make separate partitions for the /var and /home directories, and I make /tmp a link into /var/tmp. That way, print spool jobs (/var/spool/lpd) and email (/var/spool/mail) and log messages (/var/log) and temporary files (/tmp, /var/tmp) can't use up all the space on my critical system areas (/ and /usr).
Running out of space in the root partition is a pain in the tuchus. Running out of space in /var or /home is not so much pain.
It all depends how u want to install your box but this will normally do the trick. You will need a /boot, / , swap, /var. The boot dir is normally where your kernel sits and all related files (heart of linux), u can set this size between 40mb-70mb which should be enough. Swap is normally set 2-3 times your RAM size of your box. /var is normally where your log files sit depending what the box is going to be used for you will set that accordingly but a normal box anyhting from 350mb-400mb should be enough. You can divide it futher like creating a partiion for /home, /tmp, /usr etc ot else just put the remainder into /.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.