You are not logged in.

#1 2023-07-24 06:02:20

Hina
Member
Registered: 2021-12-28
Posts: 8

[SOLVED] dropped into an emergency shell after reboot

Here is what I did before this happened.

1. edited my bash_profile to run startx on login https://wiki.archlinux.org/title/Xinit# … X_at_login
2. run pacman -Syu to update system (it has been a little over a week since last update)
3. run poweroff from the command line -> system freezes and nothing happens -> I turn off the system with the power button and restart
4. I am greeted with emergency shell as in the picture which is unresponsive

Further normal reboots result in the same screen, but using the grub fallback initramfs option I was able to boot into my system.

I feel a little out of my depth with this one but I hope to get to the bottom of this.

https://imgur.com/a/8Bi9pB4

https://i.imgur.com/ZAsn20C.jpeg


moderator edit -- replaced oversized image with link.
Pasting pictures and code

UPDATE: my system boots now normally after updating to systemd 254-1

Last edited by Hina (2023-08-02 12:43:11)

Offline

#2 2023-07-24 06:19:59

akb825
Member
Registered: 2011-03-27
Posts: 87

Re: [SOLVED] dropped into an emergency shell after reboot

I encountered the same thing today after updating. In my case the UUID of the device it couldn't mount corresponds to the root filesystem. (i.e. mounted to /)

This appears to be related to the systemd 253.7 update. I was able to restore my system be running the command "sudo pacman -U /var/cache/pacman/pkg/systemd*253.6-2*.pkg.tar.zst" though obviously this isn't a long-term solution.

Offline

#3 2023-07-24 06:53:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,966

Re: [SOLVED] dropped into an emergency shell after reboot

Hina wrote:

using the grub fallback initramfs option I was able to boot into my system.

uname -a
pacman -Qs kernel

appears to be related to the systemd 253.7 update

Are either of you using an encrypted root partition?

Edit: https://bugs.archlinux.org/task/79187

Last edited by seth (2023-07-24 06:55:29)

Offline

#4 2023-07-24 06:55:21

akb825
Member
Registered: 2011-03-27
Posts: 87

Re: [SOLVED] dropped into an emergency shell after reboot

I submitted an Arch bug here: https://bugs.archlinux.org/task/79187

When looking upstream, systemd has this commit immediately after the 253.7 release: https://github.com/systemd/systemd-stab … 5926ee0d14
This fixes issues with non-btrfs disks, where my various partitions are ext4. After building systemd 253.7 locally with this commit applied, I am able to boot as normal.

Last edited by akb825 (2023-07-24 06:58:17)

Offline

#5 2023-07-24 07:03:39

Hina
Member
Registered: 2021-12-28
Posts: 8

Re: [SOLVED] dropped into an emergency shell after reboot

seth wrote:
uname -a
pacman -Qs kernel
Linux arch 6.4.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 19 Jul 2023 19:19:38 +0000 x86_64 GNU/Linux

and

local/embree 4.1.0-1
    Collection of high-performance ray tracing kernels
local/fuse3 3.15.1-1
    Interface for userspace programs to export a filesystem to the Linux kernel
local/iptables 1:1.8.9-1
    Linux kernel packet control tool (using legacy interface)
local/kmod 30-3
    Linux kernel module management tools and library
local/lib32-libdrm 2.4.115-1
    Userspace interface to kernel DRM services (32-bit)
local/libdrm 2.4.115-1
    Userspace interface to kernel DRM services
local/libnetfilter_conntrack 1.0.9-1
    Library providing an API to the in-kernel connection tracking state table
local/libnfnetlink 1.0.2-1
    Low-level library for netfilter related kernel/userspace communication
local/libsysprof-capture 3.48.0-2
    Kernel based performance profiler - capture library
local/libtraceevent 1:1.7.3-1
    Linux kernel trace event library
local/libtracefs 1.7.0-1
    Linux kernel trace file system library
local/linux 6.4.4.arch1-1
    The Linux kernel and modules
local/linux-api-headers 6.3-1
    Kernel headers sanitized for use in userspace
local/mtdev 1.1.6-2
    A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol
local/ndctl 76.1-1
    Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
local/openvkl 1.3.2-1
    Intel® Open Volume Kernel Library
local/python-comm 0.1.3-2
    Python Comm implementation for the Jupyter kernel protocol
local/python-ipykernel 6.24.0-1
    The ipython kernel for Jupyter
local/texlive-latex 2023.66594-19 (texlive)
    TeX Live - LaTeX fundamental packages

I am not using an encrypted system.

Offline

#6 2023-07-24 07:06:03

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,966

Re: [SOLVED] dropped into an emergency shell after reboot

Yeah, no - check the bug akb825 submitted (and that I found pretty much after hitting submit wink

Offline

#7 2023-07-24 07:06:49

akb825
Member
Registered: 2011-03-27
Posts: 87

Re: [SOLVED] dropped into an emergency shell after reboot

$ uname -a
Linux main 6.4.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 19 Jul 2023 19:19:38 +0000 x86_64 GNU/Linux
$ pacman -Qs kernel
local/embree 4.1.0-1
    Collection of high-performance ray tracing kernels
local/embree3 3.13.5-2
    Collection of high-performance ray tracing kernels
local/fuse3 3.15.1-1
    Interface for userspace programs to export a filesystem to the Linux kernel
local/iptables 1:1.8.9-1
    Linux kernel packet control tool (using legacy interface)
local/kexec-tools 2.0.26-1
    Load another kernel from the currently executing Linux kernel
local/kmod 30-3
    Linux kernel module management tools and library
local/lib32-libdrm 2.4.115-1
    Userspace interface to kernel DRM services (32-bit)
local/libdrm 2.4.115-1
    Userspace interface to kernel DRM services
local/libnetfilter_conntrack 1.0.9-1
    Library providing an API to the in-kernel connection tracking state table
local/libnfnetlink 1.0.2-1
    Low-level library for netfilter related kernel/userspace communication
local/libsysprof-capture 3.48.0-2
    Kernel based performance profiler - capture library
local/libtraceevent 1:1.7.3-1
    Linux kernel trace event library
local/libtracefs 1.7.0-1
    Linux kernel trace file system library
local/linux 6.4.4.arch1-1
    The Linux kernel and modules
local/linux-api-headers 6.3-1
    Kernel headers sanitized for use in userspace
local/mtdev 1.1.6-2
    A stand-alone library which transforms all variants of kernel MT events to
    the slotted type B protocol
local/ndctl 76.1-1
    Utility library for managing the libnvdimm (non-volatile memory device)
    sub-system in the Linux kernel
local/perf 6.3-2 (linux-tools)
    Linux kernel performance auditing tool
local/quota-tools 1:4.09-1
    Tools to manage kernel-level quotas in Linux
local/virtualbox-host-modules-arch 7.0.10-2
    Virtualbox host kernel modules for Arch Kernel

No encrypted disks.

Offline

Board footer

Powered by FluxBB