Step by step process to setup arch linux on an existing windows laptop (HP Pavilion)
- disable secure boot
- change boot order to make the usb drive boot when connected
- iwctl to connect to internet
- archinstall to install basic setup
- setup profile and users
- install required packages for everything we need
- setup volume controls
- brigness controls
- keyboard backlight
- print screen and snip screen
- rofi opens apps in a new workspace
- open nemo when show in folder is clicked
- configure clipboard
- LockScreen and sleep after some time
- Stop charging when reached 80% (Safe Charging)
- A way to setup and adjust multiple screen configurations
- [ ]
- Backed up all data from my windows machine
- Copied Configs of arch from my removable SSD which is running Arch for now
- used a small USB and burned it with the latest Arch ISO (Sept 1 2025) versiont
- Let's goo🎉 Writing as I'm doing it
- I asked my machine to boot from the usb.
- it copies the iso into the ram and ran it. Welcome to Arch
- First step: it's time to connect to the internet with the help of iwctl
- yay, connected to the internet with few simple commands
iwctlto enter in the iwctl environmentstation listto list all the network devices available to connect to the internet- mine gave only one, wlan0
station wlan0 scanto start scanning for the available wifi netowrks around mestation wlan0 get-networksto list the networks availablestation wlan0 connect <your-wifi-name>as shown in the liststation wlan0 showto check if we're connected- exit out of iwctl
- Now, let's start our setup using a command line tool called archinstall
- I chose my internal storage as my primary disk for partitioning. I chose to have a dedicated /home partition and I chose LUKS encryption for my /home partition.
- I left the Swap enabled
- I left the bootlader to be Systemd-boot by default
- I chose my hostname to be ArchGuy
- I created a use for myself with superuser permissions (so I can sudo when needed)
-
Now in the profile, I chose Desktop type so I can setup a complete hyprland environment.
-
Hyprland wants to access my hardware and as hyprland has it's own polkit agent, I chose polkit over seatd
-
I chose network manager for network configuration
-
I added a few additional packages like
-
git
-
jdk 21
-
nodejs
-
python
-
vlc
-
viewnior for photos
-
nemo file manager
-
rofi
-
hyprpaper
-
hyprlock
-
hyprshot (notyet)
-
sddm for greeter
-
dunst for notifications
-
btop
-
zsh
-
clipse (notyet) for clipboard management