Username Always stay logged in
Password:

 

Pages: [1]
  Print  
Author Topic: PXE  (Read 2148 times)
martinc
Global Moderator
Pro Designer
*****

Karma: +1/-0
Offline Offline

Posts: 148



View Profile
PXE
« on: April 28, 2012, 06:40:32 PM »

PXE = Preboot Execution Environment

what you need:
= dhcp server
= tftp server
= syslinux files [http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-4.05.zip]

Install
Code:
apt-get install dhcp3-server tftp-hpa

Configure
/etc/dhcp/dhcp.conf
Code:
# define your network by adding to the bottom of
subnet 192.168.1.0 netmask 255.255.255.0 {
       range 192.168.1.100 192.168.1.200;
       option routers 192.168.1.1;
}

# suppose router (192.168.1.1) doesn't have the pxelinux.0 file
# "next-server"(192.168.1.99) is the machine that does
###
filename "pxelinux.0";
next-server 192.168.1.99;

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

# tftp-hpa uses /srv/tftp as default
#i just use a symbolic link with files elsewhere and it works just fine
Code:
ln -s /media/460/srv/* /srv/

/srv/
   |_tftp/
      |_pxelinux.0
      |_pxelinux.cfg/
         |_custommenu.cfg ( but i customized)
         |_default
         |_lightning.png (was splash.png but i customized)
         |_stdmenu.cfg
         |_vesamenu.c32
      |_debian/
         |_squeeze/
            |_64/
               |_initrd.gz
               |_linux
      |_clonezilla
      |_etc

CONFIRMED for Debian Squeeze
http://ftp.us.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/
Logged

I have as much authority as the Pope, I just don't have as many people who believe it. --George Carlin
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Greenday Theme Designed By [S.W.T]