
Arch Linux is a Linux operating system that is highly compatible with the i689 and x68-64 core software blocks. The software includes Pacman, who is responsible for the automatic uninstallation, installation and uninstallation of the software. Other features include cosmopolitan documentation and binary packages for efficient operation of hardware systems.
Installation procedure
Installing Arch in a Linux virtual machine requires the following steps:
- Step 1 Download the archive
- Step 2 Arc Linux Shell first root
- Step three: Charging the septum
- Step 4 File System Assembly
- Step 5 Installation of the basic system
- Phase 6 of the hat arch
- Step 7 Installing the Starter Charger
Loading isosheets
To launch Arch iso, you first need to create a virtual mailbox environment using the VirtualBox interface. Select the new option and assign a name, at least 2 GB RAM, and a type (usually 64-bit Arch Linux) to your virtual machine. Now generate a virtual hard drive with a minimum capacity of 8 GB to store the installed operating system and its repositories. You can now easily start a virtual machine; make sure you select an existing Linux iso archive to boot, because the new hard drive you just created is empty and cannot be booted at this time. If you do not create the hard drive for your VM, the system will ask you to specify its location. You will see three options to load your Linux archive for the first time; the first option x86_64 is preferred
Arch Linux Initial Root Shell
When the root shell screen appears after selecting the download option, it means that you can continue to update the existing database and packages.
The team will allow you to download a Pacman package synchronized with the official archive repository.
Start section
With this step you can easily create a disk partition, usually between the root partition and the swap partition. You can use the Linux distribution tools to partition the hard disk. The most suitable and simple tool is fdisk.
The output screen displays partition settings based on your disk space. Use the partition you selected when you created your hard drive.
You can also use the following fdisk command as a formatting tool
You can simply select m to bring all fdisk commands to the surface.
You can now use the cfdisk program to make it bootable. Enter the following command into the terminal system
You will now see the gpt, dos, sgi and sun options for the label type. It is advisable to choose the dosage and go further. A window will appear on the screen; select a new window and type to create the partition. After you have selected the drive and storage location, re-type /dev/sda1, which will be your first partition if you want to create one. Select an option, then select the appropriate option and press Enter. You can create a root, swap and home partition via fdisk. It is also possible to display the interfaces for more than one pass:
If you want to note changes in the section, use the command
At this point, if you want to make sure that the changes you made to the section were successful, re-enter the command:
To format or create a partition to install the Linux archive, use the mkfs commands when you want to create a file system. And choose mkswap to create a shared space.
This command contains the type ext4 for the system file. If you are using more than one partition, run the same command with the second partition at the end, for example sda2.
mkswap /dev/sda5 (for the paging section)
Now execute the command to activate the swap partition;
If you are using more than one partition and you want to check your markup, you can type the lsblk command.
File system Installation
This step supports the installation of the basic system. You can run the following command to mount the file system so that the data related to/mnt is automatically stored in your root partition.
If you have multiple partitions, use these commands for the home partition; the first command creates nodes for the home partition and the second command stores the home partition data in /mnt/home.
mkdir /mnt/home
$ mount /dev/sda3
Basic system Installation
To successfully install the basic package and the corresponding basic level package, use the packstrap system program.
$ Packaging tape -i /mnt basic development
Select the default option for downloading packages and continue.
You now need to create an fstab file that automatically goes to the mount partition during the boot process.
$fstab -U -p /mnt >> /mnt/etc/fstab
Arc circulation
Use the arc root command to successfully determine time zones, language and other important factors in /mnt.
$ archroot /mnt /bin/bash
Use the following command for the local configuration :
nano /etc/local.gen (for language setting) $ nano /etc/local.gen (for language setting)
Save the file and execute the following command.
Now create the file etc/locale.conf by giving the command:
nano /etc/locale.conf
$ LANG=en_US.UTF-8 (to add your own language instead of the default language)
Use the following command to set the time zone and replace the zone and subzone with the correct country and region.
ln -s /usr/share/zoneinfo/zone/sub-zone /etc/localtime
$ hwclock –systohc –utc(for normal time)
To install the host system, use the command
echo abc >> /etc/hostname. (replace ABC with hostname)
$ nano /etc/hostname.
Now enter the command:
127.0.0.0.1 local host
$ 127.0.1.1 ABC
::1 local host
Installation of the starter loader
We will install grub, which downloads a file from a compatible operating system as a bootloader.
$ grub-mkconfig -o /boot/grub/grub.cfg
With these commands you can install, execute and save the harvesting configuration for the sda disk.
Finally, you can use these commands to shut down and explore the virtual environment of Arch Linux.
Output
$ Reboot /dev/sda1
$ Reboot
Conclusion
The procedure for installing Arch Linux on a virtual box can be a bit long. However, this ensures that Arch Linux runs efficiently on your server. This way you can enjoy Linux distributions without any disagreement. This manual describes the most convenient way to use Arch Linux.