# Switch into the root with a new system:
Once last part while we was inside archiso was successfully done, it's time to start managing installed system.
You can use archiso later as a recovery tool!
Chroot into the system
And generate them:
cat > /etc/locale.conf echo "LANG=en_US.UTF-8" > /etc/locale.conf
This example will show you how to make dvorak layout persistent:
cat > /etc/vconsole.conf echo "KEYMAP=dvorak" > /etc/vconsole.conf
If you have AZERTY, colmark etc, just change
dvorak with your favorite layout.
Do nothing if you have QWERTY.
# Network configuration
Hostname - is a unique name created to identify a machine on a network.
- Basic method that is working in arch-chroot.: Replace
uniquenamewith anything you want:
echo uniquename > /etc/hostname
The result of this manipulations will be something like:
- You will be able to generate hostname with
hostnamectllater. Be aware that this method is NOT WORKING in arch-chroot.
hostnamectl set-hostname myhostname
Add matching entries to the hosts, edit
127.0.0.1 localhost ::1 localhost 127.0.1.1 uniquename.localdomain uniquename
If the system has a permanent IP address, it should be used instead of
See more in the official docs: network configuration.
# Community repositories
multilib is for 64bit system.
To do this open the
#[multilib] #Include = /etc/pacman.d/mirrorlist
You also may add unofficial repositories with caution.
- To have pacman animation add this under the 'Misc options':
- You will need Color option for
And update the system. We should let system know about the changes.
# User and password
- Root password:
- User password:
You should add at least one user. Replace
usernamewith preferred one:
useradd -m -g users -G wheel,storage,power -s /bin/bash username
And set password for a new user:
Read about visudo before editing! Any errors makes sudo unusable.
/etc/sudoers file with
visudo to prevent errors.
Since you added user to the
wheel group, user will gain full root privileges, you need to uncomment this line:
%wheel ALL=(ALL) ALL
If you are using a server or someone else has access to the wheel group, you may want to require sudoers to type root password.
In this case add this line:
Read more about root password.
You should enable microcode updates, my laptop has intel CPU:
pacman -S intel-ucode
amd-ucode if you have AMD CPU.