Installing Arch on Dell Inspiron 15-5000
What I went through to get Arch Linux up and running in my new Dell Inspiron 15-5000
Installation
-
Download arch
-
Make a live USB by writing the iso image to the device (Make sure to do
/dev/sdx
not including the number like/dev/sdx1
)cat path/to/archlinux-version-x86_64.iso > /dev/sdx
-
Go through the installation guide
- Use windows EFI partition if one exists (mount in
/mnt/boot
) - In
arch-chroot
or usingpacstrap
, make sure to download packageiwd
so that when you boot into the OS, you can connect to the internet
- Use windows EFI partition if one exists (mount in
Getting started
Trouble with booting
Now that the OS was installed, I tried to boot into it and this error appeared. I checked if the UUID was correct and it was. So found multiple posts with the same problem and this one finally helped. Followed the exact steps mentioned in the last message of the thread.
Connecting to the internet
After getting into the OS, now I had just a terminal and no internet despite of having iwd installed. So found this thread and did as instructed.
-
systemctl enable --now systemd-networkd systemd-resolved iwd
-
networkctl status -a
-
To enable iwd’s DHCP client, add the following to
/etc/iwd/main.conf
[General] EnableNetworkConfiguration=true
Then rebooted and iwctl was working which I used to then connect to the WiFi
Desktop environment
Then I needed to add a regular user and add a desktop environment. Followed this article and I installed KDE Plasma which looks great IMO.
Sound
Everything was now setup and working beautifully, except there was no sound. So I tried solutions in the internet and
finally had to open a thread here. Stupid me skipped over a small part of the installation guide and hadn’t
installed the package sof-firmware
.
NVIDIA drivers
My laptop has a Nvidia MX330 GPU. So here’s how I went about installing Nvidia drivers for this laptop. Having no
previous experience with packages on arch, I had to do some digging. So the package I need to install is in
AUR (Arch User Repository). Which apparently means you need to clone, build and install yourself. I needed to install
linux headers with pacman -S linux-headers
which is a requirement for the driver package
-
Clone the package using the URL given in the package page, cd into the folder
-
Do
makepkg --install
-
For
cuda
andcudnn
, simply install them withpacman -S cuda cudnn
Other little details
- To support mounting NTFS drives, do
pacman -S ntfs-3g
- For pip and ipython which I often use,
pacman -S python-pip ipython
Some more stuff I had to do later
-
Shutdown was taking too long and showed message ‘failed to start wait for network to configure’. I had two nw config services running so had to disable one. Source
systemctl status NetworkManager.service # Was running systemctl status systemd-networkd.service # Was running too sudo systemctl stop systemd-networkd.service sudo systemctl disable systemd-networkd.service
Well, that’s it! Everything works like a charm. Fast and ~800mb RAM usage when idle.