Difference between revisions of "PXE KNIFE"

From Amahi Wiki
Jump to: navigation, search
Line 3: Line 3:
 
*untar the pxeknife ( tar -xvf pxeknife.tar.gz )
 
*untar the pxeknife ( tar -xvf pxeknife.tar.gz )
 
*run " yum install syslinux "
 
*run " yum install syslinux "
 +
*run " cp -rf /usr/lib/syslinux/*.c32 /usr/share/hda-app-pba/tftp/ "
 +
*now go to /usr/share/hda-app-pba/tftp/pxelinux.cfg/
 +
*run "mv default default.old"
 +
*pico default
 +
*add this to the file
 +
        DEFAULT menu.c32
 +
PROMPT 0
 +
TIMEOUT 100 #this is optional - will start the default after 10 seconds
 +
MENU TITLE --== Main Menu ==--
 +
 +
#this allows you to exit the pxe stack and pass booting to the local system
 +
LABEL bootlocal
 +
MENU DEFAULT
 +
MENU LABEL Local Boot
 +
localboot 0
 +
 +
#load pxe knife
 +
LABEL pxeknife
 +
MENU LABEL PXE Knife --->
 +
kernel menu.c32
 +
append pxeknife/pxeknife.conf

Revision as of 22:52, 25 February 2009

  • Get the latest tar from http://pxeknife.erebor.org/releases/
  • migrate to /usr/share/hda-app-pba/tftp/
  • untar the pxeknife ( tar -xvf pxeknife.tar.gz )
  • run " yum install syslinux "
  • run " cp -rf /usr/lib/syslinux/*.c32 /usr/share/hda-app-pba/tftp/ "
  • now go to /usr/share/hda-app-pba/tftp/pxelinux.cfg/
  • run "mv default default.old"
  • pico default
  • add this to the file
       DEFAULT menu.c32

PROMPT 0 TIMEOUT 100 #this is optional - will start the default after 10 seconds MENU TITLE --== Main Menu ==--

#this allows you to exit the pxe stack and pass booting to the local system LABEL bootlocal MENU DEFAULT MENU LABEL Local Boot localboot 0

#load pxe knife LABEL pxeknife MENU LABEL PXE Knife ---> kernel menu.c32 append pxeknife/pxeknife.conf