root file system not found on LVM with Ubuntu "jammy" build

fai524-full at lewenberg.com fai524-full at lewenberg.com
Fri Aug 19 15:13:09 CEST 2022


On 8/19/2022 12:31 AM, Thomas Lange wrote:
>>>>>> On Fri, 19 Aug 2022 00:09:52 -0700, fai524-full at lewenberg.com said:
> 
>      > The server builds but the first boot after imaging drops the system to
>      > the initramfs prompt due to a missing /dev/mapper/vg0-root file system.
> Maybe you forgot to install the package lvm2.
> 

That was the issue.

I tried to do a "chroot /target apt-get install lvm2" before reboot but 
that did not seem to solve the problem. So I changed the package_config 
to install lvm2 during build and that fixed it.


More information about the linux-fai mailing list