{"id":24469,"date":"2024-01-31T15:54:04","date_gmt":"2024-01-31T15:54:04","guid":{"rendered":"https:\/\/linuxways.net\/?p=24469"},"modified":"2024-02-02T05:51:30","modified_gmt":"2024-02-02T05:51:30","slug":"install-arch-linux-virtualbox","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/arch\/install-arch-linux-virtualbox\/","title":{"rendered":"How to Install Arch Linux on VirtualBox"},"content":{"rendered":"<p>Running different operating systems on a single system brings a lot of convenience for testing and developing different applications. There are a number of software that can be used to create virtual machines one of which is virtual box. This tool is capable of running multiple operating systems on a single computer, if necessary, resources are allocated to every operating system. The process of installing Arch Linux on VirtualBox is quite lengthy but it is easy to follow, and this guide will explain it in detail.<\/p>\n<h2><strong>Contents: <\/strong><\/h2>\n<ul>\n<li><strong>Install Arch Linux on VirtualBox<\/strong><\/li>\n<li><strong>Download Arch Linux ISO<\/strong><\/li>\n<li><strong>Create a Virtual Machine <\/strong><\/li>\n<li><strong>Install Arch Linux<\/strong><\/li>\n<li><strong>Configure Arch Linux<\/strong><\/li>\n<li><strong>Cloning Arch Linux on VirtualBox<\/strong><\/li>\n<li><strong>Removing Arch Linux From VirtualBox<\/strong><\/li>\n<\/ul>\n<h2><strong>How to Install Arch Linux on VirtualBox<\/strong><\/h2>\n<p>Arch is one of the Linux distributions that comes with rolling updates which means that to install the newer version you just have to update it using its terminal instead of installing the new version, unlike other Linux distros. Before installing Arch Linux, it is mandatory to look for the minimum requirements that should be met to run it smoothly:<\/p>\n<table>\n<thead>\n<tr>\n<th><strong>Specifications <\/strong><\/th>\n<th><strong>Minimum Requirements <\/strong><\/th>\n<\/tr>\n<tr>\n<th>RAM<\/th>\n<th>512MB minimum and 2GB recommended<\/th>\n<\/tr>\n<tr>\n<th>Storage<\/th>\n<th>2 GB minimum and 20 GB recommended<\/th>\n<\/tr>\n<tr>\n<th>Architecture<\/th>\n<th>An x86_64 supported system<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p>To simplify the process of installing Arch on VirtualBox I have divided the whole process into small steps for better understanding:<\/p>\n<p><strong>Step 1: Download the Setup File for Arch Linux <\/strong><\/p>\n<p>Just like every other operating system to install Arch Linux, you have download its setup file and for that <a href=\"https:\/\/archlinux.org\/download\/\">visit its official website download page<\/a>:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"972\" height=\"599\" class=\"wp-image-24490\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-1.png 972w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-1-300x185.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-1-768x473.png 768w\" sizes=\"auto, (max-width: 972px) 100vw, 972px\" \/><\/strong><\/p>\n<p>To download the operating system file, you need to have any torrent application installed on your system. To download Arch Linux either click on the magnet link to load it directly to the torrent application or download the torrent and load it manually.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 2: Create a Virtual Machine on VirtualBox<\/strong><\/p>\n<p>Once the Arch Linux ISO file is downloaded, launch the VirtualBox and start the process of creating a new virtual machine. For that simply click on the <strong>New<\/strong> option on the top menu bar and after that give the operating system its name and set its location where you want to install it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"748\" height=\"618\" class=\"wp-image-24492\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-2.png 748w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-2-300x248.png 300w\" sizes=\"auto, (max-width: 748px) 100vw, 748px\" \/><\/p>\n<p>To install VirtualBox on any operating system<a href=\"https:\/\/www.virtualbox.org\/wiki\/Downloads\"> visit its official website download page<\/a>, once you have set the name of the operating system its type and version are selected automatically, and then click on next:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"745\" height=\"493\" class=\"wp-image-24500\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-3.png 745w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-3-300x199.png 300w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><\/p>\n<p>Here you can also give the path for the ISO file of Arch Linux, but it is not necessary as when you start this virtual machine the VirtualBox will require an Arch Linux setup file. Next allocate the RAM and CPU resources for the Arch Linux, here I have allocated 9GB RAM and 5 CPUs for it, you can allot resources depending on your system specifications:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"745\" height=\"493\" class=\"wp-image-24510\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-4.png 745w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-4-300x199.png 300w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><\/p>\n<p>Now allot the storage space for the Arch Linux, here I have allocated around 30 GB which I think is sufficient as sometimes it gives the warnings for low disk space if the storage is around 20 GB.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"749\" height=\"493\" class=\"wp-image-24525\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-5.png 749w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-5-300x197.png 300w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/p>\n<p>Now click on <strong>Next<\/strong> and review all the details for the virtual machine and after that click on <strong>Finish<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"746\" height=\"495\" class=\"wp-image-24541\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-6.png 746w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-6-300x199.png 300w\" sizes=\"auto, (max-width: 746px) 100vw, 746px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 3: Install Arch Linux on VirtualBox<\/strong><\/p>\n<p>Once you have created the virtual machine, click on the green arrow icon to <strong>start <\/strong>the installation, now the VirtualBox will ask for the ISO file so add the path of the current directory and then click on <strong>Mount<\/strong> <strong>and Retry Boot<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"769\" height=\"677\" class=\"wp-image-24564\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-7.png 769w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-7-300x264.png 300w\" sizes=\"auto, (max-width: 769px) 100vw, 769px\" \/><\/p>\n<p>Now select the first option which is <em>Arch Linux Install medium (x86_64, BIOS)<\/em> to prompt the installation of Arch:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"749\" height=\"587\" class=\"wp-image-24582\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-8.png 749w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-8-300x235.png 300w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/p>\n<p>Now check the availability of the internet by sending packets to any website using the ping command, here for illustration I have ping Google:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"952\" height=\"698\" class=\"wp-image-24594\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-9.png 952w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-9-300x220.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-9-768x563.png 768w\" sizes=\"auto, (max-width: 952px) 100vw, 952px\" \/><\/p>\n<p>If the ping command is not successful, which is quite a rare case, then you need to check your internet connection and its settings. Next update the packages list for the default package manager of Arch Linux which is pacman, so the installation process goes on smoothly:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"909\" height=\"586\" class=\"wp-image-24607\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-10.png 909w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-10-300x193.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-10-768x495.png 768w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/p>\n<p>Now install the public keys that will be used to authenticate the packages from the Arch repository and for that execute:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">pacman <span class=\"re5\">-Sy<\/span> archlinux-keyring<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"914\" height=\"588\" class=\"wp-image-24624\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-11.png 914w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-11-300x193.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-11-768x494.png 768w\" sizes=\"auto, (max-width: 914px) 100vw, 914px\" \/><\/p>\n<p>To install Arch Linux, we have to set the configuration of Arch as we did while creating the virtual machine on VirtualBox so execute:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">archinstall<\/div><\/div>\n<p>Upon the execution of the above command, you will come across the Arch configuration menu where you can set your username, password, network configuration, disk configuration, display settings, and more:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"902\" height=\"588\" class=\"wp-image-24635\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-12.png 902w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-12-300x196.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-12-768x501.png 768w\" sizes=\"auto, (max-width: 902px) 100vw, 902px\" \/><\/p>\n<p>So now start one by one as by default the language is pre-set to English you can change the language if you want to choose any other language. Next, click on the <strong>Disk configuration,<\/strong> and from there select the <em>use a best effort default partition layout<\/em>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"903\" height=\"587\" class=\"wp-image-24644\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-13.png 903w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-13-300x195.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-13-768x499.png 768w\" sizes=\"auto, (max-width: 903px) 100vw, 903px\" \/><\/p>\n<p>Now from here select the first drive having the space we allocated while creating the virtual machine:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"899\" height=\"581\" class=\"wp-image-24651\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-14.png 899w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-14-300x194.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-14-768x496.png 768w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/p>\n<p>Next, select the type of file system that you want to set here you will see the four options and each has its own significance:<\/p>\n<ul>\n<li><strong>Btrfs<\/strong>: This file system is compatible with the new standards which come with cutting-edge capabilities and features such as snapshots, compression, encryption, deduplication, and RAID. Its design makes it flexible, and scalable and lets it handle huge quantities of data quote efficiently.<\/li>\n<li><strong>Ext4:<\/strong> It is the most widely used file system in Linux and the default choice for many distributions. It supports features such as journaling, extents, large file support, and delayed allocation.<\/li>\n<li><strong>xfs:<\/strong> It is a high-performance file system that was originally developed for large-scale enterprise systems. It excels at handling parallel I\/O operations and large files. It supports features such as journaling, allocation groups, online defragmentation, and metadata checksums.<\/li>\n<li><strong>F2fs:<\/strong> It is a relatively new file system that was designed specifically for flash-based storage devices, such as SSDs and SD cards. It aims to optimize the performance and lifespan of flash memory by reducing write amplification and wear leveling. It supports features such as multi-head logging, adaptive logging, and garbage collection.<\/li>\n<\/ul>\n<p>Here I have selected btrfs file system as it offers the most advanced and versatile features among the four options, and it can handle various scenarios and workloads. Btrfs also has the advantage of being able to create and manage subvolumes, which are like partitions within a partition. This can be useful for creating snapshots, backups, or testing different configurations. Btrfs is also compatible with VirtualBox, and it can be easily resized or converted from other file systems.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"905\" height=\"585\" class=\"wp-image-24660\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-15.png 905w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-15-300x194.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-15-768x496.png 768w\" sizes=\"auto, (max-width: 905px) 100vw, 905px\" \/><\/p>\n<p>Once you have selected the desired file system now prompt the selection of subvolumes with default structure because you can create snapshots of your system state and restore them easily, which is useful for testing, backup, or recovery purposes or you can use different compression or encryption options for different subvolumes, depending on your needs and preferences and resize or add new subvolumes without affecting the existing ones, which gives you more flexibility and scalability.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"586\" class=\"wp-image-24668\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-16.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-16.png 904w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-16-300x194.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-16-768x498.png 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/p>\n<p>Now allow the btrfs file system compression as it can help reduce disk space usage and improve the performance of the file system by reducing the amount of data that needs to be read or written:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"901\" height=\"591\" class=\"wp-image-24680\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-17.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-17.png 901w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-17-300x197.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-17-768x504.png 768w\" sizes=\"auto, (max-width: 901px) 100vw, 901px\" \/><\/p>\n<p>Next, set the password for the administrator account for Arch Linux, and from there go to the <strong>Root password<\/strong> option and set your password:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"905\" height=\"587\" class=\"wp-image-24685\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-18.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-18.png 905w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-18-300x195.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-18-768x498.png 768w\" sizes=\"auto, (max-width: 905px) 100vw, 905px\" \/><\/p>\n<p>Usually, it is recommended to set a strong password that is hard to crack but if you set a weak password the system will ask for the password a second time as well just for confirmation:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"902\" height=\"585\" class=\"wp-image-24691\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-19.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-19.png 902w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-19-300x195.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-19-768x498.png 768w\" sizes=\"auto, (max-width: 902px) 100vw, 902px\" \/><\/p>\n<p>Now you need to create a user account for Arch Linux and for that click on the <strong>User account<\/strong> option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"909\" height=\"591\" class=\"wp-image-24700\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-20.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-20.png 909w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-20-300x195.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-20-768x499.png 768w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/p>\n<p>Next, to create a new user click on the <strong>Add a user<\/strong> option, and set its name and password after that the system will ask to set this account as an administrator, and if you want to give this account administrator privileges choose yes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"899\" height=\"585\" class=\"wp-image-24706\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-21.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-21.png 899w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-21-300x195.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-21-768x500.png 768w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/p>\n<p>Next, you need to set the profile for the system which usually includes the type of system and its GUI so for that click on the <strong>Profile<\/strong> option and from there click on type:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"588\" class=\"wp-image-24712\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-22.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-22.png 904w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-22-300x195.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-22-768x500.png 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/p>\n<p>Now you will encounter three system types which include:<\/p>\n<ul>\n<li><strong>Desktop: <\/strong>This profile installs a graphical desktop environment with common applications such as a web browser, an office suite, a media player, and more. It also enables the display manager and the network manager services. This profile is suitable for users who want a ready-to-use desktop system with minimal manual configuration.<\/li>\n<li><strong>Minimal:<\/strong> This profile installs only the base system and the essential packages for a command-line interface. It does not install any graphical components or extra applications. This profile is suitable for users who want a minimal system that they can customize according to their preferences.<\/li>\n<li><strong>Server:<\/strong> This profile installs a base system with some additional packages and configurations for running a server. It includes a web server, a database server, a mail server, a firewall, and other server-related tools. It also enables the SSH service for remote access. This profile is suitable for users who want to set up a server for hosting websites, databases, email, and more.<\/li>\n<li><strong>Xorg:<\/strong> This profile installs the Xorg server and the basic packages for a graphical interface. It does not install any desktop environment or applications. It allows the user to choose and install their preferred desktop environment or window manager later. This profile is suitable for users who want more control over their graphical system and the applications they use.<\/li>\n<\/ul>\n<p>Here I have selected the type that is <strong>Desktop<\/strong>, you can choose any type based on your preference:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"899\" height=\"583\" class=\"wp-image-24718\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-23.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-23.png 899w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-23-300x195.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-23-768x498.png 768w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/p>\n<p>Linux operating system offers different types of desktop environments and the most popular among them is GNOME as it is actively developed and maintained by a large and diverse community of contributors. Apart from that it offers a rich set of applications and features, such as a web browser, file manager, text editor, image viewer, music player, and more. Here, I have selected GNOME, but you can select any of the desktop environments according to your preference:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"907\" height=\"587\" class=\"wp-image-24723\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-24.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-24.png 907w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-24-300x194.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-24-768x497.png 768w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/p>\n<p>Once you have selected it now move to the next option which is graphics driver and again here you will see a number of options:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"908\" height=\"586\" class=\"wp-image-24732\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-25.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-25.png 908w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-25-300x194.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-25-768x496.png 768w\" sizes=\"auto, (max-width: 908px) 100vw, 908px\" \/><\/p>\n<p>Since we are installing Arch Linux on VirtualBox, so all you need is to select <em>the VMware\/VirtualBox (open-source)<\/em> and after that return to the main menu:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"903\" height=\"584\" class=\"wp-image-24737\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-26.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-26.png 903w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-26-300x194.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-26-768x497.png 768w\" sizes=\"auto, (max-width: 903px) 100vw, 903px\" \/><\/p>\n<p>Now the last thing you need to do is to set the network properties and for that click on network configuration:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"910\" height=\"592\" class=\"wp-image-24742\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-27.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-27.png 910w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-27-300x195.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-27-768x500.png 768w\" sizes=\"auto, (max-width: 910px) 100vw, 910px\" \/><\/p>\n<p>Now to set the configuration use <em>NetworkManager<\/em> because we are using the GNOME environment:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"901\" height=\"587\" class=\"wp-image-24747\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-28.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-28.png 901w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-28-300x195.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-28-768x500.png 768w\" sizes=\"auto, (max-width: 901px) 100vw, 901px\" \/><\/p>\n<p>Now you are set and start the installation process and for that click on Install:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"906\" height=\"585\" class=\"wp-image-24751\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-29.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-29.png 906w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-29-300x194.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-29-768x496.png 768w\" sizes=\"auto, (max-width: 906px) 100vw, 906px\" \/><\/p>\n<p>Now a prompt will appear and by allowing it you can change the root directory of your current running process to the Arch Linux system that you just installed. This allows you to perform some post-installation configuration tasks, such as installing a bootloader, setting up the network, creating users, and more.<\/p>\n<p>You should allow this option if you want to complete the installation of Arch Linux and make it bootable and usable. Otherwise, you will have an incomplete and non-functional system:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"583\" class=\"wp-image-24754\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-30.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-30.png 904w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-30-300x193.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-30-768x495.png 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/p>\n<p>Once the installation is complete, then execute the <em>exit <\/em>command and then shutdown the system:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"901\" height=\"583\" class=\"wp-image-24755\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-31.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-31.png 901w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-31-300x194.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-31-768x497.png 768w\" sizes=\"auto, (max-width: 901px) 100vw, 901px\" \/><\/p>\n<p>Now click on the settings of Arch Linux in VirtualBox, navigate to the <strong>Storage<\/strong> option and then click on Arch Linux under <strong>Controller IDE,<\/strong> and then unmount the ISO file for Arch Linux:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1165\" height=\"648\" class=\"wp-image-24756\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-32.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-32.png 1165w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-32-300x167.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-32-1024x570.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-32-768x427.png 768w\" sizes=\"auto, (max-width: 1165px) 100vw, 1165px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 3: Configuring Arch Linux on VirtualBox <\/strong><\/p>\n<p>Next, navigate to the general settings and then set the options for the shared clipboard to bidirectional so that information copied on your primary operating system is available on Arch Linux as well:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"610\" class=\"wp-image-24759\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-33.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-33.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-33-300x238.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-33-150x120.png 150w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/p>\n<p>Now launch the Arch Linux on VirtualBox and select Arch Linux, don\u2019t worry if the screen disappears as it will auto select the option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"501\" class=\"wp-image-24761\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-34.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-34.png 671w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-34-300x224.png 300w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><\/p>\n<p>Once you have logged in to the system update the packages list for its default package manager and then install Arch Linux headers which contains the headers and scripts for building modules for the Linux kernel. This is necessary if you want to use some features of VirtualBox, such as bridged or host-only networking, or if you want to compile kernel modules for your installed kernel:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> pacman <span class=\"re5\">-S<\/span> linux-headers<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"668\" height=\"329\" class=\"wp-image-24764\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-35.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-35.png 668w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-35-300x148.png 300w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/p>\n<p>Now the option to insert Guest additions CD image while installing Arch Linux on VirtualBox is an alternative way to install the VirtualBox Guest Additions, which are drivers and applications that optimize the guest operating system for better performance and integration with the host system. This method is primarily used to activate the full screen mode and the shared clipboard option on the VirtualBox.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1039\" height=\"789\" class=\"wp-image-24772\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-36.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-36.png 1039w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-36-300x228.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-36-1024x778.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-36-768x583.png 768w\" sizes=\"auto, (max-width: 1039px) 100vw, 1039px\" \/><\/p>\n<p>Now go to your file manager and click on the virtual drive and copy its contents to any other folder, as here I have moved the contents to my Documents folder:<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"947\" height=\"765\" class=\"wp-image-24776\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-37.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-37.png 947w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-37-300x242.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-37-768x620.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-37-150x120.png 150w\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" \/><\/p>\n<p>Once the files are moved navigate to that respective directory and then allow the permission to execute the <em>VBoxLinuxAdditions.run<\/em> file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"314\" class=\"wp-image-24778\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-38.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-38.png 679w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-38-300x139.png 300w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/p>\n<p>Now run the file using the below command and wait for the installation to complete:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> .<span class=\"sy0\">\/<\/span>VBoxLinuxAdditions.run<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"669\" height=\"494\" class=\"wp-image-24780\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-39.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-39.png 669w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-39-300x222.png 300w\" sizes=\"auto, (max-width: 669px) 100vw, 669px\" \/><\/p>\n<p>Now reboot the Arch Linux to apply the changes, and once the settings are applied the shared clipboard option and the full screen feature will start to work properly. So, this is how you can install Arch Linux on VirtualBox.<\/p>\n<h2><strong>Cloning Arch Linux on VirtualBox<\/strong><\/h2>\n<p>VirtualBox provides a feature of cloning, which provides the chance of creating the same copy of the virtual machine of the respective operating system. This comes in handy when the primary virtual machine is not working properly either due to any recent installation or any bugs.<\/p>\n<p>In that case, you can discard the problematic one and use its copy, to create a clone on VirtualBox just click on the <strong>Clone<\/strong> option in the right click menu and follow the instructions:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"770\" height=\"682\" class=\"wp-image-24781\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-40.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-40.png 770w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-40-300x266.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-40-768x680.png 768w\" sizes=\"auto, (max-width: 770px) 100vw, 770px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Removing Arch Linux from VirtualBox <\/strong><\/h2>\n<p>If you want to delete Arch Linux completely from VirtualBox just select it click on the<strong> remove<\/strong> from the right, click menu and then select <strong>Delete all files<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"758\" height=\"502\" class=\"wp-image-24782\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-41.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-41.png 758w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24469-41-300x199.png 300w\" sizes=\"auto, (max-width: 758px) 100vw, 758px\" \/><\/p>\n<p><strong>Note:<\/strong> While launching Arch Linux on VirtualBox you might experience that Arch Linux gets stuck for a while, so, in that case, you need to close the VirtualBox and restart it. Remember during that, do not move cursor or touch anything while Arch Linux is launching.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Installing different operating systems virtually on the same machine can be archived by various tools one of which is VirtualBox. Linux distribution, like Arch Linux is lightweight and requires fewer resources to operate so it can be installed virtually. The significance of that is that no separate system is required and it is the best choice for testing different applications.<\/p>\n<p>To install Arch on VirtualBox just create a virtual machine in the name of Arch Linux and mount the Arch Linux ISO file on it. After that execute the <em>archinstall <\/em>command to prompt the installation process.<\/p>","protected":false},"excerpt":{"rendered":"<p>To install Arch on VirtualBox just create a virtual machine and mount the Arch Linux ISO file on it. After that execute the archinstall command.<\/p>","protected":false},"author":113,"featured_media":24785,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1055],"tags":[],"class_list":["post-24469","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arch"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/24469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=24469"}],"version-history":[{"count":1,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/24469\/revisions"}],"predecessor-version":[{"id":24795,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/24469\/revisions\/24795"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/24785"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=24469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=24469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=24469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}