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

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


I am attempting to build an Ubuntu "jammy" VM using FAI version 5.10.3.

The disk configuration is
## #### #### #### #### #### #### #### ##
disk_config disk1 align-at:4k fstabkey:uuid
primary /boot              512   ext4  rw,noatime
primary -                  4096- -     -

disk_config lvm
vg             vg0                  sda2
vg0-root       /                     6G-  ext4 
defaults,acl,noatime,errors=remount-ro
vg0-afs        /var/cache/openafs   4096  ext4  defaults,noatime
vg0-swap       /swap            RAM:100%  swap sw
## #### #### #### #### #### #### #### ##

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.

####
Begin: Waiting for the root file system ... Running /scripts/local-block ...
done.
done.
Gave up waiting for root file system device. Common problems:
  - Boot args (cat /proc/cmdline)
    - Check rootdelay= (did the system wait long enough?)
  - Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mapper/vg0-root does not exist. Dropping to a shell!



More information about the linux-fai mailing list