is there any way for lxc/lxd (without VM) to start from a bzimage/bzroot type system?
the contents of the target are:
bzimage is a kernel, so no, you can’t boot a different kernel in a container.
Now if you just care about the userspace side of things, you may be able to unpack bzroot and import that as a container rootfs.
that sounds very promising, I saw a mention of unpacking bzroot on my google-spree, but not sure how I’d import that afterwards, is there some docs? thanks!
What storage driver are you using?
Easiest is to use our
lxd-migrate tool. We have a static build of it available at Release LXD 5.3 · lxc/lxd · GitHub
You can tell it to import a container and then give it the path to your unpacked rootfs.
thanks that seems to have made it work! though is there a way to attach to console early or redirect all output to a file? by the time I attach it’s already errored out and I can’t get the full bootlog this way to see what paths I need to passthrough for it to work
lxc start --console.
so if there’s no output up until the error message with that flag, that means there’s no other output prior?