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