Lab Manual 3 Final
Lab Manual 3 Final
Date: ______________________________
Marks: _______________________________
2
Lab Manual 3
For adding the additional hardware first turn off the VM if it is running and click on the “Edit virtual
machine settings”.
After clicking that a popup menu will appear having hardware addition or removal options.
Fig 4.1
For adding Hard Disk select Hard Disk from left panel and click “Add” button.
After clicking add button a wizard of add hardware will appear.
Click next and here we will have 4 different types of Virtual Disk (IDE, SCSI, SATA, NVMe).
Since I am using windows XP it doesn’t have NVMe option and I will select the recommended setting
(IDE).
3
Fig 4.2
Click next and here you will see different options regarding the creation of Disk that whether you
want to “Create a New Disk”, “Use an existing Virtual Disk” or “Use a physical disk”.
Fig 4.3
4
Since I am creating a new Disk so I will click on “Create a new Virtual Disk” option and click next.
Here we will select the Disk capacity and storing of virtual disk and also, we can see that
recommended Disk size is 40GB so I am allocating 40GB and storing Virtual Disk as a single file.
Fig 4.4
Next, we will specify by the disk file path, finish the wizard and we can see in the left pane that a new
hard disk will be created with the name of “New Hard Disk”.
Fig 4.5
Now start the windows VM and we can see that the hard disk created will not be shown because it will
be unallocated until we will not allocate it manually.
Follow the arrangement for Disk allocation. Control panel < Performance < Performance and
Maintenance < Administrative Tools < Computer Management < Storage < Disk Management.
5
After clicking Disk management, “Initialize and Convert Disk Wizard” will appear. Click next.
Here we will initialize the unallocated disk.
In the following pic you can see that a Disk is created which has to be allocated.
Fig 4.6
Double click on the Disk1 and a new volume wizard will appear.
Click next and here you can select the size of the new volume being created.
Fig 4.7
On clicking next you can assign the drive name like G, H, I etc.
Click next and here will be the options regarding formatting and compression of the new volume being
created.
Click next and finish the wizard. After the wizard is finished the newly created volume will be created
and in “My Computer” you can see the second drive in “Hard Disk Drive” Panel.
6
For adding the additional hardware first turn off the VM if it is running and click on the “Edit virtual
machine settings”.
After clicking that a popup menu will appear having hardware addition or removal options.
Fig 4.8
For adding Hard Disk select Hard Disk from left panel and click “Add” button.
After clicking add button a wizard of add hardware will appear.
Click next and here we will have 4 different types of Virtual Disk (IDE, SCSI, SATA, NVMe).
7
Fig 4.9
Click next and here you will see different options regarding the creation of Disk that whether you
want to “Create a New Disk”, “Use an existing Virtual Disk” or “Use a physical disk”.
Fig 4.10
8
Since I am creating a new Disk so I will click on “Create a new Virtual Disk” option and click next.
Here we will select the Disk capacity and storing of virtual disk and also, we can see that
recommended Disk size is 20GB so I am allocating 20GB and storing Virtual Disk as a single file.\
Fig 4.11
Next, we will specify by the disk file path, finish the wizard and we can see in the left pane that a
new hard disk will be created with the name of “New Hard Disk”.
Fig 4.12
Now start the Ubuntu VM and we can see that the hard disk created will not be shown because it will be
unallocated until we will not allocate it manually.
After starting the VM we can see in the fig 4.13 that the drive available only is the “Computer Drive”
while the newly created Virtual Disk is not available.
9
Fig 4.13
Enter in the computer disk by double clicking and then right click to open the properties. After clicking
properties, you can see the details about the “Computer Disk” and under it there will be a button naming
“Open in Disks”, press the button as shown in the fig 4.14.
Fig 4.14
Press the “Open in Disks” button and on the next pop-up menu you can see that there will be two drives
among them there will be an unknown disk (This is our unallocated disk).
Fig 4.15
10
Press on the “screws” (which is the icon of setting) just above the detail of the disk and click on the
“Format Partition” button. On click a format volume menu will be shown where we will name the
volume and there are more different settings related to the volume are.
Fig 4.16
After entering the volume name click next and on the next screen the more confirmation will be
demanded as the unallocated disk will be formatted. Click on the format button and it will ask for the
admin password for further advancement.
Fig 4.17
Here you can see that the volume has been created. This is how a virtual disk is created in Ubuntu.