{"id":58,"date":"2023-05-08T15:02:33","date_gmt":"2023-05-08T14:02:33","guid":{"rendered":"https:\/\/learncyber.tech\/?p=58"},"modified":"2023-05-26T16:45:05","modified_gmt":"2023-05-26T15:45:05","slug":"how-to-install-kali-linux","status":"publish","type":"post","link":"https:\/\/learncyber.tech\/?p=58","title":{"rendered":"How to Install Kali Linux"},"content":{"rendered":"\n<p>This article will guide you on how to install Kali Linux as a virtual machine on your VirtualBox. At the end of the article, you will also learn how to install VirtualBox Guest Additions to increase the functionality of your new virtual machine.<\/p>\n\n\n\n<p><strong>Note: <\/strong>If you don&#8217;t have VirtualBox installed, you can refer to this article on <a href=\"https:\/\/learncyber.tech\/?p=20\" data-type=\"URL\" data-id=\"https:\/\/learncyber.tech\/?p=20\">How to Install VirtualBox<\/a>.<\/p>\n\n\n\n<p>Before we get started, let&#8217;s define a few key terms first.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is Kali Linux?<\/h3>\n\n\n\n<p>Kali is an open-source, Debian-based Linux distribution geared towards various information security tasks, such as Penetration Testing, Security Research, Computer Forensics and Reverse Engineering. Maintained and funded by Offensive Security, it comes with a significant complement of hacking tools.<\/p>\n\n\n\n<p>For a beginner, installing Kali into a virtual machine is one of the best solutions for learning and practicing technical skills in Cybersecurity.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is a Virtual Machine?<\/h3>\n\n\n\n<p>A virtual machine (VM) is a virtual representation, or emulation, of a physical computer. They are often referred to as a <em>guest<\/em> while the physical machine they run on is referred to as the <em>host<\/em>. In other words, a virtual machine is like having another computer inside your computer. It is often used to run multiple operating systems on a single physical machine like a laptop\/desktop, or to test software on different operating systems without having to install them on separate physical machines.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting Started<\/h2>\n\n\n\n<p>You can download and install Kali from <a href=\"https:\/\/www.kali.org\/get-kali\/#kali-platforms\">https:\/\/www.kali.org\/<\/a>. In this page, you will see multiple download options from Installer images to Pre-Built Virtual Machines as well as ARM images for mobile devices. It&#8217;s important to choose the right download. For this installation, we will be downloading the recommended 64-bit version from the Installer images. You also have the option to download the 32-bit version if you have a 32-bit system. Click the <strong>drop-down arrow <\/strong>to start downloading.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1756\" height=\"1317\" data-id=\"102\"  src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Kali-Downloads-page-edited.png\" alt=\"\" class=\"wp-image-102\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Kali-Downloads-page-edited.png 1756w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Kali-Downloads-page-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Kali-Downloads-page-edited-1024x768.png 1024w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Kali-Downloads-page-edited-768x576.png 768w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Kali-Downloads-page-edited-1536x1152.png 1536w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Kali-Downloads-page-edited-820x615.png 820w\" sizes=\"(max-width: 1756px) 100vw, 1756px\" \/><\/figure>\n<\/figure>\n\n\n\n<p>Once the download is done, you can start setting up your Kali Linux. <\/p>\n\n\n\n<p>First, open your VirtualBox. In order to create a new virtual machine, you need to click <strong>New<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1075\" height=\"717\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/vbox-welcome-edited.png\" alt=\"\" class=\"wp-image-103\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/vbox-welcome-edited.png 1075w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/vbox-welcome-edited-300x200.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/vbox-welcome-edited-1024x683.png 1024w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/vbox-welcome-edited-768x512.png 768w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/vbox-welcome-edited-820x547.png 820w\" sizes=\"(max-width: 1075px) 100vw, 1075px\" \/><\/figure>\n\n\n\n<p>A dialog box will open. Here it will require you to name your new VM, choose the folder where you want the VM to be located, and select the ISO image for the VM.<\/p>\n\n\n\n<ol>\n<li>For the name you can write <strong>Kali Linux<\/strong>.<\/li>\n\n\n\n<li>For the Folder you can leave it as default.<\/li>\n\n\n\n<li>For the ISO image click the <strong>drop-down arrow<\/strong> and select <strong>other<\/strong>, look for the Kali Linux ISO image that you just downloaded.<\/li>\n<\/ol>\n\n\n\n<p>Then, click <strong>Next<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1112\" height=\"741\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Click-Next-edited.png\" alt=\"\" class=\"wp-image-104\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Click-Next-edited.png 1112w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Click-Next-edited-300x200.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Click-Next-edited-1024x682.png 1024w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Click-Next-edited-768x512.png 768w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Click-Next-edited-820x546.png 820w\" sizes=\"(max-width: 1112px) 100vw, 1112px\" \/><\/figure>\n\n\n\n<p>Here, you need to select how much RAM you want to allocate to the VM. The more RAM you give your virtual machine, the better and faster it will run, but you must also leave enough RAM for your host operating system and any other virtual machines that you might run simultaneously.&nbsp;A good starting point is to allocate&nbsp;<strong>2 GB<\/strong>. Click <strong>Next<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1124\" height=\"750\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Hardware-RAM-edited.png\" alt=\"\" class=\"wp-image-105\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Hardware-RAM-edited.png 1124w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Hardware-RAM-edited-300x200.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Hardware-RAM-edited-1024x683.png 1024w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Hardware-RAM-edited-768x512.png 768w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Hardware-RAM-edited-820x547.png 820w\" sizes=\"(max-width: 1124px) 100vw, 1124px\" \/><\/figure>\n\n\n\n<p>Click <strong>Create a Virtual Hard Disk<\/strong>. Aim for at least <strong>25 GB <\/strong>of disk space then click <strong>Next<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1124\" height=\"750\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Virtual-Hard-Disk-edited.png\" alt=\"\" class=\"wp-image-107\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Virtual-Hard-Disk-edited.png 1124w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Virtual-Hard-Disk-edited-300x200.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Virtual-Hard-Disk-edited-1024x683.png 1024w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Virtual-Hard-Disk-edited-768x512.png 768w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Virtual-Hard-Disk-edited-820x547.png 820w\" sizes=\"(max-width: 1124px) 100vw, 1124px\" \/><\/figure>\n\n\n\n<p>Now it&#8217;s going to show you a summary of your chosen configurations, click <strong>Finish <\/strong>to create the virtual machine.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1144\" height=\"763\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Summary-edited.png\" alt=\"\" class=\"wp-image-108\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Summary-edited.png 1144w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Summary-edited-300x200.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Summary-edited-1024x683.png 1024w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Summary-edited-768x512.png 768w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Summary-edited-820x547.png 820w\" sizes=\"(max-width: 1144px) 100vw, 1144px\" \/><\/figure>\n\n\n\n<p>At this point, you should see the new VM on your VirtualBox. Now click <strong>Start<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"634\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Start-Kali-1024x634.png\" alt=\"\" class=\"wp-image-72\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Start-Kali-1024x634.png 1024w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Start-Kali-300x186.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Start-Kali-768x475.png 768w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Start-Kali-820x507.png 820w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Start-Kali.png 1369w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Setting up Kali Linux<\/h2>\n\n\n\n<p>You should be greeted with the Kali Linux boot screen. Select&nbsp;<strong>Graphical install <\/strong>and press <strong>Enter<\/strong>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"636\" height=\"477\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Graphical-Install-edited.png\" alt=\"\" class=\"wp-image-109\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Graphical-Install-edited.png 636w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Graphical-Install-edited-300x225.png 300w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/figure>\n\n\n\n<p>Select your preferred language.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"793\" height=\"595\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Choose-language-edited.png\" alt=\"\" class=\"wp-image-110\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Choose-language-edited.png 793w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Choose-language-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Choose-language-edited-768x576.png 768w\" sizes=\"(max-width: 793px) 100vw, 793px\" \/><\/figure>\n\n\n\n<p>Specify your geographic location.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"790\" height=\"593\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Location-edited.png\" alt=\"\" class=\"wp-image-111\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Location-edited.png 790w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Location-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Location-edited-768x576.png 768w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p>Select your keyboard layout.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"790\" height=\"593\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Keyboard-language-edited.png\" alt=\"\" class=\"wp-image-112\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Keyboard-language-edited.png 790w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Keyboard-language-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Keyboard-language-edited-768x576.png 768w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p>The setup will now probe your network interfaces, look for a DHCP service, and then prompt you to enter a hostname for your system. In the image below, we\u2019ve entered&nbsp;<strong>kali<\/strong>&nbsp;as our hostname.<\/p>\n\n\n\n<p>After that, it&#8217;s going to ask you for a domain name, you can skip that and click <strong>Continue<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"787\" height=\"590\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Hostname-edited.png\" alt=\"\" class=\"wp-image-113\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Hostname-edited.png 787w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Hostname-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Hostname-edited-768x576.png 768w\" sizes=\"(max-width: 787px) 100vw, 787px\" \/><\/figure>\n\n\n\n<p>Next, create the user account for the system (full name, username and a strong password).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"790\" height=\"593\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Username-edited.png\" alt=\"\" class=\"wp-image-114\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Username-edited.png 790w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Username-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Username-edited-768x576.png 768w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p>Select a time zone.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"787\" height=\"590\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/time-zone-edited.png\" alt=\"\" class=\"wp-image-115\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/time-zone-edited.png 787w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/time-zone-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/time-zone-edited-768x576.png 768w\" sizes=\"(max-width: 787px) 100vw, 787px\" \/><\/figure>\n\n\n\n<p>Choose <strong>Guided &#8211; use entire disk <\/strong>and click <strong>Continue<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"792\" height=\"594\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Disk-Partitioning-edited.png\" alt=\"\" class=\"wp-image-117\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Disk-Partitioning-edited.png 792w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Disk-Partitioning-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Disk-Partitioning-edited-768x576.png 768w\" sizes=\"(max-width: 792px) 100vw, 792px\" \/><\/figure>\n\n\n\n<p>Select the disk to be partitioned and click <strong>Continue<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/partition-default-edited.png\" alt=\"\" class=\"wp-image-118\" width=\"792\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/partition-default-edited.png 792w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/partition-default-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/partition-default-edited-768x576.png 768w\" sizes=\"(max-width: 792px) 100vw, 792px\" \/><\/figure>\n\n\n\n<p>Now, you can choose to keep all your files in a single partition or to have them in separate partitions. <strong>Note: <\/strong>If you\u2019re not sure which one you want, select \u201c<strong>All files in one partition<\/strong>\u201d, then click <strong>Continue<\/strong>.<a href=\"https:\/\/www.kali.org\/docs\/installation\/hard-disk-install\/setup-partition-3.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"793\" height=\"595\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/All-files-edited.png\" alt=\"\" class=\"wp-image-119\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/All-files-edited.png 793w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/All-files-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/All-files-edited-768x576.png 768w\" sizes=\"(max-width: 793px) 100vw, 793px\" \/><\/figure>\n\n\n\n<p>You will be asked whether to write your changes to disk, select <strong>Finish partitioning and write changes to disk <\/strong>and click <strong>Continue<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"787\" height=\"590\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/finish-partition-edited.png\" alt=\"\" class=\"wp-image-120\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/finish-partition-edited.png 787w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/finish-partition-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/finish-partition-edited-768x576.png 768w\" sizes=\"(max-width: 787px) 100vw, 787px\" \/><\/figure>\n\n\n\n<p>It will ask you one more time if you want to write changes to disk; click&nbsp;<strong>Yes<\/strong> then <strong>Continue<\/strong>.<a href=\"https:\/\/www.kali.org\/docs\/installation\/hard-disk-install\/setup-partition-5.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"793\" height=\"595\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Yes-edited.png\" alt=\"\" class=\"wp-image-122\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Yes-edited.png 793w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Yes-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Yes-edited-768x576.png 768w\" sizes=\"(max-width: 793px) 100vw, 793px\" \/><\/figure>\n\n\n\n<p>Next you can select your preferred Desktop Environment and software collection (metapackages) you would like to be installed with Kali Linux. It is recommended to stick with the default selections.<\/p>\n\n\n\n<p><strong>Note:<\/strong> Opting to not install a desktop environment will result in Kali Linux becoming &#8220;headless&#8221; (no graphic interface) this is meant for people who are completely comfortable with the command line. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"793\" height=\"595\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Desktop-default-edited.png\" alt=\"\" class=\"wp-image-124\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Desktop-default-edited.png 793w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Desktop-default-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Desktop-default-edited-768x576.png 768w\" sizes=\"(max-width: 793px) 100vw, 793px\" \/><\/figure>\n\n\n\n<p>Kali will now begin installing, this may take several minutes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"790\" height=\"593\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/install-loading-edited.png\" alt=\"\" class=\"wp-image-125\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/install-loading-edited.png 790w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/install-loading-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/install-loading-edited-768x576.png 768w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p>Now, it will ask whether you want to install the GRUB boot loader. Select <strong>Yes <\/strong>then click <strong>Continue<\/strong>.<a href=\"https:\/\/www.kali.org\/docs\/installation\/hard-disk-install\/setup-grub-1.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"798\" height=\"599\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Install-Grub-edited.png\" alt=\"\" class=\"wp-image-126\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Install-Grub-edited.png 798w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Install-Grub-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/Install-Grub-edited-768x576.png 768w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<p>Select the hard drive to install the GRUB bootloader in, then click <strong>Continue<\/strong>.<a href=\"https:\/\/www.kali.org\/docs\/installation\/hard-disk-install\/setup-grub-2.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"792\" height=\"594\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/drive-edited.png\" alt=\"\" class=\"wp-image-127\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/drive-edited.png 792w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/drive-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/drive-edited-768x576.png 768w\" sizes=\"(max-width: 792px) 100vw, 792px\" \/><\/figure>\n\n\n\n<p>Finally, you&#8217;re almost done, click <strong>Continue<\/strong> to reboot into your new Kali Linux installation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"790\" height=\"593\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/installation-complete-edited.png\" alt=\"\" class=\"wp-image-128\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/installation-complete-edited.png 790w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/installation-complete-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/installation-complete-edited-768x576.png 768w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p>Congratulations, you have successfully installed Kali Linux! You can now log in using the user account information you entered earlier.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"792\" height=\"594\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/kali-login-screen-edited.png\" alt=\"\" class=\"wp-image-129\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/kali-login-screen-edited.png 792w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/kali-login-screen-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/kali-login-screen-edited-768x576.png 768w\" sizes=\"(max-width: 792px) 100vw, 792px\" \/><\/figure>\n\n\n\n<p><strong>Kali Linux Desktop:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"793\" height=\"595\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/kali-desktop-edited.png\" alt=\"\" class=\"wp-image-130\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/kali-desktop-edited.png 793w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/kali-desktop-edited-300x225.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/kali-desktop-edited-768x576.png 768w\" sizes=\"(max-width: 793px) 100vw, 793px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Installing VirtualBox Guest Additions (Guest Tools)<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What is VirtualBox Guest Additions?<\/h3>\n\n\n\n<p>VirtualBox Guest Additions are extra pieces of software that enable better performance and functionality in virtual machines.&nbsp;They consist of device drivers and system applications that optimize the operating system for better performance and usability. <\/p>\n\n\n\n<p>Installing &#8220;Guest Additions&#8221; gives a better user experience with VirtualBox VMs&nbsp;offering the following benefits: <\/p>\n\n\n\n<ol>\n<li>Mouse point integration<\/li>\n\n\n\n<li>Improved graphic support  <\/li>\n\n\n\n<li>Shared clipboard between host and guest OS<\/li>\n\n\n\n<li>Shared folder support between host and guest OS<\/li>\n\n\n\n<li>Seamless App Windows<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">How to Install Guest Additions<\/h3>\n\n\n\n<p>First make sure you are fully updated by entering the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>learncyber@kali<\/strong><strong>:<\/strong><strong>~<\/strong>$ sudo apt update<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>learncyber@kali<\/strong><strong>:<\/strong><strong>~<\/strong>$ sudo apt full-upgrade -y<\/code><\/pre>\n\n\n\n<p>The&nbsp;<code><em>full-upgrade<\/em><\/code>&nbsp;command performs the function of upgrade but will remove currently installed packages if this is needed to upgrade the system as a whole (fixing bad dependencies then). <\/p>\n\n\n\n<p>The&nbsp;<em><code>-y<\/code>&nbsp;<\/em>option is used to download any available updates and apply them to the outdated packages installed in a Linux system without prompting the user to confirm the changes.&nbsp;<\/p>\n\n\n\n<p><strong>Note: <\/strong>When using the command <em>sudo<\/em>, you will be prompted for a password, use the password you entered for the account you created when setting up Kali.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"996\" height=\"664\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/apt-upgrade-edited.png\" alt=\"\" class=\"wp-image-140\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/apt-upgrade-edited.png 996w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/apt-upgrade-edited-300x200.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/apt-upgrade-edited-768x512.png 768w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/apt-upgrade-edited-820x547.png 820w\" sizes=\"(max-width: 996px) 100vw, 996px\" \/><\/figure>\n\n\n\n<p>Now, enter the following: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>learncyber@kali<\/strong><strong>:<\/strong><strong>~<\/strong>$ sudo apt install -y --reinstall virtualbox-guest-x11<\/code><\/pre>\n\n\n\n<p>The command&nbsp;<code><em>sudo apt install -y --reinstall virtualbox-guest-x11<\/em><\/code>&nbsp;installs the VirtualBox Guest Additions package on a Linux system. The&nbsp;<code><em>-y<\/em><\/code>&nbsp;flag tells the package manager to assume yes to all prompts and the&nbsp;<code>--reinstall<\/code>&nbsp;flag tells it to reinstall the package even if it is already installed. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"994\" height=\"663\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/reinstall-vbox-guest-edited.png\" alt=\"\" class=\"wp-image-142\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/reinstall-vbox-guest-edited.png 994w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/reinstall-vbox-guest-edited-300x200.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/reinstall-vbox-guest-edited-768x512.png 768w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/reinstall-vbox-guest-edited-820x547.png 820w\" sizes=\"(max-width: 994px) 100vw, 994px\" \/><\/figure>\n\n\n\n<p>Now, you will reboot the system.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>learncyber@kali<\/strong><strong>:<\/strong><strong>~<\/strong>$ sudo reboot -f<\/code><\/pre>\n\n\n\n<p>The command&nbsp;<code><em>sudo reboot -f<\/em><\/code>&nbsp;in Linux is used to force an immediate halt, power-off, or reboot.&nbsp;This results in the immediate but clean shutdown by the system manager.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"996\" height=\"664\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/reboot-f-edited.png\" alt=\"\" class=\"wp-image-144\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/reboot-f-edited.png 996w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/reboot-f-edited-300x200.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/reboot-f-edited-768x512.png 768w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/reboot-f-edited-820x547.png 820w\" sizes=\"(max-width: 996px) 100vw, 996px\" \/><\/figure>\n\n\n\n<p>After reboot, you can log in again using the same credentials.<\/p>\n\n\n\n<p>If the window doesn&#8217;t automatically go into full-screen mode upon login, go to <strong>View<\/strong> on the top-left corner then click <strong>Full-screen Mode<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1005\" height=\"312\" src=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/View-1.png\" alt=\"\" class=\"wp-image-148\" srcset=\"https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/View-1.png 1005w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/View-1-300x93.png 300w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/View-1-768x238.png 768w, https:\/\/learncyber.tech\/wp-content\/uploads\/2023\/05\/View-1-820x255.png 820w\" sizes=\"(max-width: 1005px) 100vw, 1005px\" \/><\/figure>\n\n\n\n<p>Congratulations! You have successfully installed VirtualBox Guest Additions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will guide you on how to install Kali Linux as a virtual machine on your VirtualBox. At the end of the article, you will also learn how to install VirtualBox Guest Additions to increase the functionality of your new virtual machine. Note: If you don&#8217;t have VirtualBox installed, you can refer to this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,2],"tags":[6,4,5],"_links":{"self":[{"href":"https:\/\/learncyber.tech\/index.php?rest_route=\/wp\/v2\/posts\/58"}],"collection":[{"href":"https:\/\/learncyber.tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learncyber.tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learncyber.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learncyber.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=58"}],"version-history":[{"count":24,"href":"https:\/\/learncyber.tech\/index.php?rest_route=\/wp\/v2\/posts\/58\/revisions"}],"predecessor-version":[{"id":341,"href":"https:\/\/learncyber.tech\/index.php?rest_route=\/wp\/v2\/posts\/58\/revisions\/341"}],"wp:attachment":[{"href":"https:\/\/learncyber.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=58"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learncyber.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=58"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learncyber.tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}