Sziasztok!
Egy Centos 5.4 hoston probalok diskless klienst eletre kelteni de a kovetkezo hibauzenetet kapom:
ERROR! No root-path. Check your DHCP configuration, to make
sure that the 'option root-path' is specified
Vagyis a vmlinuz es az initrd.img betoltodik, de a root particiot nem tudja csatolni.
A beallitofajlok a kovetkezok. Dhcpd.conf
default-lease-time 86400;
max-lease-time 604800;
ddns-update-style none;
ignore client-updates;
authoritative;
subnet 10.128.0.0 netmask 255.255.255.0 {
range 10.128.0.100 10.128.0.200;
option broadcast-address 10.128.0.255;
use-host-decl-names on;
option routers 10.128.0.1;
option domain-name "attila.local";
option domain-name-servers 10.128.0.1;
option subnet-mask 255.255.255.0;
allow bootp;
allow booting;
host xena {
hardware ethernet 00:02:55:f7:2d:79;
fixed-address 10.128.0.18;
server-name "10.128.0.1";
next-server 10.128.0.1;
filename "pxelinux.0";
option root-path "10.128.0.1:/tftpboot/centos/root";
}
}
Az /etc/exports
/tftpboot/centos/root *(rw,insecure,sync,no_root_squash)
A betolteni kivant rendszer a hoston (IP-je 10.128.0.1) /tftpboot/centos/root konyvtarban van letrehozva. A /tftpboot/centos/root/etc/fstab
# /etc/fstab for diskless clients, written by system-config-netboot
10.128.0.1:/tftpboot/centos/root / nfs rw 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /tmp tmpfs defaults 0 0
/dev/cdrom /media/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /media/floppy auto noauto,owner,kudzu 0 0
A tcpdump-ban a kovetkezo lathato:
16:09:31.593073 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:02:55:f7:2d:79 (oui Unknown), length: 300
16:09:31.593450 IP 10.128.0.1.bootps > 10.128.0.18.bootpc: BOOTP/DHCP, Reply, length: 334
Van valami otlet mi lehet a hiba?