You are not logged in.

#1 2022-06-05 15:03:31

varens
Member
From: Seattle, WA
Registered: 2019-10-15
Posts: 1

/dev/mapper empty after a system upgrade

I've been running this setup for about a year, simple LVM and GRUB with no encryption:

nvme0n1
├─nvme0n1p1    /boot
└─nvme0n1p2
  ├─vg00-lv_root
  ├─vg00-lv_var
  └─vg00-lv_home
nvme1n1    another os

Earlier today, after being away from the computer for about an hour, I was presented with my display manager login prompt as if I'd just rebooted. I looked through journalctl and noticed core dumps from xorg, fluxbox, and virtualbox which were all running at the time. I didn't see anything else unusual in the logs. After several hours I did pacman -Syu and upon rebooting got this:

Starting version 251.2-1-arch
ERROR: device '/dev/mapper/vg00-lv_root' not found. Skipping fsck.
mount: /new_root: no filesystem type specified.
You are now being dropped into an emergency shell.

The only entry in /dev/mapper is the character device control.
Booting the Arch installation iso, I can mount and access the volumes.

Looking at pacman.log, the only error produced by the update was related to vmware-workstation:

[ALPM-SCRIPTLET] ==> dkms install --no-depmod vmware-workstation/16.2.3_19376536 -k 5.18.1-arch1-1
[ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.18.1-arch1-1 (x86_64)

but I don't see how that would relate to the issue at hand.

/etc/mkinitcpio.conf:
HOOKS=(base udev autodetect modconf block lvm2 filesystems keyboard fsck)

/etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet splash sysrq_always_enabled=1 nvidia-drm.modeset=1"
GRUB_CMDLINE_LINUX=""
GRUB_PRELOAD_MODULES="part_gpt part_msdos lvm"

I rebuilt both the initramfs and grub images with the same result.
Not sure what to do at this point.. Any help is appreciated.


<large-friendly-letters>don't panic</large-friendly-letters>

Offline

Board footer

Powered by FluxBB