ArchLinux Installation Notes

Source: Internet
Author: User

Since there is not enough hard disk space on your computer, take a virtual machine to install ArchLinux and download the latest image file from the download page of ArchLinux website after installing VMware Workstation. After creating a new virtual machine, temporarily give it 256MB of memory, after the opening is such a picture:

Here I chose to install version i686, confirmed after a short wait to become this:

Well, the network is fine. If there is a problem with the network, you can refer to the official documentation for configuration.

Then I used Cgdisk to partition the hard disk, because only 8G, so divided by two, each half, but about the GPT partition mode and MBR partition mode remains to be researched . The partition diagram is as follows:

The next step is to format the existing partition, and to confirm the existing partition, you can use the LSBLK program, which shows the following results:

In turn, we format/dev/sda1 and/dev/sda2:

The next thing is to mount the formatted partition that has been divided:

After that, we have to choose a suitable mirror site to facilitate future download, the location of the file in:/etc/pacman.d/mirrorlist, we can also mirrorlist generator to generate mirrorlist.

And then install the base package and the Base-devel package, you can study the details of the two packages later:

1 pacstrap/mnt base Base-devel

Then, we need to generate fstab, as to what this thing is for, and stay for later study . In this way, we can chroot to the newly installed system:

1 arch-chroot /mnt/bin/bash

Then you configure the time zone, set the language, and so on, the advantage of the virtual machine is no need to configure the network. Configuring Bootloader Here is a bit of attention, I chose bios/gpt with grub, so I need to specify a type for the first partition in the previous partition, as follows:

ArchLinux Installation Notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.