mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 23:25:54 +03:00
[GH-ISSUE #338] Name resolution issue #138
Labels
No labels
Hacktoberfest
Hacktoberfest
bootloader
bsd
bug
confirmed
documentation
duplicate
enhancement
enhancement
enhancement
eol
experimental-merged
freebsd
help wanted
invalid
investigate
ipxe
linux
live-os
memdisk
menu
no-issue-activity
no-issue-activity
pull-request
released
todo
upstream
windows
windows
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/netboot.xyz#138
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aqwserf on GitHub (Jun 24, 2019).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/338
Hi,
after struggling with my OpenWRT to have pxe running, I now have a issue with the netboot.xyz UEFI. Everytime I try to boot with the UEFI version (netboot.xyz.efi), it fails with the following error when it tries to retrieve the squashfs file:
I've tried to debug the situation by wgetting myself and the same error appears.
The problem apparently lies in the name resolution:
The
/etc/resolv.conffile is ok and when I try the same command on my laptop, eveything works fine.I've tried with the
netboot.xyz.kpxeand it works fine and I've just tried with another boot install this time (Kali) and the installer starts.Does anyone has a clue ? Is it related to the debian initrd ?
Otherwise, I have several problems with other boot image (systemrescuecd, ubcd...), same as the issue #214 :
Could it be related ?
Thank you !
@NiKiZe commented on GitHub (Jun 25, 2019):
many initrds with busybox does not support name resolution,
I guess you have tried wget in a fully booted linux env, but if you enter the limited initrd environment my guess is that you will see the same thing, you can confirm with ping or some other tool if name resolution works at all or not in that case.
"Exec format error (http://ipxe.org/2e008081)"
If you get it when booting in efi mode, is most likely due to the fact that you are trying to boot a non efi compliant binary (in the case of linux kernel, it wasn't compiled with CONFIG_EFI_STUB=y)
Which you can read more about on the ipxe,org error page (the url is helpful, and always good to include)
@aqwserf commented on GitHub (Jun 27, 2019):
That's right, I tried on an full Linux env. I've also tried with a ping and that's right too, it doesn't works...
But what I don't understand is that it works with kali boot install and not with a debian live. Does that means that the initrd is different ?
Ok, thank you for the explanation. So if I understand well, netboot.xyz propose an efi binary that can't load non-efi binary ? If so, can't they propose efi binary ?
@NiKiZe commented on GitHub (Jun 27, 2019):
different distros of course have their own intrds, but it boils down to "buggy" busybox. you should ask for an update on the specific distro (they seem unlikely to fix it tho, as far as i have seen)
the simple answer is that there is no efi binary that can boot a non efi binary or wise versa.
The way that these tools are setup relies on legacy technices that shouldn't be used, but it takes loots more work to solve "correctly" and it requires EFI compatible kernels.
@aqwserf commented on GitHub (Jun 27, 2019):
Ok, thank you for your answers. I close the issue as it doesn't seem to be solvable easily :)