We left off looking at /mnt/etc/fstab in nano. We have the base system installed to sda and now we're going to configure the installation with
I highly suggest following the Arch Beninners' Guide whilst doing this.
Now that you're in chroot, there are some files that need to be edited, locale.gen and locale.conf.
...and uncomment the line(s) with UTF-8 of the locale(s) you desire, in my case
en_US.UTF-8 UTF-8. Then exit nano, saving the edited file.
The next file,
locale.confdoesn't exist yet, so we're going to make it with:
echo LANG=en_US.UTF-8 > /etc/locale.conf
***NOTE*** Replace en_US.UTF-8 with the locale you chose if using a locale other than English
Next, we will set the time zone.
to see all available countries, then list the directory with your country, for example:
Choose the city nearest you (New York for me), and create a symlink:
ln -s /usr/share/zoneinfo/America/New_York /etc/localtime
Then set the hardware clock:
hwclock --systohc --utc
Now, I'm going to set a hostname by doing
echo EXAMPLE_HOSTNAME > /etc/hostname
Next, we're going to configure the wired network interface to start at boot.
***NOTE*** The following section has been FIXED. This is now unnecessary.
for i in /sys/class/net/*; do
udevadm test-builtin net_id "$i";
In the following configuration, the value of
ID_NET_NAME_PATHwill be used in place of
We will be using netcfg for wired connections.
pacman -S ifplugd
...and change the value for
WIRED_INTERFACEto the value of
...and finally enable the service:
systemctl enable net-auto-wired.service
Also, enable dhcpcd to run at boot:
systemctl enable dhcpcd
***NOTE*** I am intentionally skipping wireless for now, as that it a BEAST to configure on the 6910p (If anyone's curious why, check Arch's wiki on Broadcom Wireless [yes, they have an entire section of the wiki specifically for Broadcom])
Next we're going to configure
pacman(no, not the game, the [pac]kage [man]ager).
There are tons of articles on using
pacman, but for now we're just going to be very basic and simply configure it.
***NOTE*** This only applies if installing x86_64 (a 64-bit system)
...and scroll down to the line that reads
Uncomment that line and the two line following it and run
Next, set a root password with
Please make sure that this is a strong password as it is your root password. If you don't know what root is, this is a good explanation.
Next, we will create a normal user with
useradd, like so:
useradd -m -g users -G wheel -s /bin/bash [username]
Let's break that down:
useradd- add user command.
-m- makes the user's home folder at /home/[username]
-g users- the user's primary group, in this case, users
-G wheel- any supplementary groups, wheel for this user
-s /bin/bash- the user's login shell
[username]- username, must be alphanumeric (letters and numbers) and all lower case
passwd [username]allows you to set the password for [username]
In my next post, we'll be installing the bootloader and rebooting!