You are not logged in.

#1 2017-12-08 10:11:01

Trellje
Member
Registered: 2017-12-08
Posts: 2

Device not found after kernel update

Hi,

I updated my kernel to linux-4.14.4-1. After a reboot I am dropped to an emergency console stating:

Waiting 10 seconds for device /dev/disk/by-uuid/<UUID>
ERROR: device <UUID> not found. Skipping fschk.
:: Mounting UUID=<UUID> on real root
mount: /new_root: can't find UUID=<UUID>

The root partition is an LVM volume, so I am assuming that somehow the lvm module did not get inserted into the initramfs.
Running

ls -la

will only output a single partition (boot partition) which is not on an LVM. However, I tried using the fallback image but the result is the same.

It is also possbile that the newest version of LVM2 (2.02.176-1) may be the cause of the problem since I also updated it.

Last edited by Trellje (2017-12-08 10:14:49)

Offline

#2 2017-12-08 10:44:51

loqs
Member
Registered: 2014-03-06
Posts: 18,960

Re: Device not found after kernel update

Welcome to the arch linux forums Trellje.  As far as I am aware lvm2 just needs the dm-mod.
When you were dropped to the rescue shell could you check if that module was loaded?
Also from the rescue shell does /dev/mapper/control exist and if you maually try and detect the volume

# vgscan
# vgchange -ay

Offline

#3 2017-12-08 11:03:35

Trellje
Member
Registered: 2017-12-08
Posts: 2

Re: Device not found after kernel update

Thanks for your reply. /dev/mapper does not even exist. the "dm-mod" module is also missing:

# lsmod | grep -c dm
0

Last edited by Trellje (2017-12-08 11:04:07)

Offline

#4 2017-12-08 11:11:43

loqs
Member
Registered: 2014-03-06
Posts: 18,960

Re: Device not found after kernel update

From the rescue shell what is the output of

uname -a

If you boot from live media and chroot in ensuring the boot partition is mounted if it is separate.  What is the output of the following

pacman -Q linux
file /boot/vmlinuz-linux

Offline

#5 2017-12-08 13:41:01

Trelje
Guest

Re: Device not found after kernel update

EDIT:
I must have overwritten mkinitcpio.conf with a default one when I ran pacdiff. Therefore, lvm2 was not included in the HOOKS.


Original message:

# uname -a
Linux (none) 4.14.4-1-ARCH #1 SMP PREEMPT Tue Dec 5 19:10:06 UTC 2017 x86_64 GNU/Linux
# pacman -Q linux
linux 4.14.4-1

# file /boot/vmlinuz-linux
/boot/vmlinuz-linux: Linux kernel x86 boot executable bzImage, version 4.14.4-ARCH (builduser@heftig) #1 SMP PREEMPT Tue Dec 5 19:10:06 UTC 2017, RO-rootFS, swap_dev 0x5, Normal VGA

Last edited by Trelje (2017-12-08 15:20:20)

#6 2017-12-08 18:07:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Device not found after kernel update


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB