>>>>> On Sun, 22 Nov 2009 15:21:07 +0100, Henning Glawe >>>>> <gla...@physik.fu-berlin.de> said:
> On Sun, Nov 22, 2009 at 01:38:16PM +0100, Thomas Lange wrote: >> * bootoption ethdevice: use specified network device for network booting >> (PXE) instead of default (being eth0). Feature contributed by Helge >> Wagner. Usage example: ethdevice=eth1 > I think that there would be still the problem of interface names/enumeration > of the network devices. Is there any way to detect which interface was used > for pxe/tftp kernel loading? If you have two cards (a very common hardware), and PXE booting is done from the "first" card which the kernel defines as eth1, it's a perfect solution to tell the kernel ethdevice=eth1. The kernel itself does not know anything about were it was loaded from. It even does not know if it was loaded from network or disk or whatever device. -- regards Thomas