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:



Reference:

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值