Artix Linux Forum

Artix Linux => System => Topic started by: Anzillu on 13 January 2024, 11:10:42

Title: RUnit boot breaks due to /proc not being mounted and many other errors
Post by: Anzillu on 13 January 2024, 11:10:42
TL;DR version:

My boot is mess up, details here: https://pasteboard.co/dJEodIfuXOm8.png (Image too large for the forum, by a few bytes haha)
Any ideas?

Complete version

I have an Artix setup with runit and i3.
During a system update, my machine froze and I had to force restart.
The half-done update cause two problems of boot:

1 - "Please fix your configfile (/etc/sys-log-ng/syslog-ng.conf)
2 - Error saying "Could not find a wireless interface".

Cool; boot using a Live USB, chroot in my system, and finish the update, and the rebooted.

For this, I did the following:

sudo cryptsetup luksOpen /dev/sdb2 cryptroot (Since I have an encrypted disk)
sudo mount /dev/mapper/cryptroot /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt /bin/bash
pacman -Syu
exit (out of chroot)
sudo reboot

I first noticed that the OS selection screen had a Arch black logo, not the typical blue one.
But when I select the Artix system, the boot breaks due to unmounted /proc/ and many other errors.

I don't know exactly the root cause / starting point for fixing.
I tried to reinstall the system while preserving my /home, but the installation process didn't allow me to proceed after
selecting the /home partition (I didn't take a screenshot of this, but I can re-do the process if that's the right away to go).
Title: Re: RUnit boot breaks due to /proc not being mounted and many other errors
Post by: qontinuum on 16 January 2024, 21:16:17
It looks like it is your initramfs that is broken
As we can't know what exactly got fucked up during the broken upgrade and because we don't really have any useful log we can't do much about this
Maybe try to reinstall all your packages