Specifications

Remote Booting Linux on Intel Processors (CERN Variant)
Concurrent Technologies Page 23 of 30
echo -n .
# Serial tty
mknod ttyS0 c 4 64
mknod ttyS1 c 4 65
mknod ttyS2 c 4 66
mknod ttyS3 c 4 67
mknod ttyS4 c 4 68
echo -n .
# Storage
cp -af /dev/hd[abcd]* /dev/fd0* .
# Set chmod's
chmod 666 * 2&> /dev/null
chmod 600 console
echo Done.
8. Cut and Paste the following and save to files,
Save to “/tftpboot/ClientRamDisk/etc/inittab”
# System initialisation.
si::sysinit:/etc/init.d/rcI
Save to “/tftpboot/ClientRamDisk/etc/hosts”
# Do not remove the following line, or various
# programs that require network functionality will fail.
127.0.0.1 localhost
9. Instead of hard-coding the Ethernet configuration in our RamDisk, as we did for the NFS
example above, we will use DHCP client to obtain the details from the DHCP server. This
configuration will allow the same RamDisk to be served to multiple clients. We will use an
optimised DHCP client from BusyBox.
Download the latest version of BusyBox UDHCP software from
http://udhcp.busybox.net
Copy the UDHCP software file to the BusyBox directory and unpack it,
“mkdir /root/BusyBox”
“cd /root/BusyBox”
“cp <path to udhcp-0.9.8.tar.gz>/udhcpd-0.9.8.tar.gz .”
“gzip -d udhcp-0.9.8.tar.gz” #Uncompress the tar file
“tar -xf udhcp-0.9.8.tar” #Un-tar the file
10. Compile and install the UDHCP functions into the RamDisk directory.
“cd /root/BusyBox/udhcp-0.9.8”
“make” #Make the client and server
“cp udhcpc /tftpboot/ClientRamDisk/sbin” #Install the client
“mkdir /tftpboot/ClientRamDisk/etc/udhcpc” #Make client script directory
“cp -a samples/* /tftpboot/ClientRamDisk/etc/udhcpc”#Install client scripts