An example

Securing and Optimizing Linux: RedHat Edition -A Hands on Guide
Prev | Chapter 3. Installation of your Linux Server | Next

# 3.6. An example

To make the partitions listed below on your system; this is the partition we'll need for our server installation example; the command will be under Disk Druid:

Add
Mount Point: `/boot` our /boot directory.
Size (Megs): `5`
Partition Type: `Linux Native`
`Ok`

Add
Mount Point: `/usr` our /usr directory.
Size (Megs): `512`
Partition Type: `Linux Native`
Ok

Add
Mount Point: `/home` our /home directory.
Size (Megs): `1146`
Partition Type: `Linux Native`
Ok

Add
Mount Point: `/chroot` our /chroot directory.
Size (Megs): `256`
Partition Type: `Linux Native`
Ok

Add
Mount Point: `/cache` our /cache directory.
Size (Megs): `256`
Partition Type: `Linux Native`
Ok

Add
Mount Point: `/var` our /var directory.
Size (Megs): `256`
Partition Type: `Linux Native`
Ok

Add
Mount Point: our `/Swap` partition leave the Mount Point Blank.
Size (Megs): `128`
Partition Type: `Linux Swap`
Ok

Add
Mount Point: `/tmp` our /tmp directory.
Size (Megs): `256`
Partition Type: `Linux Native`
Ok

Add
Mount Point: `/` our / directory.
Size (Megs): `256`
Partition Type: `Linux Native`
Ok

After the partitions of your hard disk has been completed, you must see something like the following information on your screen. Our mount points will look like this:

Table 3-1. Sample representaion of partitions

Mount Point | Device | Requested | Actual | Type
--- | --- | --- | --- | ---
/boot | sda1 | 5M | 5M | Linux Native
/usr | sda5 | 512M | 1146M | Linux Native
/home | sda6 | 256M | 256M | Linux Native
/chroot | sda7 | 256M | 256M | Linux Native
/cache | sda8 | 256M | 256M | Linux Native
/var | sda9 | 256M | 256M | Linux Native
<Swap> | sda10 | 128M | 128M | Linux Swap
/tmp | sda11 | 256M | 256M | Linux Native
/ | sda12 | 256M | 256M | Linux Native

Drive | Geom [C/H/S] | Total (M) | Free (M) | Used (M) | Used (%)
--- | --- | --- | --- | --- | ---
sda | [3079/64/32] | 3079M | 1M | 3078M | 99%

> : We are using a SCSI hard disk hence the first two letters of the device are `sd`.

Prev | Home | Next
Disk Druid | Up | Post-Partitioning