[by Nugraha and Saito, 2009.05.09]

Current status: Not finished yet. We suceeded dhcp and tftp initial files.

Current problem: Error Kernel panic: not found /init during starting linux

We want to make a diskless computing system so that we need a PXE Server. PXE stands for "Pre-boot eXecution Environment". PXE is a special extension of services provided by the Dynamic Host Configuration Protocol (DHCP). It uses a Trivial File Transfer Protocol (TFTP) server to provide minimal boot to a network client. Let's try to configure it!

Set a small subnet for testing PXE

What we need

Checking

Network setting

SSH check

Setting for the original Linux machine from which we copy the system

172.17.4.178:# yum install busybox-anaconda

Setting for the PXE server machine

Install DHCP and TFTP Server etc

TFTP Configuration

# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
       disable                 = no
       socket_type             = dgram
       protocol                = udp
       wait                    = yes
       user                    = root
       server                  = /usr/sbin/in.tftpd
       server_args             = -s /tftpboot
       per_source              = 11
       cps                     = 100 2
       flags                   = IPv4
}

@@@

DHCP Configuration

Copy system data for booting

172.17.4.178:/# yum install busybox-anaconda

# mkdir /tftpboot/f9
# mkdir /tftpboot/f9/root
# mkdir /tftpboot/f9/snapshot
# rsync -v -a -e ssh \
--exclude='/proc/*' --exclude='/sys/*' --exclude='/dev/*'\
--exclude='/media/*'   --exclude='/tmp/*' --exclude='/misc/*'\
172.17.4.178:/ /tftpboot/f9/root

Front page   New Page list Search Recent changes   Help   RSS of recent changes