[GH-ISSUE #1273] Since 2.0.70, not able to boot via QEMU / libvirt #1914

Closed
opened 2026-03-01 18:37:18 +03:00 by kerem · 10 comments
Owner

Originally created by @tobiashochguertel on GitHub (Jul 17, 2023).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1273

Describe the bug
After selecting an OS to boot, it gets loaded but then when it should boot, the virtual machine resets without an error message. I attached a video from the boot process and hope that helps.

I tested master, development and v. 2.0.68, v. 2.0.69 and v. 2.0.70. Only the latest version of netboot.xyz is affected by this behavior (master, development, v. 2.0.70).
Previous Versions v. 2.0.68 and v. 2.0.69 are not affected and work great with QEMU/libvirt.

To Reproduce
Steps to reproduce the behavior:

  1. RedHat Cockpit or Proxmox VE, create a new Virtual Machine, boot via PXE (netboot.xyz v.2.0.70)
  2. Deactivate Signature Check (set it to false)
  3. Select "Linux Network Installations (64bit)"
  4. Select "Fedora Core OS"
  5. Select "Stable"

https://github.com/netbootxyz/netboot.xyz/assets/3332669/73018db8-1cef-41e7-8dff-1d3c88932110

I see this issue mostly with virtualization QEMU/libvirt. A Thin Client from Fujitsu doesn't have the issue.

With the previous Version v.2.0.69 it works with QEMU/libvirt and Thin Client from Fujitsu.

Expected behavior
The OS will boot.

Additional context
Discord Thread, where I have written down some details

Originally created by @tobiashochguertel on GitHub (Jul 17, 2023). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1273 **Describe the bug** After selecting an OS to boot, it gets loaded but then when it should boot, the virtual machine resets without an error message. I attached a video from the boot process and hope that helps. I tested `master`, `development` and `v. 2.0.68`, `v. 2.0.69` and `v. 2.0.70`. Only the latest version of netboot.xyz is affected by this behavior (`master`, `development`, `v. 2.0.70`). Previous Versions `v. 2.0.68` and `v. 2.0.69` are not affected and work great with QEMU/libvirt. **To Reproduce** Steps to reproduce the behavior: 1. RedHat Cockpit or Proxmox VE, create a new Virtual Machine, boot via PXE (netboot.xyz v.2.0.70) 2. Deactivate Signature Check (set it to false) 3. Select "Linux Network Installations (64bit)" 4. Select "Fedora Core OS" 5. Select "Stable" https://github.com/netbootxyz/netboot.xyz/assets/3332669/73018db8-1cef-41e7-8dff-1d3c88932110 I see this issue mostly with virtualization QEMU/libvirt. A Thin Client from Fujitsu doesn't have the issue. With the previous Version v.2.0.69 it works with QEMU/libvirt and Thin Client from Fujitsu. **Expected behavior** The OS will boot. **Additional context** [Discord Thread, where I have written down some details](https://discord.com/channels/425186187368595466/425186187368595468/1130240909364166787)
kerem 2026-03-01 18:37:18 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rufo commented on GitHub (Jul 28, 2023):

For whatever it's worth, I seem to have the same thing. I thought it might be limited to just Proxmox, but trying to netboot a Beelink EQ12 had identical behavior 🤔 Rolling back to 2.0.69 works better in Proxmox for me; I haven't tried it on the EQ12 directly, though I'm likely to sometime over this weekend, and maybe noodle around a bit to see if I can identify any differences between .69 and .70.

I should note also that I'm using the LinuxServer.io docker image to host a local version of the netboot.xyz, though the only modifications I've made are to windows.ipxe and the necessary set of files to boot a Windows installation environment. I don't think that would make any difference to the boot process, since it's definitely downloading the files from the appropriate sources, but figured it was worth noting in the interest of clarity.

EDIT: Went back up to .70 and I can't seem to replicate this on the EQ12 again, even though I spent enough time on it that I had to load a whole bunch of images on to the PiKVM the other day 🤔 I'll test more with Proxmox tomorrow.

<!-- gh-comment-id:1655910420 --> @rufo commented on GitHub (Jul 28, 2023): For whatever it's worth, I seem to have the same thing. ~~I thought it might be limited to just Proxmox, but trying to netboot a [Beelink EQ12](https://www.amazon.com/Beelink-U59-Processor-Desktop-Computers/dp/B0B771941N) had identical behavior 🤔~~ Rolling back to 2.0.69 works better in Proxmox for me; I haven't tried it on the EQ12 directly, though I'm likely to sometime over this weekend, and maybe noodle around a bit to see if I can identify any differences between .69 and .70. I should note also that I'm using the LinuxServer.io docker image to host a local version of the netboot.xyz, though the only modifications I've made are to `windows.ipxe` and the necessary set of files to boot a Windows installation environment. I don't think that would make any difference to the boot process, since it's definitely downloading the files from the appropriate sources, but figured it was worth noting in the interest of clarity. EDIT: Went back up to .70 and I can't seem to replicate this on the EQ12 again, even though I spent enough time on it that I had to load a whole bunch of images on to the PiKVM the other day 🤔 I'll test more with Proxmox tomorrow.
Author
Owner

@rufo commented on GitHub (Jul 29, 2023):

A little more information here: it seems that the Proxmox problem is specifically using the VirtIO network interface with 2.0.70. If I change the VM's network card to be an Intel E1000, it gets past kernel/initrd downloading on 2.0.70, and if I downgrade to 2.0.69, it will do so with a VirtIO NIC.

<!-- gh-comment-id:1656775324 --> @rufo commented on GitHub (Jul 29, 2023): A little more information here: it seems that the Proxmox problem is specifically using the VirtIO network interface with 2.0.70. If I change the VM's network card to be an Intel E1000, it gets past kernel/initrd downloading on 2.0.70, and if I downgrade to 2.0.69, it will do so with a VirtIO NIC.
Author
Owner

@ZiXia1 commented on GitHub (Aug 10, 2023):

My vps has the same condition as yours, he will enter netboot again after selecting the system

<!-- gh-comment-id:1673338071 --> @ZiXia1 commented on GitHub (Aug 10, 2023): My vps has the same condition as yours, he will enter netboot again after selecting the system
Author
Owner

@antonym commented on GitHub (Aug 11, 2023):

The iPXE SHA for 2.0.70 was github.com/ipxe/ipxe@6f57d91935
and the one for 2.0.69 was github.com/ipxe/ipxe@03eea19c19

The diff is:
github.com/ipxe/ipxe@03eea19c19...6f57d91935

So it's possible something in upstream iPXE may have changed. I don't have the cycles to dig into it right now, but if you notice something in your testing, please open an issue with IPXE.

<!-- gh-comment-id:1675506759 --> @antonym commented on GitHub (Aug 11, 2023): The iPXE SHA for 2.0.70 was https://github.com/ipxe/ipxe/commit/6f57d919357a43507935a5ea78a66702ac0f3d54 and the one for 2.0.69 was https://github.com/ipxe/ipxe/commit/03eea19c19b52851002654c2818b765d4aa42894 The diff is: https://github.com/ipxe/ipxe/compare/03eea19c19b52851002654c2818b765d4aa42894...6f57d919357a43507935a5ea78a66702ac0f3d54 So it's possible something in upstream iPXE may have changed. I don't have the cycles to dig into it right now, but if you notice something in your testing, please open an issue with IPXE.
Author
Owner

@ZiXia1 commented on GitHub (Aug 13, 2023):

The iPXE SHA for 2.0.70 was ipxe/ipxe@6f57d91 and the one for 2.0.69 was ipxe/ipxe@03eea19

The diff is: ipxe/ipxe@03eea19...6f57d91

So it's possible something in upstream iPXE may have changed. I don't have the cycles to dig into it right now, but if you notice something in your testing, please open an issue with IPXE.

Hi, I found the problem should be in the code on May 31, 2023 this day.
https://github.com/netbootxyz/netboot.xyz/commits/development?after=42f21802c80524a63b3a2f1234a4ca8fbcc411fa+209&branch=development&qualified_name=refs%2Fheads%2Fdevelopment

I first tested at github.com/netbootxyz/netboot.xyz@6c23ec7457
Cannot boot properly. When I test
github.com/netbootxyz/netboot.xyz@08e265a6d4
Can boot normally

So I think the problem should be in the code on May 31, 2023

<!-- gh-comment-id:1676246571 --> @ZiXia1 commented on GitHub (Aug 13, 2023): > The iPXE SHA for 2.0.70 was [ipxe/ipxe@6f57d91](https://github.com/ipxe/ipxe/commit/6f57d919357a43507935a5ea78a66702ac0f3d54) and the one for 2.0.69 was [ipxe/ipxe@03eea19](https://github.com/ipxe/ipxe/commit/03eea19c19b52851002654c2818b765d4aa42894) > > The diff is: [ipxe/ipxe@03eea19...6f57d91](https://github.com/ipxe/ipxe/compare/03eea19c19b52851002654c2818b765d4aa42894...6f57d919357a43507935a5ea78a66702ac0f3d54) > > So it's possible something in upstream iPXE may have changed. I don't have the cycles to dig into it right now, but if you notice something in your testing, please open an issue with IPXE. Hi, I found the problem should be in the code on May 31, 2023 this day. https://github.com/netbootxyz/netboot.xyz/commits/development?after=42f21802c80524a63b3a2f1234a4ca8fbcc411fa+209&branch=development&qualified_name=refs%2Fheads%2Fdevelopment I first tested at https://github.com/netbootxyz/netboot.xyz/commit/6c23ec74577a97a36a349b2390084377979ff02c Cannot boot properly. When I test https://github.com/netbootxyz/netboot.xyz/commit/08e265a6d464267f828bfdbe0b7a7fd403e43ef6 Can boot normally So I think the problem should be in the code on May 31, 2023
Author
Owner

@louishot commented on GitHub (Sep 1, 2023):

I have the same problem, in Proxmox it always in restart loop, in Vultr it freeze after Init like this

http://mirror.cogentco.com/debian/dists/bullseye/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux ok
http://mirror.cogentco.com/debian/dists/bullseye/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz ok
<!-- gh-comment-id:1703279086 --> @louishot commented on GitHub (Sep 1, 2023): I have the same problem, in Proxmox it always in restart loop, in Vultr it freeze after Init like this ``` http://mirror.cogentco.com/debian/dists/bullseye/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux ok http://mirror.cogentco.com/debian/dists/bullseye/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz ok ```
Author
Owner

@bradreaves commented on GitHub (Sep 10, 2023):

A little more information here: it seems that the Proxmox problem is specifically using the VirtIO network interface with 2.0.70. If I change the VM's network card to be an Intel E1000, it gets past kernel/initrd downloading on 2.0.70, and if I downgrade to 2.0.69, it will do so with a VirtIO NIC.

FWIW, I found this thread because I'm getting the same thing, also running QEMU emulator version 7.2.0 (pve-qemu-kvm_7.2.0-8) on Proxmox.

<!-- gh-comment-id:1712679215 --> @bradreaves commented on GitHub (Sep 10, 2023): > A little more information here: it seems that the Proxmox problem is specifically using the VirtIO network interface with 2.0.70. If I change the VM's network card to be an Intel E1000, it gets past kernel/initrd downloading on 2.0.70, and if I downgrade to 2.0.69, it will do so with a VirtIO NIC. FWIW, I found this thread because I'm getting the same thing, also running `QEMU emulator version 7.2.0 (pve-qemu-kvm_7.2.0-8)` on Proxmox.
Author
Owner

@antonym commented on GitHub (Sep 15, 2023):

I was able to reproduce this finally in Proxmox. Doing some testing to revert some code around that date to see if it alleviates the issue. I noticed it only seemed to happen when in Legacy mode and not UEFI which is where I was primarily testing. Thanks to @ZiXia1 for giving me a starting point to start digging into it.

<!-- gh-comment-id:1720353166 --> @antonym commented on GitHub (Sep 15, 2023): I was able to reproduce this finally in Proxmox. Doing some testing to revert some code around that date to see if it alleviates the issue. I noticed it only seemed to happen when in Legacy mode and not UEFI which is where I was primarily testing. Thanks to @ZiXia1 for giving me a starting point to start digging into it.
Author
Owner

@antonym commented on GitHub (Sep 15, 2023):

Give this build a try, it solved the issue for me in Proxmox. I reverted some cross-compiling changes with iPXE and that seemed to fix the problem:

https://s3.amazonaws.com/dev.boot.netboot.xyz/79577f556c6f15af950d89d4ad842c51c81e3a3e/index.html

If that helps solve some issues, I'll go ahead and cut a new release.

<!-- gh-comment-id:1720367798 --> @antonym commented on GitHub (Sep 15, 2023): Give this build a try, it solved the issue for me in Proxmox. I reverted some cross-compiling changes with iPXE and that seemed to fix the problem: https://s3.amazonaws.com/dev.boot.netboot.xyz/79577f556c6f15af950d89d4ad842c51c81e3a3e/index.html If that helps solve some issues, I'll go ahead and cut a new release.
Author
Owner

@antonym commented on GitHub (Sep 15, 2023):

2.0.72 released, should be building and be live in the next hour. It should help fix this particular issue. If there are still problems, feel free to reopen or comment here.

<!-- gh-comment-id:1721615043 --> @antonym commented on GitHub (Sep 15, 2023): 2.0.72 released, should be building and be live in the next hour. It should help fix this particular issue. If there are still problems, feel free to reopen or comment here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#1914
No description provided.