Initializing a Newly Added Hard Drive
After you add a new blank virtual hard drive to the virtual machine configuration, it remains invisible to the operating system unless you initialize it.
Initializing a New Virtual Hard Drive in Windows
To initialize a new hard drive in Windows 11, you will need to do the following:
Open the start menu by clicking on the Windows logo and choose Settings.
On the left, choose System and scroll to the Storage menu item.
Under Storage management, expand the Advanced storage settings sub-menu and select Disks & volumes.
Find the new virtual hard drive from the list and click Initialize.
In older versions of Windows, you can initialize a new drive by locating the Disk Management utility in the Control Panel, launching the Initialize and Convert Disk wizard, and creating a new volume on that disk afterwards.
Initializing a New Virtual Hard Drive in Linux
Initializing a new virtual hard disk in a Linux guest OS involves allocating the virtual hard disk space to a new volume and mounting this volume in the guest OS.
Note: This section describes the process for Ubuntu Linux. If you are using a different distributive, please refer to its documentation.
Once you have connected a new external disk or added a virtual drive to the Linux virtual machine, do the following:
Launch the Disks utility by clicking on the Show Applications icon in the bottom left corner and typing "disks" into the search bar;
In the Disks utility window, select the newly added disk from the left sidebar;
In the top right corner of the Disks utility window, select the menu marked with three vertically aligned dots and choose the Format Disk option;
Leave the default options on and click Format;
Confirm your choice by clicking the red Format button and typing in your password if prompted.
Now that you have initialized the disk, partition it by doing the following:
Under the volume map, click the (+) button;
In the revealed dialog, choose the size of the partition and click Next;
In the next dialog, type in the volume's name, choose one of the suggested file systems and click Create.
Once the operation completes, click on the triangular Play button to mount the new partition and be able to access it from your Linux machine.
Last updated