67 | | === Disk Configuration === |
68 | | |
69 | | Your have 50GB hard drive previously configured for your VM |
70 | | - Select '''Manual''' |
71 | | - Select the Disk '''SCSI3(0,0,0) (sda) - 12.0 GB ATA VBOX HARDDISK''' and Select '''Yes''' to create new partition table |
72 | | - Then select Free Space just below SCSI3(0,0,0) (sda) to create following partitions and mount them as follows. |
73 | | - Select '''Create new partition''' |
74 | | * Partition size: 512MB ---> Continue |
75 | | * Type : Primary |
76 | | * Location : Begining |
77 | | * Use as : Ext4 |
78 | | * Change Mount point : /boot |
79 | | * Bootable flag : on |
80 | | * Select "Done setting up the partition" |
81 | | * |
82 | | - Again select FREE SPACE to create a primary partition for Linux SWAP (two times the RAM) SWAP 2GB |
83 | | * Partition size:2GB |
84 | | * Type : Primary |
85 | | * Location : Begining |
86 | | * Use as : swap area |
87 | | * Select "Done setting up the partition" |
88 | | |
89 | | - Then '''select Logical Volume Manager''' and press '''Yes'''. |
90 | | - Select '''create a Volume Group''' and name as "linux". When asked select '''FREE SPACE device (most probably /dev/sda free #1)''' and select '''yes''' for the confirmation |
91 | | - Go to '''create logical volumes''', select '''linux''', type logical volume name as '''root''', size : '''2GB''' |
92 | | - Repeat the same Create Logical Volume procedure and make another two volumes as usr and var |
93 | | |
94 | | * a logical volume name : usr, size : 4GB |
95 | | * a logical volume name : var, size : rest of the space |
96 | | |
97 | | These Logical Volumes can be used as partitions containing file system root(/), /usr and /var. |
98 | | |
99 | | Now you will have 1 Volume Group and 3 Logical Volumes. |
100 | | - Once you finish creating logical volumes select '''finish'''. You will be once again presented with Disk Partition Window. |
101 | | |
102 | | - [=#point1 Then Select just below the LVM VG linux, LV root - 2.0 GB Linux device-mapper (linear) option and change Use as to '''Ext4''' , Mount point : '''/''' and Done.] |
103 | | - Then repeat same for the [#point1 previous step] in usr Volume with following options |
104 | | * Use as : Ext4 |
105 | | * Mount point : /usr |
106 | | * Done |
107 | | - Then repeat same for the [#point1 previous step] in var Volume with following options |
108 | | * Use as : Ext4 |
109 | | * Mount point : /var |
110 | | * Done |
111 | | |
112 | | - Then finish the partitioning and confirm it to write to the disk |
113 | | |
114 | | Now it might take sometime to install the OS base. |
115 | | |
116 | | - Then finish the partitioning and confirm it to write to the disk |
117 | | |
118 | | Now it might take sometime to install the OS base. |