must ensure that the machine can surf the internet!
Create a virtual machine in 1.vmware10 (the same operation as installing other systems in the virtual machine).
2. Open the virtual machine created in the previous step.
3 Select the first entry
4 Automatic access to the root command line
5 Enter/dev (partition and format)
SDA represents the hard disk that is assigned to the system (it is not partitioned and formatted at this time)
6 Partitioning
Input: CFDISK/DEV/SDA into the partition interface
Select DOS into Partition tool
Use the bottom command option "New" to create 2 partitions, one root partition, another swap partition, set "Tyep" (Root partition Linux type, swap partition for Linux swap/solaris type), respectively. Write "Write" and Exit "quit" when you are finished. (the author only created 2 partitions, can be adjusted according to their own needs)
After exiting, you can view the result of the partition with the P option in FDISK/DEV/SDA:
7 Formatting partitions
Format sda1 as EXT4, format the SDA2 (swap partition) as swap, and activate with the Swapon command.
8 Mount Primary Partition:
9 Select Source (the author uses the source provided by 163)
Input: Nano/etc/pacman.d/mirrorlist Enter the source configuration file and add it at the beginning of the source list:
# #China
Server = http://mirrors.163.com/archlinux/$repo/os/$arch
After the configuration is complete, CTRL + O saves, confirms, CTRL + X exits.
10 Starting the installation
Use the following command to install the system to the primary partition/mnt, which is the SDA1 partition we previously allocated.
To start the installation:
The installation process needs to download a lot of things, the process is long, installation time depends on the speed.
The following prompts indicate that the installation is complete:
Next you need to configure
11 Input: Genfstab-p/mnt >>/mnt/etc/fstab
Arch-chroot/mnt into the new system
13 Setting the time zone
14 Setting the host name
Nano/etc/hostname
Enter the name after CTRL + O to write, CTRL + X to exit.
15 Setting a password
passwd command:
16 Installing Network Tools:
17 Installing and configuring GRUB
To install Grub:
Grub is installed on the hard disk SDA and checked:
To configure GRUB:
18 Exit and restart
Exit->umount/mnt->reboot:
After rebooting, you can enter the system.
Vmware10 Installing Arch