System information
# cp /boot/vmlinuz-kernel-version /var/lib/tftpboot/
3. Create the ini trd (i.e. ini tramfs-kernel-version. i mg ) with network support:
# dracut initramfs-kernel-version.img kernel-version
Copy the resulting i ni tramfs-kernel-version. i mg into the tftp boot directory as well.
4. Edit the default boot configuration to use the i ni trd and kernel inside
/var/l i b/tftpbo o t. This configuration should instruct the diskless client's root to mount
the exported file system (/exported/root/directory) as read-write. To do this, configure
/var/l i b/tftpbo o t/pxel i nux. cfg /d efaul t with the following:
default rhel6
label rhel6
kernel vmlinuz-kernel-version
append initrd=initramfs-kernel-version.img root=nfs:server-
ip:/exported/root/directory rw
Replace server-ip with the IP address of the host machine on which the tftp and DHCP
services reside.
The NFS share is now ready for exporting to diskless clients. These clients can boot over the network
via PXE.
Chapt er 2 4 . Set t in g Up A Remot e Diskless Syst em
165