You are not logged in.

#1 2023-10-25 08:06:48

vavra.7
Member
Registered: 2021-05-22
Posts: 18

[SOLVED] Can not boot system after upgrade. ERROR: device not * found.

This morning I have upgraded pacman packages as I always do 'sudo pacman -Suy'. After I had restarted the PC, it didn't boot.

Choosing 'Arch Linux' in GRUB bootloader I am getting following:

ERROR: device 'UUID=c60029da-b9b2-4494-84c1-5dd16eb5e084' not found. Skipping fs
ck.
mount: /new_root: can't find UUID=c60029da-b9b2-4494-84c1-5dd16eb5e084.
ERROR: Failed to mount 'UUID=c60029da-b9b2-4494-84c1-5dd16eb5e084' on real root
sh: can't access tty; job control turned off
[rootfs ~]#

Command line is dead and I can not write anything.

However I was able to get in to the system navigating in GRUB bootloader 'Advanced options for Arch Linux' -> 'Arch Linux, with Linux linux (fallback initramfs)'. From here system appears to work just fine. There si log from /var/log/pacman.log what was upgraded:

[2023-10-25T07:27:41+0200] [PACMAN] Running 'pacman -Syu'
[2023-10-25T07:27:41+0200] [PACMAN] synchronizing package lists
[2023-10-25T07:27:42+0200] [PACMAN] starting full system upgrade
[2023-10-25T07:28:04+0200] [ALPM] transaction started
[2023-10-25T07:28:05+0200] [ALPM] upgraded openssl (3.1.3-1 -> 3.1.4-1)
[2023-10-25T07:28:05+0200] [ALPM] upgraded btrfs-progs (6.5.2-2 -> 6.5.3-1)
[2023-10-25T07:28:05+0200] [ALPM] upgraded libsysprof-capture (45.0-1 -> 45.1-1)
[2023-10-25T07:28:05+0200] [ALPM] upgraded firefox (118.0.2-1 -> 119.0-1)
[2023-10-25T07:28:05+0200] [ALPM] upgraded gnome-calendar (45.0-1 -> 45.1-1)
[2023-10-25T07:28:05+0200] [ALPM] upgraded gnome-control-center (45.0+r41+g454955aad-1 -> 45.1-1)
[2023-10-25T07:28:05+0200] [ALPM] upgraded intel-media-driver (23.3.4-1 -> 23.3.5-1)
[2023-10-25T07:28:05+0200] [ALPM] upgraded js115 (115.3.1-1 -> 115.4.0-1)
[2023-10-25T07:28:05+0200] [ALPM] upgraded lib32-openssl (1:3.1.3-1 -> 1:3.1.4-1)
[2023-10-25T07:28:05+0200] [ALPM] upgraded libheif (1.17.0-1 -> 1.17.1-1)
[2023-10-25T07:28:05+0200] [ALPM] upgraded librist (0.2.7-1 -> 0.2.9-1)
[2023-10-25T07:28:06+0200] [ALPM] upgraded opera (103.0.4928.34-1 -> 104.0.4944.23-1)
[2023-10-25T07:28:06+0200] [ALPM] upgraded python-cairo (1.24.0-1 -> 1.25.1-1)
[2023-10-25T07:28:06+0200] [ALPM] upgraded python-rpds-py (0.10.3-1 -> 0.10.6-1)
[2023-10-25T07:28:06+0200] [ALPM] upgraded qt5-declarative (5.15.11+kde+r30-1 -> 5.15.11+kde+r31-1)
[2023-10-25T07:28:06+0200] [ALPM] upgraded qt5-wayland (5.15.11+kde+r59-1 -> 5.15.11+kde+r60-1)
[2023-10-25T07:28:06+0200] [ALPM] upgraded xterm (387-1 -> 388-1)
[2023-10-25T07:28:06+0200] [ALPM] upgraded zeromq (4.3.5-1 -> 4.3.5-2)
[2023-10-25T07:28:06+0200] [ALPM] transaction completed
[2023-10-25T07:28:06+0200] [ALPM] running '30-systemd-daemon-reload.hook'...
[2023-10-25T07:28:06+0200] [ALPM] running '30-systemd-udev-reload.hook'...
[2023-10-25T07:28:07+0200] [ALPM] running '30-systemd-update.hook'...
[2023-10-25T07:28:07+0200] [ALPM] running '30-update-mime-database.hook'...
[2023-10-25T07:28:07+0200] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-10-25T07:28:07+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2023-10-25T07:28:07+0200] [ALPM-SCRIPTLET] ==> Using configuration file: '/etc/mkinitcpio.conf'
[2023-10-25T07:28:07+0200] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2023-10-25T07:28:07+0200] [ALPM-SCRIPTLET] ==> Starting build: '6.5.8-arch1-1'
[2023-10-25T07:28:07+0200] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2023-10-25T07:28:07+0200] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2023-10-25T07:28:07+0200] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2023-10-25T07:28:07+0200] [ALPM-SCRIPTLET] sort: cannot read: '/sys/devices/pci0000:00/0000:00:0d.0/usb2/2-3/2-3.2/2-3.2:1.4/ep_81/uevent': No such file or directory
[2023-10-25T07:28:07+0200] [ALPM-SCRIPTLET] modprobe: ERROR: missing parameters. See -h.
[2023-10-25T07:28:07+0200] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2023-10-25T07:28:07+0200] [ALPM-SCRIPTLET]   -> Running build hook: [kms]
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET] ==> Image generation successful
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET] ==> Using configuration file: '/etc/mkinitcpio.conf'
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2023-10-25T07:28:08+0200] [ALPM-SCRIPTLET] ==> Starting build: '6.5.8-arch1-1'
[2023-10-25T07:28:09+0200] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2023-10-25T07:28:09+0200] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2023-10-25T07:28:09+0200] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2023-10-25T07:28:09+0200] [ALPM-SCRIPTLET]   -> Running build hook: [kms]
[2023-10-25T07:28:09+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'ast'
[2023-10-25T07:28:12+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2023-10-25T07:28:12+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2023-10-25T07:28:13+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2023-10-25T07:28:13+0200] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2023-10-25T07:28:13+0200] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2023-10-25T07:28:13+0200] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2023-10-25T07:28:13+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla2xxx'
[2023-10-25T07:28:13+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'aic94xx'
[2023-10-25T07:28:13+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla1280'
[2023-10-25T07:28:13+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'wd719x'
[2023-10-25T07:28:13+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'bfa'
[2023-10-25T07:28:13+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qed'
[2023-10-25T07:28:14+0200] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2023-10-25T07:28:15+0200] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2023-10-25T07:28:16+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-10-25T07:28:16+0200] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
[2023-10-25T07:28:16+0200] [ALPM-SCRIPTLET] ==> Image generation successful
[2023-10-25T07:28:16+0200] [ALPM] running 'gdk-pixbuf-query-loaders.hook'...
[2023-10-25T07:28:16+0200] [ALPM] running 'glib-compile-schemas.hook'...
[2023-10-25T07:28:16+0200] [ALPM] running 'gtk-update-icon-cache.hook'...
[2023-10-25T07:28:16+0200] [ALPM] running 'update-desktop-database.hook'...

Can somebody please help me understand what happened and how to fix the booting?

Last edited by vavra.7 (2023-10-25 08:49:18)

Offline

#2 2023-10-25 08:28:02

astralc
Member
Registered: 2022-09-17
Posts: 127

Re: [SOLVED] Can not boot system after upgrade. ERROR: device not * found.

If it boot to fallback, you can boot to it and run

mkinitcpio -P

to regenerate the initramfs

from your log it look like there was error "modprobe: ERROR: missing parameters. See -h." during initcpio generation in the post build hook (but not in fallback initramfs)

Offline

#3 2023-10-25 08:45:52

vavra.7
Member
Registered: 2021-05-22
Posts: 18

Re: [SOLVED] Can not boot system after upgrade. ERROR: device not * found.

Nice! It did the trick! The system is booting correctly again. Many thanks for the help!

Offline

Board footer

Powered by FluxBB