Trouble booting after upgrading F27 to F28

I can’t get it to boot unless I first enter

lvm vgchange -ay
systemctl default

I have 3 x2GB drives with an LVM pool. It seems that it doesn’t mount the pool automatically any more? How would I fix it?

One more edit :smiley:
Hopefully this helps. Add lvm to grub preload modules.
Arch Wiki - GRUB#LVM

Obsolete:

Edit:
Yeah I don’t think Fedora has mkinitcpio.conf. Trying to find what they use instead of it.

I’m pretty much just guessing here, but do you have lvm2 in your /etc/mkinitcpio.conf?

I believe Fedora has the udev so you should have lvm2 hooked.
HOOKS=(base udev ... block lvm2 filesystems)
Arch Wiki - LVM

Oh yeah, you propably use grub. You could try to just update grub.cfg:
grub2-mkconfig -o /boot/grub2/grub.cfg

didn’t work

GRUB_PRELOAD_MODULES=“lvm”
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed ‘s, release .*$,g’ /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT=“console”
GRUB_CMDLINE_LINUX=“rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet iommu=1 amd_iommu=on rd.driver.pre=vfio-pci”
GRUB_DISABLE_RECOVERY=“true”


]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file …
File descriptor 23 (socket:[49755]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
File descriptor 26 (socket:[40651]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
File descriptor 34 (socket:[49745]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
File descriptor 35 (socket:[49746]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
File descriptor 36 (socket:[49754]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
File descriptor 39 (socket:[49759]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
File descriptor 23 (socket:[49755]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
File descriptor 26 (socket:[40651]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
File descriptor 34 (socket:[49745]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
File descriptor 35 (socket:[49746]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
File descriptor 36 (socket:[49754]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
File descriptor 39 (socket:[49759]) leaked on vgs invocation. Parent PID 4279: /usr/sbin/grub2-probe
Found linux image: /boot/vmlinuz-4.17.19-200.fc28.x86_64
Found initrd image: /boot/initramfs-4.17.19-200.fc28.x86_64.img
Found linux image: /boot/vmlinuz-4.17.17-100.fc27.x86_64
Found initrd image: /boot/initramfs-4.17.17-100.fc27.x86_64.img
Found linux image: /boot/vmlinuz-4.15.17-300.fc27.x86_64
Found initrd image: /boot/initramfs-4.15.17-300.fc27.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-874740d0b39d42329efd21a83237889b
Found initrd image: /boot/initramfs-0-rescue-874740d0b39d42329efd21a83237889b.img
File descriptor 23 (socket:[49755]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
File descriptor 26 (socket:[40651]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
File descriptor 34 (socket:[49745]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
File descriptor 35 (socket:[49746]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
File descriptor 36 (socket:[49754]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
File descriptor 39 (socket:[49759]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
File descriptor 23 (socket:[49755]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
File descriptor 26 (socket:[40651]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
File descriptor 34 (socket:[49745]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
File descriptor 35 (socket:[49746]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
File descriptor 36 (socket:[49754]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
File descriptor 39 (socket:[49759]) leaked on vgs invocation. Parent PID 4690: /usr/sbin/grub2-probe
Found Windows Boot Manager on /dev/nvme0n1p2@/EFI/Microsoft/Boot/bootmgfw.efi
done
[root@#

Edit:
Again with the edits but it looks like I was wrong again. I desided to try Fedora with LVM and grub did not need the lvm module.

Messing with grub did not reproduce the problem for me.

How did you do the LVM? Did you do a seperate partition for boot from root? Please paste your /etc/fstab.

Obsolete:

Just to make it clear I have not encountered these errors before. Quick serach suggest that these are just cosmetical errors and that it would be fine to reboot to see if it works.

https://forge.univention.org/bugzilla/show_bug.cgi?id=40650#c3

I did in the GUI awhile ago (I suck at Linux, don’t laugh). I don’t really remember how I did it.

more /etc/fstab

/etc/fstab

Created by anaconda on Sat Sep 16 03:55:43 2017

Accessible filesystems, by reference, are maintained under ‘/dev/disk’

See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info

/dev/mapper/fedora-root / ext4 defaults 1 1
UUID=e5103a42-237f-48c7-a118-4dbe0eedac7b /boot ext4 defaults 1 2
UUID=0224-945D /boot/efi vfat umask=0077,shortname=winnt 0 2
/dev/mapper/fedora-home /home ext4 defaults 1 2
/dev/mapper/fedora-swap swap swap defaults 0 0

We all have our own areas of expertize and that’s just fine.

Edit:
Check if the dracut lvm module is loaded. The module should be under “dracut modules:” pretty high at the list, before the massive listing of folders and files.
# lsinitrd /boot/initramfs-<kernel ver>.img |less

Missing root part from cmd line would give similar issue but home does not:

According to your fstab you have root, home and swap in lvm but your grub cmdline is missing the home partition. This sounds promising.

I’ll do a quick test to see if I get boot interruption with the lvm home partition removed from grub cmdline.

Version: dracut-048-14.git20180726.fc28

Arguments: -f --kver ‘4.17.19-200.fc28.x86_64’

dracut modules:
bash
systemd
systemd-initrd
nss-softokn
i18n
network
ifcfg
drm
plymouth
dm
kernel-modules
kernel-network-modules
lvm
resume
rootfs-block
terminfo
udev-rules
dracut-systemd
usrmount
base
fs-lib
shutdown

Bump, still isn’t working