You are not logged in.
Hello.
I have a problem after compiling a custom kernel with lvm.
When I load the custom kernel initramfs shows:
:: Running Hook [lvm2]
Activating logical volumes ...
4 logical volume (s) in volumn group "vg" now active
/ dev / mapper / vg-root: open failed: No such file or directory
/ dev / mapper / vg-var: open failed: No such file or directory
/ dev / mapper / vg-swap: open failed: No such file or directory
/ dev / mapper / vg-home: open failed: No such file or directory
Then continue with no problem rc.sysinit script and mount the file system.
Everything seems to work correctly, but I don't know why it shows that message during boot.
When I load linux kernel ARCH, that message dont appears.
Thanks
Offline
Welcome to the forum.
This thread seems to have a very similar problem and provides a solution:
Offline
Thanks for answering.
I read the post you mention and helped me to approach the problem, but I have not solved.
I modified initramfs image, calling a shell before receiving these messages, when the script tries to run the lvm2 hook.
I tried running the following commands manually
lvm
vgscan
vgchange-ay
The last command gives the error. Curiously, if I run it a second time, it works.
Offline