Add Extra Hard Disk to VirtualBox VM and set Automount

Posted on 46 views

This guide will demonstrate a simple way to add an extra virtual hard disk to Virtual Machine running on VirtualBox and create a mount point for it. We’ll also make the disk added auto-mount as the VM is booting up.

Follow the steps below to add an extrat hard disk to a VirtualBox VM.

Open VirtualBox GUI > VM > settings > Storage > Controller > SATA Controller

add-hard-disk-1

Click on Adds Hard disk icon Create a new disk

add-hard-disk-2

Choose VDI ( You can choose any disk format you want to use)

create-hard-disk-3

Select Dynamically allocate ( You can use fixed as well)

create-hard-disk-4

Specify the name of the disk and size

create-hard-disk-5

Your disk should be added successfully under SATA controller, see below

create-hard-disk-7

Now that hard disk has been added successfully, let’s start VM and create a partition. Type lsblk command to confirm:

format1

You can proceed to format and use it for your server operations.

 

coffee

Gravatar Image
A systems engineer with excellent skills in systems administration, cloud computing, systems deployment, virtualization, containers, and a certified ethical hacker.