Professional Documents
Culture Documents
Introduction To Virtual Box
Introduction To Virtual Box
COLLEGESOFAPPLIEDSCIENCES
ITDEPARTMENT
IntroductiontoVirtualBox
PreparedBy:IshtiaqueMahmood
1. Inthislab,wewilltalkaboutvirtualizationthathowwecanrunmultipleOS(Operating
Systems)onsamephysicalmachine(DesktoporLaptop).
2. Therearemanysoftwares,whichareusedforvirtualization/cloudcomputinge.g.
a. QEMU
b. VMWare
c. VirtualBox
d. MSVirtualPC
3. WewilluseVirtualBoxforthislabsinceitisopensourceandfreelyavailabledevelopedby
Oracle.VirtualBoxcanrunonmanyoperatingsystemslikeWindows,Linux,Macintosh,and
Solarishostsandsupportsalargenumberofguestoperatingsystems,forexamplewindows(NT
4.0,2000,XP,Server2003,Vista,Windows7),DOS/Windows3.x,Linux(2.4and2.6),Solarisand
OpenSolaris,OS/2,andOpenBSD
4. VirtualBoxcanbedownloadedfromthelinkbelow
https://www.virtualbox.org/wiki/Downloads
Installingandconfiguringvirtualmachine
1. WhenwerunVirtualBoxforthefirsttime,weseethewindowasshownbelow.
2. Wewillconfigurenewvirtualmachineperformingthesequenceofstepsasmentionedbelow
a. VMName&OSType
b. SpecifyMemory
c. VirtualHardDiskCreation
d. CustomizeGuestVM(ThisactioncanalsobeperformedafterVMcreation)
e. BootandInstallOS
f. BootGuestVM
3. ClickNewfornewvirtualmachine
4. Thenwewillprovidename,versionandtypeofmachine,whichistobecreated.
5. NowwewilldefineamountofRAMtobeallocatedtonewvirtualmachine.(Itcanalsobe
adjustedaftercreationofvirtualmachine).
6. Innextstep,wewillcreatevirtualharddriveforthenewvirtualmachine
7. Nowwewilldecideharddrivefiletype(leavethedefaultsetting).
8. Itisthetimetodecidewhetherwewantfixedordynamicallyallocatedspace,itwillbefixed
9. AdjusttheSizeofharddrivefornewvirtualmachinei.e.8GB.
10. Wewillcreatenewvirtualharddrivenow.
11. Wecanseeintheleftpanethatnewvirtualmachinehasbeencreated.
12. NowclickStarttostartnewvirtualmachine
13. Innextstep,locationofOSimageistobeprovided
14. WewilluseOSimageforinstallation.
15. ProvidethepathofOSimagewhichistobeinstalled.
16. RequiredimagewillbeselectedandafterclickingStart,installationofnewOSwillbestarted.
17. AfterinstallationofnewOS,Wewillhavetwo(orasmanyaswelike)OSrunningparallelon
samephysicalmachine.WecanadjustsettingforeachOS(VM)duringVMcreationoreven
aftercreationofVM.
18. WhileHostmachineisrunning,itisinourcontroltostartorstopanyvirtualmachineanytime.
References:
1. https://www.virtualbox.org/
2. https://www.virtualbox.org/wiki/Downloads