Jump to content











Photo
- - - - -

Multiple pxelinux.0 in one PX-Envoirement


  • Please log in to reply
8 replies to this topic

#1 T-One

T-One

    Newbie

  • Members
  • 10 posts
  •  
    Austria

Posted 29 May 2009 - 08:37 AM

Hello,

i have two different pxelinux.0 files. One from the Syslinux-Project and one from IBM.
I need those two because the special IBM-system just can boot with the pxelinux.0 file from IBM.

My problem, i can just add one pxelinux.0 file to my dhcp server.
Is it possible to use multiple pxelinux.0 files with one PXE-Server?

regards
T-One

#2 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2862 posts
  • Location:Nantes - France
  •  
    France

Posted 01 June 2009 - 04:57 PM

Hello There,
You can eventually chain load them (one calling another).

Why the pxelinux from syslinux (of gpxelinux) does not suit you?
Or else, if the IBM is the one you want, why dont you that one only then?

As a whole, you can have only one boot strap loader at the time.

Regards,
Erwan.

#3 T-One

T-One

    Newbie

  • Members
  • 10 posts
  •  
    Austria

Posted 02 June 2009 - 09:03 AM

The pxelinux.0 file from IBM just works with a special IBM-Software, for all other systems i boot over pxe i need the original pxelinux.0

#4 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 02 June 2009 - 09:53 AM

You can specify which pxelinux.0 you want to provide to a system, by specifying the MAC address of the IBM PC in your DHCP configuration and let it point to the ibm pxelinux.0.

#5 T-One

T-One

    Newbie

  • Members
  • 10 posts
  •  
    Austria

Posted 02 June 2009 - 10:16 AM

Hi Icecube, thats not a practicable solution.
As a systembuilder we have over 100 unique machines working with the pxe server every day, and the systems are changed rapidly. so a filtering with the mac-address is not an option.

#6 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 02 June 2009 - 10:32 AM

Does the IBM PC change also every day?
You don't need the MAC address for the other PCs. You can let all other PCs boot the normal pxelinux.0.

Also when the IBM PCs have the same vendor for the network cards, but the other PCs have a different vendor for the network cards, you can use the beginning of the MAC address of the IBM PCs to let them boot the IBM pxelinux.0 version (the begining of the MAC is the same when the card is from the same vendor).

#7 T-One

T-One

    Newbie

  • Members
  • 10 posts
  •  
    Austria

Posted 02 June 2009 - 11:01 AM

Hi,
the problem is i need the whole pxe-toolset + the IBM-Software for every PC/Server.
The IBM-Software is a automatic firmware update program. After that we start an automatic installation of different operating-systems. So every machine in our assembling process need to connect to the pxelinux.0 from ibm for the firmeware upgrades and after a reboot we need the original one from syslinux for the operating-system installations.

#8 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 02 June 2009 - 11:14 AM

That's a pity.

Did you try the last pxelinux.0 version already?
Can you get to the source code of the IBM pxelinux.0 version?

Post to the syslinux mailing list or go to the IRC channel.
[url="http://"%20<a%20href="http://syslinux.zytor.com/wiki/index.php/Contact""%20target="_blank">http://syslinux.zyto...dex.php/Contact"</a>"]http://syslinux.zytor.com/wiki/index.php/Contact[/url]

They maybe can help you with the IBM pxelinux.0 problem, so that you only have to use the syslinux pxelinux.0 version.

#9 T-One

T-One

    Newbie

  • Members
  • 10 posts
  •  
    Austria

Posted 03 June 2009 - 11:03 AM

I got it with some nice help from the guys in the syslinux irc channel.

with the syslinux-package > 3.72 you can use pxechain to load a new pxe-bootstrap.

Just make a new label in your pxelinux.cfg/default like:

#Updatesystem
label 5E
kernel pxechain.com
append ::/ibmpxe/pxelinux.0

create the folder ibmpxe under the tftproot and place the pxelinux.0 file in that folder.
Create the subdir pxelinux.cfg with a file called default and insert your pxe startoptions for the ibm update tool like:

default 5E
timeout 1

label 5E
kernel /server/systems/ibmupdates/img2a
append initrd=/server/systems/ibmupdates/img3a vga=0x317 CONSOLE=/dev/tty2 loglevel=0 root=/dev/ram0 rw ramdisk_size=50000 tftp_server=172.22.1.97 tftp_tcrootfs=/server/systems/ibmupdates/tcrootfs tftp_tczip=/server/systems/ibmupdates/tc.zip




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users