Step Two • Partitions
5. Partitions scheme
- Partitioning method: Manual
- VMWare
6. Physical partitions
- Create a boot partition
- Create a physical volume for LVM
5a. Partitioning method: Manual
We need our web server to suit our webby needs. Using the arrow keys on the keyboard we navigate to Manual if you didn't do that already:
After hitting Enter you'll most likely see a screen with a line holding the words FREE SPACE:
The disk as shown above has only 8.6 GB of free space, because it’s on a virtual machine. On these pages we further assume that you have at least 40 GB of free space.
If you see a picture similar to the one above, with a line indicating FREE SPACE, click here to jump to step 6.
5b. VMware
You could, for example if you were using VMware, be looking at a screen without a free space indication:
If you see something like the above screen, hit Enter.
In the next screen, use your left arrow key to select <Yes> and hit Enter.
6a. Create a boot partition
Now, we are looking at a screen with a FREE SPACE line:
With the FREE SPACE line selected, hit Enter and you'll see:
We are going to create the first one of two primary partitions. With Create a new partition selected, hit Enter.
First we create a small boot partition. Minimal required space is 100 Mb. Minimal, so let's make it 200 Mb. Type 200M and hit Enter. (If your disk is very small, type 100M.)
You'll be offered the choice between a primary or a logical partition:
Choose Primary and hit Enter.
For your PC booting is always the first thing to do. With Beginning selected, hit Enter.
The default mount point is root (just a /). For the boot partition we need mount point /boot.
With Mount point selected, hit Enter.
Select /boot and hit Enter. Next, you'll get a confirmation:
We're ready with the boot partition. Move to Done setting up the partition:
... and hit Enter.
6b. Create a physical volume for LVM
As you see, we have a boot partition now. There is still a lot of free space:
Now we'll create another primary partition. With FREE SPACE selected, hit Enter. You'll see:
With Create a new partition selected, hit Enter.
We're going to use all the free space that was left. Compare the maximum size in the first text line on your screen (on this page it's only 8.5 GB but probably you have got a lot more) to the figure in the blue text field. They should be the same, that is: maximum. If yes, leave it as it is. If no, type max to give the new partition all available space. Hit Enter. You'll see:
Then, with Primary selected, hit Enter.
With Use as selected, hit Enter. You'll see a list of options:
With physical volume for LVM selected, hit Enter. This is what you'll see:
Use as: physical volume for LVM, that's what we want. Move to Done setting up the partition:
... and hit Enter.
As you see, we've got 2 primary partitions now:
Let's move on to the next page to configure the Logical Volume Manager.