(Created page with "== PXE boot server == What follows is a step by step instruction how to setup the PXE boot server for Fedora 13. Note! the steps include setting up DHCP server, be sure not to cā¦") |
m (moved PXE server to PXE boot server) |
What follows is a step by step instruction how to setup the PXE boot server for Fedora 13. Note! the steps include setting up DHCP server, be sure not to configure it to corporate network, or you might get a visit from angry netadmin.
yum install tftp-server dhcp syslinux
ddns-update-style interim;
next-server 192.168.2.14
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.10 192.168.2.15;
default-lease-time 36000;
max-lease-time 48000;
option routers 192.168.2.14;
option domain-name-servers 192.168.2.14;
option subnet-mask 255.255.255.0;
option domain-name "meegoai";
option time-offset -8;
}
host netbook {
#set to the mac address of *your* netbook
hardware ethernet 00:24:54:06:e8:ba
fixed-address 192.168.2.15;
option host-name "meegonetbook";
filename "pxelinux.0";
}
Set "disabled=no" in
/etc/xinetd.d/tftp
Check also that tfpt is not blocked by your firewall.
/etc/sysconfig/network-scripts/ifcfg-eth0.static: DEVICE=eth0 BOOTPROTO=STATIC ONBOOT=no TYPE=Ethernet IPADDR=192.168.2.14 NETMASK=255.255.255.0 GATEWAY=192.168.2.1
...or something. Actually I just shutdown the NetworkManager and configured the IP manually:
/etc/init.d/NetworkManager stop ifconfig eth0 192.168.2.14 up
cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot/
mkdir /var/lib/tftpboot/meegoai cp initrd.img vmlinuz /var/lib/tftpboot/meegoai
mkdir /var/lib/tftpboot/pxelinux.cfg
Create file /var/lib/tftpboot/pxelinux.cfg/default:
DISPLAY boot.txt
DEFAULT meegoai
LABEL meegoai
kernel meegoai/vmlinuz
append rootdelay=1 root=/dev/ram0 initrd=meegoai/initrd.img --
LABEL local
localboot 0
PROMPT 3
TIMEOUT 0
and a file for boomenu, /var/lib/tftpboot/boot.txt:
- Boot Menu - ============= meegoai local
service dhcpd start service xinetd restart service httpd start