4. Partitioning strategy

Select a partitioning strategy

[1] - Automatic partitioning on the entire disk
[2] - Manual partitioning with fdisk
[3] - No partitioning, my disk is already partitioned

[0] - Cancel

Choice:

4.1. Manual partitioning

                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  Make sure you don't start the first partition at sector 1 otherwise
  grub will fail to install on the disk.
  Also, set the boot flag on the partition and make it of type LVM (8e).

                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Device contains neither a valid DOS partition table, nor Sun, SGI, OSF or GPT di
sklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.


The number of cylinders for this disk is set to 2610.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help):

4.1.1. Create the rootvg partition

Command (m for help): p

Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-2610, default 1): 64
Last cylinder or +size or +sizeM or +sizeK (64-2610, default 2610): Using defaul
t value 2610

Command (m for help):

4.1.2. Set the LVM flag

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 8e
Changed system type of partition 1 to 8e (Linux LVM)

Command (m for help):

4.1.3. Set the boot flag

Command (m for help): a
Partition number (1-4): 1

Command (m for help):

4.1.4. Write the partition table on the disk

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table

4.1.5. Select the partition where to create the rootvg

for example, /dev/sda1

Disk(s) attached to the system:


Disk /dev/sda: 21.4 GB, 21474836480 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   *          64        2610    20458777+ 8e Linux LVM

Enter the partition where do you want to install the system:

4.2. Automatic partitioning

In this mode you are not asked for a partition layout.