Debian Network Install - PXE

本文详细介绍了构建PXE服务器的过程,包括安装TFTP服务器、DHCP服务器,下载pxelinux.0、内核和initrd映像到指定文件夹,以及配置PXE配置文件。指导如何通过网络进行Linux安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 -- 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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值