I'm trying to set up my LVM Swap in a way in which I can also resume it.
It works with a normal partition, but I can't get it to work with LVM.
My cmdline is something like:
I've tried adding
rd.auto, but it didn't help anything.
I'm using fedora and the dracut ramdisk includes
resume and LVM.
When trying to resume, the last message is
show plymouth boot screen. Then the screen goes to power save mode and I can't interact with the machine anymore.
I also tried
resume=UUID=mylvmuuid with the same results.
I tried rd.shell rd.debug and rd.break=pre-mount what I got was the kernel booting, then an image loading progress was indicated (I'm fairly sure it is related to the resume image).
After that the screens went dark as usual. And I was unable to interact with the machine.
However I was able the hear a notification sound from my desktop environment shortly after.
I don't know what is going on, but it partially seems to work. However I still don't know how to debug this...
Because: The screens are dark, mouse and keyboard input seem to be ignored;
I tried to log in and touch a file (without seeing anything), and I could not find that file after rebooting, so I'm pretty sure that the keyboard inputs are ignored.
I'll try to find something in the journal, but I didn't find anything so far(because the resume boot doesn't seem to be logged).
My current contents of the initramfs (some omissions):
lsinitrd -k -f /boot/initramfs-4.13.16-200.fc26.x86_64.img Image: /boot/initramfs-4.13.16-200.fc26.x86_64.img: 21M ======================================================================== Early CPIO image ======================================================================== drwxr-xr-x 3 root root 0 Nov 6 11:30 . -rw-r--r-- 1 root root 2 Nov 6 11:30 early_cpio drwxr-xr-x 3 root root 0 Nov 6 11:30 kernel drwxr-xr-x 3 root root 0 Nov 6 11:30 kernel/x86 drwxr-xr-x 2 root root 0 Nov 6 11:30 kernel/x86/microcode -rw-r--r-- 1 root root 26624 Nov 6 11:30 kernel/x86/microcode/GenuineIntel.bin ======================================================================== Version: dracut-046-3.1.fc26 Arguments: -f 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 ======================================================================== [...] ========================================================================