• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

Automatic Partitioning

I am trying to install RedHat Linux 6.1, and for some reason, when I run the linux installation and choose either a GNOME or a KDE workstation I can not get the computer to partition the hard drive automatically.  The screen will come up for a server install , but I don't even get an option for a workstation.  how can I fix this problem, or what partitions do I need to make for linux to work correctly?
0
oxilite
Asked:
oxilite
1 Solution
 
gruseCommented:
Well, I never used a workstation install under RedHat, so I can't help you there. But I *can* tell you something about partitions.

The absolute minimum is two partitions, one for swap space and one as linux native, holding the root file system. However, that is not the optimal layout.

First you'll have to consider booting. As LILO can't boot kernels that lie on disk cylinders above 1024, you might need a small partition for /boot. Ten, maybe twenty MB are enough.

Next, keep your root file system small. That way it is easier to backup/restore, damage on the harddisk might not hit it, and small filesystems are faster. 100 up to 200 MB will suffice.

The bulk of Linux software goes under /usr, so that filesystem should be *big*, 1 up to 4 GB (depending on the software you want to install and on the disk space available) is not too much.

Those are the most important filesystems that should get their own partitions. Further possibilities for filesystems are /var, where a lot of read-writing goes on as it holds *var*iable data. If that is on the root filesystem, you might encounter difficulties in case of a crash (yes, they do happen, but not very often). Some software installs under /opt (that's for *opt*ional software), so that shouldn't lie in the root file system too.

Confused by now? B^) Don't worry:

Just want to test/try Linux? Go with 2 partition, for / and swap. If you like it, you'll probably want to try other distributions too, and you can change your partition layout then.

Any serious work planned with Linux? First look at your available disk space, than at the applications you are going to run. Rules of thumb:
    Swap = 1.5 * RAM
    root (/) = 150 MB
    /boot = 20 MB, but only if needed.

    /usr = 1GB up to no limit
    /var = 200MB to several GB, depending on your software
           For example, Squid (http-proxy) saves its cache
           somewhere under /var. Then you'll need a huge
           /var, also if sendmail saves user's mailboxes
           there.
    /tmp = 100MB should suffice, if your users don't work
           with huge graphics files.
    /home = filesystem for your users, as much space as is
            left/appropriate B^)

If you have further questions, feel free.
0
 
vl9Commented:

I typically create something like this:

partition  size
/          500 Mb
/home      2 Gb
/usr       2 Gb
/usr/local 1 Gb
/var       250 Mb
/tmp       250 Mb

+ 128 Mb for swap, but swap is different from all the other
partitions (it will used by linux internally).

However, the minimum you need to have for your linux to
work correctly is only two partitions: / and swap. That's
what I recommend if you are trying linux for the first
time.
0
 
samriCommented:
Oxilite,
  And watch out, I did select the Workstation option, and do automatic partioning, and *voila*, I lost all 13GB in my 3 HD.  Managed to recover tough.

  Just want to share the bad experience.

Samri.
0
 
bernardhCommented:
you only need at least 600MB of disk space for a workstation class install.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now