Pxeboot Network Installation Directory Structure Configuration

1)pxeos command.
1)it is used to start the Linux installation.
it will create initrd.img & vmlinuz under
/tftpboot/linux-install/"IMAGE-NAME".

2)pxeboot command.
it will create the default file under.
/tftpboot/linux-install/pxelinux.cfg/default
file contain.
label 2
  kernel IMAGE-NAME/vmlinuz
  append initrd=IMAGE-NAME/initrd.img ks=nfs:<Server-IP-Address>:/ks/ks.cfg ksdevice=eth0
Example File  - Image Name is rhel5.5


label 1
  kernel rhel5.5/vmlinuz
  append initrd=rhel5.5/initrd.img ks=nfs:10.0.0.1:/ks/ks.cfg ksdevice=eth0
NOTE: in the dchpd.conf file we have to set subnet mask. 




1)use the tfpboot exported vmlinux and kernel under the IMAGE_NAME dir
2)while installation mode it refer kickstart file from the keyword ks.
inside the kickstart file it contain the OS files to install.


or else we are facing the problem in the network in the future.
Error 1: Pxeboot - NFS Error Message.
"That directory could not be mounted from the server"
Solution:
1) NFS share directory should exported path
/export/rhel6 [exported path should contain image file EX: /export/rhel6/images/install.img]
2)check whether nfs service is start or stop stage.

Error 2: pxeboot -DHCP Error Message
DHCPV4 eth0 - TIME OUT dhcp: DHCP Configuration failed.
eth0 is not a wireless adapter.
1)check whether ethernet cable is connected to eth0 or eth1.
It should connected to eth0.

0 comments:

Post a Comment