On Sun, Nov 22, 2009 at 03:33:37PM +0100, Thomas Lange wrote: > >>>>> On Sun, 22 Nov 2009 15:21:07 +0100, Henning Glawe > >>>>> <gla...@physik.fu-berlin.de> said: > > 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.
which you would need to configure manually in the pxeconfig for the individual machine... > 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. Well, but maybe there is some way in pxelinux to auto-generate a kernel command line parameter for this, which in turn cound be evaluated in the initramfs. -- c u henning