waiting for link-up on netX ..howto skip unused devices
|
2019-04-25, 23:00
(This post was last modified: 2019-04-25 23:03 by lakus.)
Post: #1
|
|||
|
|||
waiting for link-up on netX ..howto skip unused devices
Hi
i have 2 NIC's in my pc, one onboard and a quad port one, i want to pxe boot from the onboad device but the quad port card comes on initialising devices first. so i dont want to wait for all 0-3 nics (net0/net1/net2/net3) of this quad port card getting timeout and then ipxe tries to boot from the onboard lan how can i skip the devices net0-3, before (net4...the real pxe boot device) without pressing every time ctrl+c ? i mean how can i directly boot from net4 ? thanks |
|||
2019-04-25, 23:06
Post: #2
|
|||
|
|||
RE: waiting for link-up on netX ..howto skip unused devices
How do you start iPXE? if you use a iPXE image with drivers for only the onboard device you can have that.
Other than that it's probably to have an embeded script and loop over all nics, match on pciid, and then autoboot just that interface Use GitHub Discussions VRAM bin |
|||
2019-04-26, 14:11
(This post was last modified: 2019-04-26 14:27 by lakus.)
Post: #3
|
|||
|
|||
RE: waiting for link-up on netX ..howto skip unused devices
ok think i got it.
my embedded script now looks like this: Code: #!ipxe |
|||
2019-04-26, 20:04
Post: #4
|
|||
|
|||
RE: waiting for link-up on netX ..howto skip unused devices
I would rather use
Code: #!ipxe see https://ipxe.org/cmd/autoboot But again this is a hard assumption about the config, better to loop over the nics and when the nic with specific mac or pciid is found use the above autoboot netX to keep original behavior without any hardcoded chain uri Use GitHub Discussions VRAM bin |
|||
2019-05-07, 13:06
Post: #5
|
|||
|
|||
RE: waiting for link-up on netX ..howto skip unused devices
use undionly.kpxe or snponly.efi . the key is the "only"
|
|||
2019-05-07, 13:46
Post: #6
|
|||
|
|||
RE: waiting for link-up on netX ..howto skip unused devices
indeed undionly.kpxe is probably the best solution - if you are chaining into iPXE from the network to begin with, and not booting from USB.
Never got a response on the question on how it was booted. Use GitHub Discussions VRAM bin |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)