lxc / distrobuilder

System container image builder for LXC and Incus
https://linuxcontainers.org
Apache License 2.0
548 stars 163 forks source link

repack windows iso can not boot under BIOS #842

Closed nanjj closed 1 month ago

nanjj commented 1 month ago

With bios boot configuration:

config:
  security.csm: "true"
  security.secureboot: "false"
  raw.qemu: "-cpu host"

And add cdrom to boot the repacked windows iso can not boot. The iso can boot under EFI. The original ISO(before repacked) can boot successfully but since it less virtio drivers, the install failed.

stgraber commented 1 month ago

Yeah, it wasn't a priority to conserve the BIOS boot ability of the ISO given that at the time LXD/Incus only supported UEFI. It should be possible to copy the eltorito part of the ISO over to the new one though.