I am trying to boot a Debian Live image in a LXD VM. I am receiving an error saying that the live file system can’t be found. The interesting part is that the boot menu does come up when I start the LXD VM.
Interesting part is that I see the Boot menu, but once I continue, I get the graphical “…” dots on the screen showing the boot process. After about a minute, it fails with the “initramfs” error. This same image boots just fine in virt-manager as long as the disk type is set to “disk bus” USB.
@tomp Thomas, I am guessing that the core image is Debian based. Here is the link to the image. TailsOS
I am able to use this exact image in Virt-Manager and here’s a couple of screens showing how.
The notable change was that I had to specify the disk in KVM/QEMU as type USB and “removeable” before I could get it to boot. If I could build a LXD VM with the same attributes, I am likely to have success.
@tomp I titled this thread “debian” because there were other images that used Debian that had this booting issue. Hopefully the “TailsOS” is a specific use case that might home in on what exactly I might have overlooked. Thanks, Scott
I actually had tried that about a week ago. They do have a “.iso” and I tried booting it with the same result and I also renamed the “.img” to “.iso” and it booted with the same error as well. From my experience with KVM, it appears that the bus type of “USB” fixed the error over there along with specifying the removable attribute. Does that make any sense?
@tomp My inclination here is to believe that the “busybox” error that I get at the top of this thread is related to the fact that the Debian image being tested (TailsOS) is looking for media that looks like a removable USB drive rather than a CD Rom. I don’t know what difference that should make, but my example of booting the TailsOS sucessfully in QEMU/KVM by specifying that the TailsOS image was disk bus type “USB” made all of the difference. I’m not sure what that equivalent option might be in a LXD VM.
@tomp have you ever heard of this “USB Bus” type as being a requirement for booting an image before? The thing that is baffling to me is that if KVM/QEMU has support for this capability, isn’t it true that under the covers that a LXD VM uses KVM as the Virtual Machine engine?
@tomp Thanks Thomas. I added a feature request as you indicated. After much testing, this does appear to be a functionality gap that exists in KVM/QEMU, but not in LXD VM’s.