Summary - Arch Linux Installation on UEFI system
Step 1 Connect to internet from install disk or usb
Start iwd.service and connect your wifi
| |
Verify the host specified by ping is reachable otherwise don’t proceed until you fix it. Since you won’t be able to do anything without internet connection.
Step 2 Create Filesystems and Mount Partitions
Assuming you have created the partitions using e.g cfdisk <SSD>
| |
Boot
| |
Var
| |
Root
| |
Home
| |
Swapfile
| |
Step 3 Install Base System and Grub Bootloader
install base system
| |
install grub bootloader
| |
Generate grub config
| |
Step 4 Generate fstab
| |
Sometimes you might get file errors that the system is readonly if you try to generate the fstab file. Remount the system to fix it.
# mount -o remount, rw /
Edit the fstab file
| |
Enter the Swapfile to the FSTAB
| |
For the mounted partitions change the UUID to the name of partition
i.e inplace of UUID=xxxxxx change this to /dev/sda2.
Though not necessary,it make the system boot faster.
nano commands
- Ctrl + o : Write Edits
- Enter : Save Edits
- Ctrl + x : Exit nano
- Ctrl + l : Clear Screen
Step 5 Clock and Timezone Settings
Set timezone
You need to chroot to set the timezone
| |
Then
| |
Set hardware clock
| |
synchronize clock with timezone
This is simply activating the NTP service
| |
Step 6 Set Locale and Language Settings
generate locale settings
Using American English
Uncomment this part #en_US.UTF-8 UTF-8 in this file /etc/locale.gen
i.e
| |
Then run # locale-gen
set language & export it to a locale config file
| |
set hostname
change your_hostname below to what you would like to call your laptop
| |
Run this to verify everything is OK
| |
Step 7 Set Default Shell and Terminal Emulator
Shell
Am using zsh
| |
Set it as default
| |
Terminal Emulator Install terminology terminal emulator
| |
Step 8 : Create a Sudo User and change the default password of Root
Root
| |
When prompted type and confirm the new password for root Sudo User
| |
When prompted type and confirm the password for sudo user above
Uncomment the wheel group
| |
Exit chroot
| |
Umount all partitions
| |
Reboot the system
| |
NOTE
While they system is rebooting you may now remove the USB installer disk.
From now onwards you will be working with your fresh arch install using your
sudo user instead of root user.
Step 9 Reconnect to Wifi
Since we removed the USB installer disk we have lost the iwd.service that comes with it to
connect to wi-fi.But since we installed these wireless packages;wpa_supplicant and networkmanager
in Step 3
We only need to enable,start them.Then connect to our wifi network and continue with the installation process.
Note that the shell prompt has changed from # to %.
Enable & Start wpa_supplicant and networkmanager services
| |
| |
If the status of the 2 services above is “running”.Then we can connect our wifi again
nmcli is the command line client for networkmanager
List nearby wireless networks
| |
If your network is listed among the above;then connect to a wireless network
| |
where SSID -> your wifi name and SSID_PASSWORD -> your wifi password
Sometimes your wifi could be hidden hence it won’t show up in the list. If that is the case then
| |
Am assuming if you are able to get through Step 1 then the above is easier.
Step 10 : Configure your installation
Now that you have reconnected to the internet(ping to verify),you can continue configuring you installation.
Edit file hosts
| |
Change the above file to
| |
Replace anything within the angle brackets inclusive.
Add multilib Repo
| |
Uncomment the multilib repo.
sync repos
| |
You should also see the multilib repo syncing just like it peers Core,Extra etc
Optimize the mirrors
- Am skipping this one till we have login out desktop environment;xfce
Install GUI Server
| |
Install some important packages
| |
Install the Display Manager & Desktop Environment
| |
Configure Display Manager(lightdm)
| |
Change these settings
| |
Enable the LightDM Service
| |
Verify that Graphical Target is the Default If not then set it to be the default one
| |
You can skip the below step if the above command return graphical target
| |
Verify the enabled service
| |
Reboot your system and login using your sudo user credentials
| |
Set Terminology Emulator as Default in xfce
- Applications–>Settings—>Default Applications —>Utilities—>Terminal Emulator
- Select ‘Terminology’ so that whenever you press
ctrl + alt + t,its the one that pops up.
NOTE
- I have skipped the installation for audio drivers and others,this could be done once desktop environment is up and running.
Reference UEFI Process.