Boot lxc from usb

GHMC

Active Member
Jan 5, 2018
10
2
43
58
Netherlands
www.calmus.nl
Hello,

I created an Ubuntu lxc container that I want to use to boot a usb-stick with a secured image from. But i can't seem to find the option to boot the lxc from the usb stick when I start it up. The usb stick is recognised and can be read and used from the host. It does work when booting from a VM, but that;s not what I'm looking for.

Can this work with a lxc container? If so, how?
 
Hey,

a CT runs on the PVE host, not in a VM. You need virtual hardware to boot a bootable USB, which a container does not have. It also does not really boot, it just starts. So, I do not think what you would like to do is possible.