. Step 6 - Configuring the system Previous page

Step 6 - Configuring the system

Now, we will configure our installed system further.

Creating the fstab file

First, let's create the file which lists the mountpoints of our partitions, the fstab file. We will install a tool from Arch Linux for this:

emerge --ask genfstab

Then, we generate the file:

genfstab -U / > /etc/fstab

Networking

Now, we set the PC's hostname, for example Furbox:

echo Furbox > /etc/hostname

Now, before installing NetworkManager, two steps. First, enable the networkmanager USE flag globally in Portage's make.conf (I have truncated the USE line in the following example to only show the end of it):

USE="dist-kernel networkmanager"

Next, create the /etc/portage/package.use/networkmanager file with the following line in it:

net-wireless/wpa_supplicant dbus

Once the new file saved, install NetworkManager and BlueZ for the Bluetooth:

emerge --ask networkmanager bluez

After installation, enable NetworkManager:

systemctl enable NetworkManager

And now Bluetooth:

systemctl enable bluetooth

System information

Now, let's set the root password:

passwd

Moving on, three commands to set up systemd. First one:

systemd-machine-id-setup

Then, second:

systemd-firstboot --prompt

Then, finally:

systemctl preset-all --preset-mode=enable-only

Once this is done, we proceed with the next step.

Next page