Boot-looping or hanging Debian 11 FAI UEFI PXE

Thomas Lange lange at cs.uni-koeln.de
Tue May 7 11:09:16 CEST 2024


>>>>> On Tue, 7 May 2024 08:13:42 +0000, Nicolas Formichella <stigpro at outlook.fr> said:

    > Hello,
    > I am wanting to test a deployment for a Debian 11 KVM VM using a Debian 12 KVM VM, but it crashes and bootloops with seemingly no reasoning.

    > ```
    > append initrd=initrd.img-5.10.0-29-amd64 ip=dhcp  root=/srv/fai/nfsroot:vers=3 rd.live.overlay.overlayfs=1 rd.live.overlay.readonly=1 console=tty0 console=ttyS0,115200  FAI_FLAGS=debug,sshd,createvt FAI_CONFIG_SRC=nfs://faiserver/srv/fai/fai_config/ FAI_ACTION=install systemd.log_level=debug systemd.log_target=console systemd.journald.forward_to_console=1
    > ```

FAI never used these options:
  rd.live.overlay.overlayfs=1 rd.live.overlay.readonly=1
I'm pretty sure they will break things.
Instead you have to use the option rootovl.

There may be problems if your nfsroot is not build properly. First,
which FAI version are you using? Do you use systemd inside the nfsroot?
FAI 6.2 uses systemd during the installation and if you still have an
older /etc/fai/NFSROOT config file systsemd may be missing inside the
nfsroot. If you still have this line in NFSROOT (when using FAI 6.2),
please remove it abd rebuild your nfsroot.

sysvinit-core systemd-sysv-


If you are using FAI < 6.2, the nfsroot does not use systemd and I
wonder why you have added some systemd.log... options to the kernel
command line.
-- 
regards Thomas


More information about the linux-fai mailing list