[syslinux] KEEPPXE/DOS

Ian McDonald iam at st-andrews.ac.uk
Fri Dec 14 13:50:20 PST 2007


Jonathan Hurd wrote:
> First off I love syslinux and it has worked flawless for us on the unix side of the realm.
> 
> 
> We're trying to use our ghost images within a dos netboot using syslinux. Unfortunatly we can only pass DHCP ip's to hosts that exhibit a vendor code 'like windows/pxe/and other os's do". Unfortunatly DOS does not, so we cannot request a second IP after the pxe process to map samba shares. From what I've read you can use the 'keeppxe' line and call the orrignal ip information recieved durning the pxe boot process? Is that correct, and if so how would I do that. 
> 
> 
> If that is not the case and I can keep around universal pxe stack to load dhcp again so that it exhibts a vendor code, how could I do that?
> 
> Basicaly I need a way to map a samba share after the netboot, and I would need an ip address on the network to do that. This would be an automated process so I cant just enter a static... has to be a dhcp enabled one, or one handed from the pxe process...
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
> 
> 
> 

Use the keeppxe option in the boot stanza, and then use an UNDI driver 
for your networking in DOS. Like it says in the documentation.

example pxelinux.cfg file

--snip
default nasty-dos-hack

label nasty-dos-hack
	kernel memdisk
	append initrd=my.img.gz keeppxe
--unsnip

you'll need to fix-up your net/protocol.ini and net/system.ini

We call \net\net.exe init /dynamic etc from autoexec.bat in the image 
and it picks up the (followed by \net\netbind.com)

We're using the 3com UNDI driver, which can be lifted from the 3com MBA 
utility disks found at ftp://ftp.3com.com/pub/nic/3c90x/util430.exe.

Note this doesn't restrict you to using 3com network cards, it works 
with any PXE-capable card that we've tried.

HTH

--
ian




More information about the Syslinux mailing list