Hi all,
I'm trying to use iPXE to boot into a live atomic host. I was able to successfully create a tree and build the pxelive images using the build_stage1.sh and build_stage2.sh scripts in the downstream branch of the sig-atomic-buildscripts
github repo. When I actually try to boot a system I receive the following message:
[FAILED] Failed to start switchroot
Looking for more info in the logs I get:
:/# systemctl status initrd-switch-root -l
Failed to switch root: Specified switch root path /sysroot does not seem to be an OS tree. os-release file is missing.
If it check the /sysroot folder I can see that the squashfs image was mounted. I can browse into /sysroot/ostree/boot.0/centos-atomic-host/{ID} and see the entire tree as it is supposed to be.
My iPXE Config is:
#!ipxe
initrd /assets/atomic/new/initramfs-3.10.0-693.5.2.el7.x86_64.img
boot
Is there some kind of kernel arg besides ostree= that I am missing that tells the system to mount the correct os tree? I translated the legacy PXE file into iPXE since I have an iPXE server but it seems I have all the parameters.
Thanks for any help you can provide.
Matt Jansen
St. Anthony Falls Laboratory
University of Minnesota Twin Cities