Introdcion

With the growing development of virtualization and computing power, it becomes much easier to use any operating system you desired. But why would someone want to use another operating system? In my case, I have a host machine installed with Window 10, and I want to use some strong Linux tools to do some vulnerability analysis and forensics tools (more listed at Kali Linux Tools Listing). Here I am demonstrating how to install a Kali Linux in Virtual Box in Window 10 operating system. Virtual box may be downloaded at Download VirtualBox and the operating system Kali Linux may be obtained at Download Kali Linux.

Virtual box brief instructions

  1. Select the type of the operating system to Linux, and the version to Debian. (64 or 32 bit depending on your Kali Linux version)
    VirtualBox's Create Virtual Machine dialog, with the type set to Linux and the version to Debian (64-bit)
  2. Memory size is dependent on your usage. Default is 768 MB for Debian Linux. Memory may be reconfigured after the installation. It will need at least 512 MB. Some discussion is available at Why is the recommand memory on a virtual box guest os 512mb.
    VirtualBox's Memory size step, with the recommended 768 MB selected
  3. Default to this option is creation of a virtual hard disk. The creation would be done on the disk on your computer. A folder with the name of your virtual machine. (File -> Preference -> General -> Default Machine Folder)
    VirtualBox's Hard disk step, with Create a virtual hard disk now selected
  4. VDI may be referred to virtual desktop infrastructure. (3) It is a common implementation of remote desktop virtualization involves hosting multiple desktop operating system instances on a server hardware platform running a hyperviser. VMDK is used by many other virtualization products, in particular, by VMware.
    VirtualBox's Hard disk file type step, with VDI (VirtualBox Disk Image) selected
  5. A fixed-size image would create a folder which has roughly the same size as the virtual's disk capacity on your host machine. Note that the creation of a fixed-sized image would take a longer time. A dynamically allocated image would be small initially but the expension of the image file consumes additional computing resources.
    VirtualBox's Storage on physical hard disk step, with Dynamically allocated selected
  6. In this step, remember increase the size of the virtual hard disk above 16G since the operating system would require at least 10G for the installation requirements. (7)
    VirtualBox's File location and size step, with the virtual hard disk set to 32 GB
  7. After creating of the virtual machine, click on the virtual machine you have just created. And a start-up disk option would pop up. Choose the iso file you have just downloaded (containing the Kali Linux operating system).
    VirtualBox's Select start-up disk dialog for the new virtual machine, with a host drive chosen to start from
  8. Use install or graphic install to install the operating system to the virtual machine. The previous three would only run a Kali Linux operating system in temporary. The files save in these mode would be maintained to the next opening.
    The Kali Linux boot menu, with Install highlighted
  9. Choose the appropriate keyboard configruation.
    The Kali installer's keyboard list, with American English selected
  10. Set up the host name for your host machine to connect.
    The Kali installer's Configure the network screen, with kali entered as the hostname
  11. Partition your virtual disk. Remember to choose the Yes option in this window.
    The Kali installer's Partition disks screen, asking whether to write an ext4 and a swap partition to the disk
  12. After a success installation the system will reboot automatically.
    The installed Kali Linux desktop in VirtualBox, with a terminal showing a few ls, mkdir and rm commands

Conclusion

It's quite easy to install another operating system in your host machine. Only some requirements need to be awared of such as the minimum memory, and requred disk ... etc.

Reference

  1. Everything you need to know about the Intel virtualization technology
  2. Kali Linux Downloads
  3. Desktop virtualization
  4. Disk image files (VDI, VMDK, VHD, VHD, HDD)
  5. Why is the recommand memory on a virtual box guest os 512mb
  6. Kali Linux Tools Listing
  7. Kali Linux Installation Requirements