You are not logged in.
Pages: 1
My system crashed right as pacman -Syu was running post-hooks and after that, i got
[FAILED] Failed to start Load Kernel Modules.
[FAILED] Failed to start Create List of Static Device Nodes.
[FAILED] Failed to mount /boot
I tried booting from a live ISO and commenting out the boot partition in /etc/fstab but something seems to have gone wrong as now, when i boot normally i get
mount: /new_root: unknown filesystem type 'ext4'.
dmesg(1) may have more information after failed mount system call
ERROR: Failed to mount 'UUID=f366c2f5-8d36-4a63-a62d-7884b3005c3d' on real root
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
Now, if I boot from a live environment and chroot into the system, whenever i run pacman it gives me
ERROR: module not found: '$NAME'
And a lot of them, it doesnt find any modules.
I honestly dont know what to do since i cannot reinstall linux or any packages for that matter. Mkinitcpio -P also gives the same result.
Last edited by Skogarbjorn (2024-08-29 14:44:40)
Offline
Further, when running mkinitcpio -M -k 6.10.6-arch1-1 the result is
==> Modules autodetected
==> ERROR: Cannot acquire used modules. Unable to use autodetection.
Offline
Did you try any of these yet?
https://wiki.archlinux.org/title/Pacman … ed_upgrade
Offline
Well, pacman.log doesnt show me the list of packages that were atttempted to sync, and besides, pacman cannot install any packages.
as for https://wiki.archlinux.org/title/Pacman … an_upgrade
find /mnt/usr/lib -size 0
gives me (i cannot for the life of me get scp to work) among other things, all the modules in usr/lib/modules/6.10.6-arch1-1/build/include/config/
Could this be the source of the problem?
Last edited by Skogarbjorn (2024-08-29 09:33:50)
Offline
looks like something went wrong during a kernel upgrade.
Follow the link skunktrader posted and DO NOT chroot..
Use the pacman from the installation iso to re-install linux .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Im not quite sure if something is wrong with my live environment since the pacman from the installation gives the same result, that is, by running
pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg -S linux
i get the same error of it not finding any modules?
Offline
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Post the actual and complete output of that command.
Then let's see how bad things are:
LC_ALL=C pacman --root=/mnt -Qkk | grep -v ', 0 altered files' > /tmp/howbadisit.txt
cat /tmp/howbadisit.txt | curl -F 'file=@-' 0x0.stOffline
aalib: 88 total files, 63 altered files
attr: 74 total files, 10 altered files
audit: 233 total files, 94 altered files
brotli: 36 total files, 4 altered files
cifs-utils: no mtree file
cmark: 27 total files, 1 altered file
cpio: no mtree file
curl: 540 total files, 499 altered files
discount: 44 total files, 16 altered files
dpkg: 608 total files, 89 altered files
e2fsprogs: 209 total files, 1 altered file
efivar: 70 total files, 29 altered files
elfutils: 60 total files, 4 altered files
ffcall: 40 total files, 4 altered files
ffmpeg: 286 total files, 7 altered files
file: 25 total files, 1 altered file
backup file: filesystem: /mnt/etc/fstab (Modification time mismatch)
backup file: filesystem: /mnt/etc/fstab (Size mismatch)
backup file: filesystem: /mnt/etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/group (Modification time mismatch)
backup file: filesystem: /mnt/etc/group (Size mismatch)
backup file: filesystem: /mnt/etc/group (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/gshadow (Modification time mismatch)
backup file: filesystem: /mnt/etc/gshadow (Size mismatch)
backup file: filesystem: /mnt/etc/gshadow (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/passwd (Modification time mismatch)
backup file: filesystem: /mnt/etc/passwd (Size mismatch)
backup file: filesystem: /mnt/etc/passwd (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /mnt/etc/resolv.conf (Size mismatch)
backup file: filesystem: /mnt/etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/shadow (Modification time mismatch)
backup file: filesystem: /mnt/etc/shadow (Size mismatch)
backup file: filesystem: /mnt/etc/shadow (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/shells (Modification time mismatch)
backup file: filesystem: /mnt/etc/shells (Size mismatch)
backup file: filesystem: /mnt/etc/shells (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/subgid (Modification time mismatch)
backup file: filesystem: /mnt/etc/subgid (Size mismatch)
backup file: filesystem: /mnt/etc/subgid (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/subuid (Modification time mismatch)
backup file: filesystem: /mnt/etc/subuid (Size mismatch)
backup file: filesystem: /mnt/etc/subuid (SHA256 checksum mismatch)
flameshot: no mtree file
fontconfig: 356 total files, 219 altered files
fribidi: 67 total files, 31 altered files
gawk: 156 total files, 11 altered files
gc: 81 total files, 1 altered file
gcc: 2647 total files, 828 altered files
gdbm: 81 total files, 1 altered file
gettext: 333 total files, 9 altered files
git: 799 total files, 1 altered file
glib2: no mtree file
glib2-docs: no mtree file
backup file: glibc: /mnt/etc/locale.gen (Modification time mismatch)
backup file: glibc: /mnt/etc/locale.gen (Size mismatch)
backup file: glibc: /mnt/etc/locale.gen (SHA256 checksum mismatch)
glibmm-2.68: no mtree file
gnutls: 1345 total files, 1197 altered files
graphviz: 454 total files, 17 altered files
gsm: 24 total files, 4 altered files
hunspell: 186 total files, 1 altered file
imagemagick: 857 total files, 2 altered files
intel-ucode: 159 total files, 1 altered file
iproute2: 185 total files, 1 altered file
iptables: 256 total files, 11 altered files
java-runtime-common: 21 total files, 2 altered files
kanata: 7 total files, 1 altered file
keyutils: 75 total files, 42 altered files
kmod: no mtree file
ldb: 58 total files, 1 altered file
lib32-bluez-libs-debug: 40 total files, 1 altered file
lib32-glib2: no mtree file
libarchive: 68 total files, 37 altered files
libbsd: 285 total files, 235 altered files
libcaca: 484 total files, 346 altered files
libcap: 118 total files, 73 altered files
libcap-ng: 50 total files, 21 altered files
libdrm: 92 total files, 3 altered files
libedit: 65 total files, 41 altered files
libev: 15 total files, 1 altered file
libevdev: 27 total files, 1 altered file
libffi: 25 total files, 4 altered files
libglvnd: 58 total files, 1 altered file
libidn: 169 total files, 47 altered files
libidn2: 134 total files, 19 altered files
libldap: 217 total files, 184 altered files
libltc: 75 total files, 1 altered file
libmd: 103 total files, 77 altered files
libmng: 21 total files, 1 altered file
libmtp: 321 total files, 88 altered files
libnet: 126 total files, 3 altered files
libnm: no mtree file
libpcap: 123 total files, 75 altered files
libpipeline: 80 total files, 68 altered files
libpng: 34 total files, 2 altered files
libpsl: 38 total files, 1 altered file
librsync: 16 total files, 1 altered file
libseccomp: 54 total files, 32 altered files
libssh2: 200 total files, 183 altered files
libtar: 88 total files, 72 altered files
libtasn1: 85 total files, 41 altered files
libtermkey: 41 total files, 24 altered files
libtirpc: 91 total files, 35 altered files
libunwind: 78 total files, 40 altered files
liburing: 199 total files, 168 altered files
libutempter: 20 total files, 7 altered files
libx11: 1252 total files, 807 altered files
libxau: 25 total files, 9 altered files
libxaw: 143 total files, 1 altered file
libxcb: 2460 total files, 2311 altered files
libxcomposite: 29 total files, 12 altered files
libxcrypt: 25 total files, 9 altered files
libxcursor: 77 total files, 60 altered files
libxext: 100 total files, 61 altered files
libxfixes: 18 total files, 1 altered file
libxft: 96 total files, 78 altered files
libxi: 97 total files, 74 altered files
libxinerama: 23 total files, 5 altered files
libxpm: 63 total files, 41 altered files
libxpresent: 26 total files, 9 altered files
libxrandr: 32 total files, 15 altered files
libxres: 23 total files, 6 altered files
libxslt: 64 total files, 2 altered files
libxss: 29 total files, 12 altered files
libxt: 340 total files, 268 altered files
libxtst: 33 total files, 11 altered files
libxv: 43 total files, 26 altered files
libxxf86vm: 40 total files, 23 altered files
libzip: 162 total files, 128 altered files
lm_sensors: 48 total files, 1 altered file
man-pages: 4079 total files, 1701 altered files
meson: 780 total files, 1 altered file
mpdecimal: 26 total files, 3 altered files
ncurses: 3935 total files, 913 altered files
neon: 223 total files, 100 altered files
networkmanager: no mtree file
nodejs-nopt: 30 total files, 1 altered file
nordvpn-bin: 59 total files, 4 altered files
numactl: 31 total files, 1 altered file
openjpeg2: 549 total files, 1 altered file
openssl: 6147 total files, 5661 altered files
backup file: pacman: /mnt/etc/pacman.conf (Modification time mismatch)
backup file: pacman: /mnt/etc/pacman.conf (Size mismatch)
backup file: pacman: /mnt/etc/pacman.conf (SHA256 checksum mismatch)
pacman: 419 total files, 15 altered files
backup file: pacman-mirrorlist: /mnt/etc/pacman.d/mirrorlist (Modification time mismatch)
backup file: pacman-mirrorlist: /mnt/etc/pacman.d/mirrorlist (Size mismatch)
backup file: pacman-mirrorlist: /mnt/etc/pacman.d/mirrorlist (SHA256 checksum mismatch)
pam: 562 total files, 42 altered files
pcre: 211 total files, 100 altered files
pcre2: 247 total files, 94 altered files
perl: 2858 total files, 571 altered files
perl-clone: 14 total files, 1 altered file
perl-encode-locale: 17 total files, 1 altered file
perl-error: 18 total files, 2 altered files
perl-file-listing: 17 total files, 1 altered file
perl-html-parser: 28 total files, 7 altered files
perl-html-tagset: 17 total files, 1 altered file
perl-http-cookiejar: 20 total files, 2 altered files
perl-http-cookies: 22 total files, 3 altered files
perl-http-daemon: 17 total files, 1 altered file
perl-http-date: 17 total files, 1 altered file
perl-http-message: 35 total files, 8 altered files
perl-http-negotiate: 17 total files, 1 altered file
perl-io-html: 17 total files, 1 altered file
perl-libwww: 68 total files, 11 altered files
perl-lwp-mediatypes: 18 total files, 1 altered file
perl-mailtools: 48 total files, 13 altered files
perl-net-http: 24 total files, 4 altered files
perl-timedate: 63 total files, 7 altered files
perl-try-tiny: 20 total files, 1 altered file
perl-uri: 87 total files, 14 altered files
perl-www-robotrules: 20 total files, 2 altered files
perl-xml-parser: 57 total files, 7 altered files
popt: 126 total files, 1 altered file
procps-ng: 244 total files, 3 altered files
raptor: 128 total files, 1 altered file
readline: 55 total files, 2 altered files
backup file: reflector: /mnt/etc/xdg/reflector/reflector.conf (Modification time mismatch)
backup file: reflector: /mnt/etc/xdg/reflector/reflector.conf (Size mismatch)
backup file: reflector: /mnt/etc/xdg/reflector/reflector.conf (SHA256 checksum mismatch)
rtmpdump: 25 total files, 1 altered file
shadow: 588 total files, 3 altered files
sndio: 69 total files, 34 altered files
backup file: sudo: /mnt/etc/sudoers (Modification time mismatch)
backup file: sudo: /mnt/etc/sudoers (Size mismatch)
backup file: sudo: /mnt/etc/sudoers (SHA256 checksum mismatch)
backup file: systemd: /mnt/etc/systemd/logind.conf (Modification time mismatch)
backup file: systemd: /mnt/etc/systemd/logind.conf (Size mismatch)
backup file: systemd: /mnt/etc/systemd/logind.conf (SHA256 checksum mismatch)
systemd: 1544 total files, 1 altered file
systemd-libs: 817 total files, 782 altered files
talloc: 23 total files, 1 altered file
tcl: 1179 total files, 663 altered files
backup file: texlive-basic: /mnt/etc/texmf/web2c/fmtutil.cnf (Modification time mismatch)
backup file: texlive-basic: /mnt/etc/texmf/web2c/fmtutil.cnf (Size mismatch)
backup file: texlive-basic: /mnt/etc/texmf/web2c/fmtutil.cnf (SHA256 checksum mismatch)
texlive-basic: 2673 total files, 3 altered files
tpm2-tss: 267 total files, 161 altered files
tree-sitter: no mtree file
tree-sitter-python: no mtree file
tslib: 74 total files, 18 altered files
tzdata: 2503 total files, 2 altered files
unibilium: 65 total files, 53 altered files
util-linux-libs: 79 total files, 21 altered files
vlc: 1085 total files, 1 altered file
wildmidi: 46 total files, 21 altered files
wine-staging: no mtree file
wofi: 30 total files, 6 altered files
zeromq: 184 total files, 63 altered files
zlib: 18 total files, 1 altered fileThanks for the help on pastebins, i was really getting frustrated on that.
So i've messed up on a colossal scale here and ive been backing up my files to prepare for a complete reinstall in case that is necessary, but of course I appreciate all the help and would rather want to fix my system.
Last edited by Skogarbjorn (2024-08-29 13:32:55)
Offline
"bad"
pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg --dbonly -S cifs-utils cpio flameshot glib2 glib2-docs glibmm-2.68 kmod lib32-glib2 libnm networkmanager tree-sitter tree-sitter-python wine-staging # fix the databases for those packages
pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg -S aalib attr audit brotli cifs-utils cmark cpio curl discount dpkg e2fsprogs efivar elfutils ffcall ffmpeg file flameshot fontconfig fribidi gawk gc gcc gdbm gettext git glib2 glib2-docs glibmm-2.68 gnutls graphviz gsm hunspell imagemagick intel-ucode iproute2 iptables java-runtime-common kanata keyutils kmod ldb lib32-bluez-libs-debug lib32-glib2 libarchive libbsd libcaca libcap libcap-ng libdrm libedit libev libevdev libffi libglvnd libidn libidn2 libldap libltc libmd libmng libmtp libnet libnm libpcap libpipeline libpng libpsl librsync libseccomp libssh2 libtar libtasn1 libtermkey libtirpc libunwind liburing libutempter libx11 libxau libxaw libxcb libxcomposite libxcrypt libxcursor libxext libxfixes libxft libxi libxinerama libxpm libxpresent libxrandr libxres libxslt libxss libxt libxtst libxv libxxf86vm libzip lm_sensors man-pages meson mpdecimal ncurses neon networkmanager nodejs-nopt nordvpn-bin numactl openjpeg2 openssl pacman pam pcre pcre2 perl perl-clone perl-encode-locale perl-error perl-file-listing perl-html-parser perl-html-tagset perl-http-cookiejar perl-http-cookies perl-http-daemon perl-http-date perl-http-message perl-http-negotiate perl-io-html perl-libwww perl-lwp-mediatypes perl-mailtools perl-net-http perl-timedate perl-try-tiny perl-uri perl-www-robotrules perl-xml-parser popt procps-ng raptor readline rtmpdump shadow sndio systemd systemd-libs talloc tcl texlive-basic tpm2-tss tree-sitter tree-sitter-python tslib tzdata unibilium util-linux-libs vlc wildmidi wine-staging wofi zeromq zlib # pacakgs w/ deviant files
pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg -S linux # possibly needs fixing
pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg -SyuYou can probably also just re-install all packages but you *have* to run teh database fixing pass first and you might have to re-install the kernel afterwards again and it's a good idea to close w/ a -Syu …
Offline
Oh wow, thank you so much this worked like a charm!
Everything works pretty much just fine now, i still have some cleanup left to do but my system boots and works as it should.
Offline
Pages: 1