You are not logged in.

#1 2019-06-15 13:14:59

karcher
Member
Registered: 2018-01-09
Posts: 140

[SOLVED] Cannot boot after update (dropped into an emergency shell)

Hi all,

today I updated my system and now when I restart I'm being dropped into an emergency shell with this message:

Warning: /lib/modules/5.1.9-1-arch1-1-ARCH/modules.devname not found - Ignoring
Starting version 242.29-1-arch
ERROR: resume: hibernation device 'UUID=...' not found
ERROR: device 'UUID=...' not found. Skipping fsck.
mount: /new_root: can't find UUID=...
You are being dropped to arecovery shell.
sh: can't access tty: job control turned off
[rootfs /]#

Same error for linux-lts kernel.

Similar threads I have found:
https://unix.stackexchange.com/question … ency-shell
https://forum.antergos.com/topic/7201/d … o-keyboard
https://bbs.archlinux.org/viewtopic.php?id=183567
https://forum.manjaro.org/t/mount-new-r … date/32290

In the first thread the solution seems very easy but the keyboard does not work!
My boot disk is formatted with BTRFS and I have an partition with Ubuntu installed on it.

Any ideas how to fix it?

Last edited by karcher (2019-06-17 15:30:57)

Offline

#2 2019-06-15 13:19:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [SOLVED] Cannot boot after update (dropped into an emergency shell)

Sounds like the initramfs didn't get updated. Don't know if your bootloader config is wrong, you ran out of space, or if there was an error.

Offline

#3 2019-06-15 14:19:52

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] Cannot boot after update (dropped into an emergency shell)

@Scimmia: Thanks for the response!

Can it be that suddenly the bootloader config is wrong?
The question remains how can I fix it.

Offline

#4 2019-06-15 15:03:10

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [SOLVED] Cannot boot after update (dropped into an emergency shell)

By adressing the problem.
What Scimmia implied is that there's insufficient information on what the problem actually is.

Post the output of

lsblk -f

and your bootloader config. You can do this offline (ie. from some live distro or the arch installation iso, in doubt see https://wiki.archlinux.org/index.php/Pastebin)

Offline

#5 2019-06-17 15:30:28

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] Cannot boot after update (dropped into an emergency shell)

@seth: Thanks for the response!

After multiple attempts I finally could boot into my system.
I'm not 100% sure but it seems that the latest nvidia-dkms package was the cause of the issue.
Apparently something went wrong during the update with initramfs like @Scimmia mentioned before.
I'm describing shortly what I've done in case someone has the same issue.

1. Used the latest Archiso to boot.

2. Mounted my btrfs subvolumes like this:
# mount -o subvol=@ /dev/sdX /mnt
# mount -o subvol=@opt /dev/sdX /mnt/opt
...

3. Changed into broken installation:
# arch-chroot /mnt

4. Downgraded nvidia-dkms and nvidia-utils:
# pacman -U nvidia-dkms-430.14-9  nvidia-utils-430.14-1

Before step 4 I removed the packages virtualbox-host-dkms and vhba-module-dkms with pacman -Rc and restarted the system but it froze during boot.
I've also tried:
# arch-chroot /mnt mkinitcpio -p linux
before step 4 but the system froze during boot.

Offline

Board footer

Powered by FluxBB