Debian Network Install - PXE

 -- Building up PXE server --

1: Install TFTP server

2: install DHCP server

3: Config the content in tftp folder

3.1: download the pxelinux.o to tftp root folder:

$wget http://ftp.heanet.ie/pub/ftp.debian.org/debian/dists/squeeze/main/\
installer-amd64/20110106+squeeze4+b1/images/netboot/debian-installer/amd64/pxelinux.0

3.2: download the kernel and initrd image to the following folder:

$mkdir -p debian/squeeze/amd64/
$cd debian/squeeze/amd64/

$wget http://ftp.heanet.ie/pub/ftp.debian.org/debian/dists/squeeze/main/\

installer-amd64/20110106+squeeze4+b1/images/netboot/debian-installer/amd64/linux

$wget http://ftp.heanet.ie/pub/ftp.debian.org/debian/dists/squeeze/main/\
installer-amd64/20110106+squeeze4+b1/images/netboot/debian-installer/amd64/initrd.gz

4: Config the PXE config file

4.1: create folder in tftp root:

$mkdir pxelinux.cfg

$cd pxelinux.cfg

4.2: create the default config file with the following content:

DISPLAY boot.txt

DEFAULT squeeze_amd64_install

LABEL squeeze_amd64_install
        kernel debian/squeeze/amd64/linux
        append vga=normal initrd=debian/squeeze/amd64/initrd.gz  --

PROMPT 1
TIMEOUT 0


The client using network booting should display the following, and press enter will continue the debian installation:

Debian Network Install - PXE_第1张图片


Reference:

http://how-to.linuxcareer.com/network-booting-with-linux-pxe

你可能感兴趣的:(Linux,General)