Assignment 2: Installing VirtualBox and Adding Virtual
Storage
Objective:
To install Oracle VM VirtualBox and configure it with an additional virtual hard disk for
enhanced storage capacity.
Step-by-Step Instructions:
1. Download and Install VirtualBox
● Go to the official VirtualBox website: [Link]
● Click on Downloads and choose the version suitable for your OS (Windows/Linux/Mac).
● Download and run the installer.
● Follow the setup wizard and complete the installation.
2. Create a New Virtual Machine
● Open VirtualBox.
● Click on “New”.
● Enter the VM name (e.g., UbuntuVM) and select:
○ Type: Linux
○ Version: Ubuntu (or whichever OS you're using)
● Set memory size (e.g., 2048 MB).
● Create a virtual hard disk (VDI) with a default size (e.g., 10 GB).
3. Install an Operating System (Optional but Recommended)
● Mount an ISO (e.g., Ubuntu) and start the VM to install the OS.
● Follow the on-screen instructions to complete OS installation.
Adding a Secondary Virtual Storage Disk
1. Shut Down the Virtual Machine (if it’s running)
2. Go to Settings > Storage
● Select the VM in VirtualBox Manager.
● Click on “Settings” > “Storage” tab.
3. Add a New Virtual Hard Disk
● Under the Controller: SATA, click the Add Hard Disk icon ( 🟦+ symbol).
● Choose Create New Disk.
● Select:
○ VDI (VirtualBox Disk Image)
○ Dynamically allocated
○ Size: e.g., 20 GB
● Click Create.
4. Start the Virtual Machine
● Boot into the OS (e.g., Ubuntu or Windows).
● The OS will now detect a second unformatted disk.