-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
βββββββ ββββββββ ββββββ βββββββ ββββββββββ βββ
ββββββββββββββββ βββββββββββββββββββββββββββ βββ
ββββββββββββββ ββββββββββββββββββββββββ ββββββββ
ββββββββββββββ ββββββββββββββββββββββββ ββββββββ
βββ βββββββββββ βββ ββββββ ββββββββββββββ βββ
βββ βββββββββββ βββ ββββββ βββ ββββββββββ βββ
Comprehensive solutions for common issues encountered during RE-ARCH installation and usage.
| Issue Category | Symptoms | Diagnostic Commands | Solutions |
|---|---|---|---|
| Boot Failure | Black screen, no GRUB menu |
lsblk, efibootmgr -v, fdisk -l
|
GRUB reinstall, EFI repair, check boot order |
| Display Issues | No desktop after login |
journalctl -u sddm -u gdm -u lightdm, systemctl status display-manager
|
Driver issues, service problems, X11 fallback |
| Audio Problems | No sound output |
pactl list sinks, systemctl --user status pipewire
|
PipeWire restart, device selection, permissions |
| Network Failure | No connectivity |
ip addr, systemctl status NetworkManager, nmcli dev status
|
Driver issues, service restart, WiFi setup |
| Package Errors | Install/update failures |
pacman -Syu, pacman -Qdt, paccache -r
|
Mirror update, orphan cleanup, cache clear |
| Snapshot Issues | Boot/rollback problems |
snapper list, grub-mkconfig -o /boot/grub/grub.cfg
|
Snapshot repair, GRUB regeneration |
Common Symptoms:
- Package download failures
- Network connectivity issues
- Disk partitioning errors
- Configuration validation failures
Solutions:
-
Check Internet Connection:
ping -c 3 google.com ping -c 3 archlinux.org
-
Update System Clock:
timedatectl set-ntp true -
Refresh Package Database:
pacman -Sy
-
Check Disk Space:
lsblk df -h
-
Verify Disk Device:
lsblk fdisk -l # Update config if your disk isn't /dev/sda -
Try Alternative URLs:
# If GitHub is blocked archinstall --config-url https://re-arch.xyz/config-kde.json --creds-url https://re-arch.xyz/creds.json
Common Symptoms:
- Service enablement failures
- Package installation errors
- Permission issues
- Configuration failures
Solutions:
-
Verify You're in Chroot:
# You should see (chroot) in prompt ls /mnt # Should show your root filesystem
-
Check Internet in Chroot:
ping -c 3 google.com
-
Verify User Account:
cat /etc/passwd | grep -v root # Should show your user account
-
Manual Service Check:
systemctl status sddm.service systemctl status gdm.service systemctl status lightdm.service
-
Check for Missing Packages:
pacman -Q | grep -E "(sddm|gdm|lightdm)"
Symptoms:
- Black screen after GRUB
- Boot loops
- Emergency shell
- No display manager
Solutions:
-
Boot from Arch ISO and Check Logs:
# Mount your system mount /dev/sdXY /mnt # Replace with your root partition mount /dev/sdXZ /mnt/boot # Replace with your boot partition # Check logs arch-chroot /mnt journalctl -b -1 # Previous boot logs
-
Verify Boot Configuration:
# Check GRUB config cat /boot/grub/grub.cfg | grep -A 5 -B 5 "Arch Linux" # Regenerate GRUB config grub-mkconfig -o /boot/grub/grub.cfg
-
Check Display Manager:
systemctl status sddm.service systemctl status gdm.service systemctl status lightdm.service # Enable correct display manager systemctl enable sddm.service # For KDE systemctl enable gdm.service # For GNOME systemctl enable lightdm.service # For XFCE/Hyprland
Solutions:
-
Check Root Filesystem:
fsck /dev/sdXY # Replace with your root partition -
Mount Root and Continue Boot:
mount /dev/sdXY /sysroot exit -
Check for Btrfs Issues:
btrfs filesystem show btrfs filesystem check /dev/sdXY
Solutions:
-
Check Display Manager Status:
systemctl status sddm.service systemctl status gdm.service systemctl status lightdm.service
-
Restart Display Manager:
systemctl restart sddm.service # Or gdm/lightdm -
Check Graphics Drivers:
lspci | grep -i vga pacman -Q | grep -i mesa
Solutions:
-
Check Desktop Environment Installation:
# For KDE pacman -Q | grep plasma # For GNOME pacman -Q | grep gnome # For XFCE pacman -Q | grep xfce # For Hyprland pacman -Q | grep hyprland
-
Try Different Session:
- Select different session type at login screen
- Try X11 instead of Wayland or vice versa
-
Check User Permissions:
groups username # Should include necessary groups
Solutions:
-
Check PipeWire Status:
systemctl --user status pipewire.service systemctl --user status pipewire-pulse.service
-
Restart Audio Services:
systemctl --user restart pipewire.service systemctl --user restart pipewire-pulse.service
-
Check Audio Devices:
pactl list short sinks pactl list short sources
Solutions:
-
Check Flatpak Installation:
flatpak --version flatpak remote-list
-
Add Flathub Repository:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
-
Update Flatpak:
flatpak update
Solutions:
-
Install paru Manually:
# Install base-devel if missing sudo pacman -S base-devel # Clone and build paru git clone https://aur.archlinux.org/paru.git cd paru makepkg -si
-
Check Build Dependencies:
sudo pacman -S base-devel git
If system is broken, use snapshot recovery:
-
Boot from GRUB Snapshot Menu:
- Select "Arch Linux snapshots" in GRUB
- Choose a working snapshot
- Boot from it
-
Make Snapshot Default:
# After booting from snapshot sudo snapper rollback sudo grub-mkconfig -o /boot/grub/grub.cfg
If snapshots don't work:
-
Boot from Arch ISO:
# Mount your system mount /dev/sdXY /mnt mount /dev/sdXZ /mnt/boot # Enter chroot arch-chroot /mnt # Re-run optimization curl -fsSL https://re-arch.xyz/re-arch-lite.sh | bash
-
Reinstall Desktop Environment:
# For KDE sudo pacman -S plasma-desktop sddm # For GNOME sudo pacman -S gnome-shell gdm # For XFCE sudo pacman -S xfce4 lightdm # For Hyprland sudo pacman -S hyprland lightdm
Solutions:
-
Check Network Manager:
systemctl status NetworkManager systemctl enable NetworkManager systemctl start NetworkManager -
Connect to WiFi:
nmcli device wifi connect "NetworkName" password "password"
-
Check DNS Resolution:
cat /etc/resolv.conf ping -c 3 8.8.8.8
If these solutions don't work:
-
Check System Logs:
journalctl -b # Current boot journalctl -b -1 # Previous boot journalctl -u servicename # Specific service
-
Create Support Request:
- GitHub Issues: https://github.com/buggerman/re-arch/issues
- Include relevant log output
- Specify your desktop environment
- List steps already tried
-
Community Resources:
- Arch Wiki: https://wiki.archlinux.org/
- Forums: r/archlinux, Arch Linux forums
- IRC: #archlinux on Libera.Chat
-
Essential Debug Information:
# Include this info in support requests uname -a lsb_release -a systemctl --failed journalctl -p err -b
For installation steps, see the Installation Guide.