5. 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:

5.1. Manual partitioning

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklab
el
Building a new DOS disklabel with disk identifier 0xef380ca4.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.


The number of cylinders for this disk is set to 1305.
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)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help):

5.1.1. Create the /boot partition

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

Command (m for help): p

Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xef380ca4

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          16      128488+  83  Linux

Command (m for help):

5.1.2. Create the rootvg partition

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

Command (m for help): p

Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xef380ca4

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          16      128488+  83  Linux
/dev/sda2              17        1305    10353892+  83  Linux

Command (m for help):

5.1.3. 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.
Syncing disks.

5.1.4. Select the partition where to create the rootvg

Disk /dev/sda: 10.7 GB, 10737418240 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          16      128488+  83  Linux
/dev/sda2              17        1305    10353892+  83  Linux

Enter the root partition for the installation (/ partition):
All data on /dev/sda2 will be lost. Continue ? [Ynq]
mke2fs 1.40.8 (13-Mar-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
582912 inodes, 2328576 blocks
116428 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2386558976
72 block groups
32768 blocks per group, 32768 fragments per group
8096 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Creating swap logical volume...
  Logical volume "swap" created
Formating swap partition...
Setting up swapspace version 1, size = 134213632 bytes
UUID=d6075ea7-d20c-4fb0-8918-21c77651f997
Creating root tree...OK

5.1.5. Select the /boot partition

Disk /dev/sda: 21.4 GB, 21474836480 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1          17      136521  83 Linux
/dev/sda2              18        2610    20828272+ 83 Linux


Enter the boot installation device (/boot partition):
Format partition ? [Ynq]
mke2fs 1.40.2 (12-Jul-2007)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
34136 inodes, 136520 blocks
6826 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
17 block groups
8192 blocks per group, 8192 fragments per group
2008 inodes per group
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729

Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Mounting /boot partition...OK