Plop Linux is a small distribution that can boot from CD, DVD, USB flash drive (UFD),
USB harddisk or from network with PXE. It's designed to rescue data from a damaged system,
backup and restore operating systems, automate tasks and more.
使用 Plop Linux 來架 PXE 環境超方便的,
Boot from network (PXE, DHCP, TFTP, NFS, Samba/Windows network share) - Linux Server
只要把檔案解開, 依照作者的 Sample Config 設定好 DHCP Server, TFTP Server, NFS 幾乎不用改什麼就可以運作了.
開機後該有的指令都有, 用來救援, 備份/還原系統很方便.
cd /tmp
wget http://download.plop.at/files/ploplinux/ploplinux-4.1.2/ploplinux-pxeboot.tgz
wget http://download.plop.at/files/ploplinux/ploplinux-4.1.2/ploplinux-4.1.2.tgz
tar zxf ploplinux-pxeboot.tgz -C /
tar zxf ploplinux-4.1.2.tgz
mv /tmp/ploplinux-4.1.2/* /tftpboot/ploplinux/
編輯 /tftpboot/ploplinux/pxelinux.cfg/default, 把其中 10.0.0.1 預設 IP 改成自己的
例: 改成 192.168.1.1
sed -i s/10.0.0.1/192.168.1.1/ /tftpboot/ploplinux/pxelinux.cfg/default
Leave a comment