host new-fs1 {
option host-name "new-fs1.w3.lan";
hardware ethernet 00:25:90:70:2D:02;
fixed-address 192.168.207.75;
next-server 192.168.210.1;
filename "pxelinux.0";
}
# cat /tftpboot/pxelinux.cfg/default
default menu.c32
prompt 0
timeout 300
ONTIMEOUT local
MENU TITLE PXE Menu
label CentOS-6.2 x86_64
MENU LABEL ^CentOS 6.2 x86_64
KERNEL images/centos/x86_64/6.2/vmlinuz
APPEND vga=788 initrd=images/centos/x86_64/6.2/initrd.img -- quiet
http://192.168.210.1:8080
Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated.
Cannot retrieve repository metadata (repomd.xml) for repository: anaconda-CentOS-201112102333.x86_64. Please verify its path and try again
LABEL CentOS 6 x86_64 NO KS eth0
MENU LABEL CentOS 6 x86_64 NO KS eth0
KERNEL images/centos/x86_64/6.0/vmlinuz
APPEND initrd=images/centos/x86_64/6.0/initrd.img ramdisk_size=100000 ksdevice=eth0 ip=dhcp url --url http://192.168.x.x/mirrors/CentOS-6-x86_64/ text
It should be in the repodata directory at the top level of your installation tree. Did you create the install tree per the InstallationGuide?
label CentOS-RM
MENU LABEL CentOS 6.2 x86_64 Rescue Mode
KERNEL images/centos/x86_64/6.2/vmlinuz
APPEND vga=795 initrd=images/centos/x86_64/6.2/initrd.img -- rescue quiet
ALex_hha wrote:
I need to manually specify URL of the install.img file. Can I specify this file directly in the pxelinux.cfg/default?
LABEL CentOS6x64
MENU LABEL CentOS 6.2 x64
KERNEL images/Centos6x64/6.2/vmlinuz
APPEND vga=normal initrd=images/Centos6x64/6.2/initrd.img ramdisk_size=32768 LANG=en_US.UTF-8 method=ftp://*.*.*.*/centos.org/6.2/os/x86_64 rescue
label CentOS-RM
MENU LABEL CentOS 6.2 x86_64 Rescue Mode
KERNEL images/centos/x86_64/6.2/vmlinuz
APPEND vga=795 initrd=images/centos/x86_64/6.2/initrd.img -- ip=dhcp ksdevice=eth0 ramdisk_size=32768 LANG=en_US.UTF-8 keyboard=us method=http://192.168.210.1:8080/centos/6.2/x86_64 rescue
This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=55&topic_id=35350