Jump to content











Photo
- - - - -

How do I use latest version of pxelinux?


  • Please log in to reply
4 replies to this topic

#1 Ben321

Ben321

    Newbie

  • Members
  • 13 posts
  •  
    United States

Posted 12 January 2013 - 08:10 PM

Ok I found this tutorial that shows how to configure pxelinux for booting a disk image.

http://diddy.boot-la.../files/imgs.htm

 

Only problem is, it uses version 3.80 of pxelinux (it states the version earlier in the tutoria), which is very old (current version is 5.0). I have also heard that pxelinux supports booting ISOs (not just floppy images as used in the tutorial, so I assume this is a new feature that requires a version beyond 3.80). I was able to get it to boot a floppy image of MS DOS, but it won't boot a CD ISO, so I assume the older version can't do this.

 

However the commands used with the older version are different than the new version it seems.

 

The old version of pxelinux uses these commands commands with the old MEMDISK in order to boot a floppy image (these commands are to be placed in the "default" configuration file).

LABEL odin
MENU LABEL ODIN
KERNEL /pxelinux.cfg/memdisk
APPEND initrd=/disks/odin1440.img

 

The new versions of pxelinux and MEMDISK are supposed to use these commands instead (as found on the pxelinux wiki http://www.syslinux....dex.php/MEMDISK) it seems:

LABEL hdt_floppy
LINUX memdisk
INITRD hdt.img

 

It appears in the new version that you use an INITRD command instead of the APPEND command for naming the disk image.

Also it appears that the KERNEL command has been replaced with the LINUX command. However I'm not sure these are replacements, or just alternate commands that are completely interchangable, or if they are somewhat different from each other and each has a separate use for slightly different situation (with little overlap in what they are designed to accomplish, sucht that they aren't usually interchangable).

 

Some help making sure I'm using the correct commands, and a tutorial on how to use the LATEST version of pxelinux and memdisk would be VERY HELPFUL. Please someone, make this tut for me.



#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 7311 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 12 January 2013 - 08:34 PM

This any help?



#3 Ben321

Ben321

    Newbie

  • Members
  • 13 posts
  •  
    United States

Posted 12 January 2013 - 11:01 PM

Unfortunately that guide is for grub4dos. What about pxelinux?



#4 steve6375

steve6375

    Platinum Member

  • Developer
  • 7311 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 12 January 2013 - 11:20 PM

Did you see section 5

 

PXE boot to syslinux
If you prefer to PXE boot to a syslinux menu rather than a grub4dos menu, there are some instructions here. Just download the diskless.zip file on that page and follow the instructions to configure the .\pxelinux.cfg\default file as you wish. The instructions are for a linux based diskless workstation to run a distributed computing project, but you can put whatever files you like in the default menu as long as you set the boot file to pxelinux.0.
 
 


#5 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 12 January 2013 - 11:46 PM

You still can use the old pxelinux.0 version if you want (or 4.06 to have a recent one that should be quite stable).

To boot ISOs you need a recent MEMDISK version (e.g. from Syslinux 4.06) and add "iso" as parameter on the APPEND line.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users