Before I show how to install Kali Linux as your OS, let’s first talk about where we can deploy the OS on.
Bare-metal
You have your hardware (PC, Server, etc.) then you install the OS directly on the hardware
We can have multiple Operating System on a single hardware platform. Dual-booting implies having multiple OS installed on the disk then choosing between them at boot time.
Virtualization: Type 1 Hypervisor
You install type 1 hypervisor (AKA native or bare-metal hypervisor) directly on the hardware.
Examples are KVM, Microsoft Hyper-V, and VMware vSphere Hypervisor (ESXi)
Virtualization: Type 2 Hypervisor
You install type 2 hypervisor (AKA hosted hypervisor) on an OS on a bare-metal server.
Examples include:
VMware Workstation Pro, VMware Workstation Player, and Oracle VirtualBox
This is the method we will be working in the class. The detailed installation described here.
Containerization
Containers share access to the host operating system kernel; so they don’t require running an entire operating system like a virtual machine.
The main driver of containerization was that Developers could select their root operating system. This ensures that their application runs correctly when moving from one computing environment to another.
Containers are stateless. It means once the container shuts down, the state is lost.
Windows Subsystem for Linux 2 (WSL 2)
It integrates latest Linux Kernel with Windows.
If your host operating system is Windows, you can install a Linux Distribution on the Windows OS.
It uses Hyper-V isolated containers.