

This is also the tab where you can alter the amount of memory allocated to the virtual machine, should the need arise. Make sure that the boot order indicates that the system will first try to boot from any optical device before trying a hard disk. In the System screen (Figure 2.15, “System Settings: Motherboard ” ), you will find a Moth- erboard tab. First, select the CD-ROM drive in the Stor- age Tree list and then click on the small CD-ROM icon on the right to display a contextual menu where you can Choose Virtual Optical Disk File.
#Linux virtual optical disk file iso#
In the Storage screen (Figure 2.14, “Storage Settings ” ), you should associate the Kali Linux ISO image with the virtual CD/DVD-ROM reader. Click on Settings on the VM Manager screen and let’s review some of the most useful settings. The virtual machine has been created but you can’t really run it yet, because there is no operating system installed. This can be handy when you don’t have enough space on your hard disk, allowing you to store the disk image on an external drive.įigure 2.13 The New Virtual Machine Appears in the List You can also tweak the name and the location of the disk image. The default hard disk size of 8 GB shown in Figure 2.12, “File Location and Size ” is not enough for a standard installation of Kali Linux, so increase the size to 20 GB. We don’t want to waste space and won’t need the extra bit of performance as the machine is already quite fast to begin with.

In this example, we accept the default selection (Dynamically allocated), since we are using a laptop with SSD disks. The explanation text in Figure 2.11, “Storage on Physical Hard Disk ” clearly describes the advantages and drawbacks of dynamic and fixed disk allocation. The ability to use multiple formats is interesting mainly when you want to move a virtual machine from one virtualization tool to another.įigure 2.11 Storage on Physical Hard Disk Keep the default value, because you don’t have any reason to change it. Virtu- alBox is able to store the contents of the hard disk using multiple formats (shown in Figure 2.10, “Hard Disk File Type” ): the default ( VDI) corresponds to VirtualBox’s native format VMDK is the format used by VMware QCOW is the format used by QEMU. The content of the hard disk of the virtual machine is stored on the host machine as a file. Although a hard disk is not required to run Kali Linux as a live system, add one for when we demonstrate the installation procedure later, in chapter 4, “Installing Kali Linux ”. In the third step (shown in Figure 2.9, “Hard disk” ), you are prompted to choose a physi- cal or virtual hard disk for your new virtual machine. We recommend increasing the value to 1500 MB (Figure 2.8, “Memory Size ” ) and highly recommend that you allocate no less than 2048 MB of RAM. While the recommended size of 768 MB is acceptable for a Debian virtual machine acting as a server, it is definitely not enough to run a Kali desktop system, especially not for a Kali Linux live system since the live system uses memory to store changes made to the file system. In the second step, you must decide how much memory to allocate to the virtual machine.

Although any other Linux version will most likely work, this will help distinguish between the various virtual machines that you might have installed.

Since Kali Linux is based on Debian GNU/Linux, select Linux for the type and Debian (32-bit) or Debian (64-bit) for the version. Use “Kali Linux.” You must also indicate what kind of operat- ing system will be used. In the first step, shown in Figure 2.7, “Name and Operating System ”, you must assign a name to your new virtual machine. Ĭlick on New (Figure 2.7, “Name and Operating System ” ) to start a wizard that will guide you through the multiple steps required to input all the parameters of the new virtual machine. After the initial installation, VirtualBox’s main screen looks something like Figure 2.6, “Virtual- Box’s Start Screen ”.
