Unable to boot Winodws 7 32 bit editions from ISO file

I am having an issue where I cannot get a VM to boot from Windows 7 ISO files that are for 32 bit editions. I can get the 64 bit editions ISO files to boot.

I am using Ubuntu 24.04 on the host with the snap version of LXD 5.21.1 LTS.

I cannot find any errors in the journalctl ouput. The console display will flash a message “Waiting for display 1…” and then return to the Boot Manager screen.

I am creating the VM with this command: lxc init --vm --empty
I then use profiles to set cpu and memory limits, the paths to the ISO images for Windows 7 and virtio drivers. The final configuration is:
architecture: x86_64
config:
limits.cpu: “2”
limits.memory: 4GB
raw.apparmor: /mnt/sambaserver/** rwk,
raw.qemu: -drive file=‘/mnt/sambaserver/Windows 7/en_windows_7_sp1_x86.iso’,index=0,media=cdrom,if=ide
-drive file=‘/mnt/sambaserver/Windows 7/virtio-win-0.1.173.iso’,index=1,media=cdrom,if=ide
-cpu host
security.secureboot: “false”
volatile.cloud-init.instance-id: fd1ef8c6-0090-4c3a-ad4c-f216752dfe18
volatile.eth0.host_name: tap4fe726bb
volatile.eth0.hwaddr: 00:16:3e:99:5e:f4
volatile.last_state.power: RUNNING
volatile.last_state.ready: “false”
volatile.uuid: 42002c23-0f58-42ca-982b-ed800b53ba70
volatile.uuid.generation: 42002c23-0f58-42ca-982b-ed800b53ba70
volatile.vsock_id: “495110574”
devices:
eth0:
name: eth0
network: lxdbr0
type: nic
root:
path: /
pool: default
size: 60GiB
type: disk
ephemeral: false
profiles:

  • default
  • windows-7-pro-x86-install
  • vm-small
    stateful: false
    description: “”

I have tried using the --debug option on lxc but I did not see any obvious errors. Of course I am not that proficient with LXD yet either.

Any ideas why this would happen?

For the 64bit images were you using lxd-imagebuilder to include the virtio drivers?

I’m not sure if those work with 32bit images.

cc @dinmusic