<html><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-15"><META name="Author" content="Novell GroupWise WebAccess"></head><body style='font-family: Tahoma, sans-serif; font-size: 13px; '>Anyone out there tried to do an install via NFS using their own local NFS server rather than streaming the entire process?<br><br>>>> "Lisandro Grullon" <lgrullon@citytech.cuny.edu> 01/04/11 3:48 PM >>><br>
I tried both way, I mounted the ISO to /test then copy its full content to the root of my export and even left the ISO there just in case. I still see the error "That directory does not seem to contain a CentOS installation tree", do I have to dd the ISO I just did a simple cp -rf * <br><br>>>> Rudi Ahlers <Rudi@SoftDux.com> 01/04/11 3:31 PM >>><br>On Tue, Jan 4, 2011 at 9:43 PM, Lisandro Grullon<br><lgrullon@citytech.cuny.edu> wrote:<br>> Dear CentOS community,<br>> I have install centos via CD, DVD and Directly off the net via http and FTP.<br>> Now I want to do a NFS install from a local server and a client. Both,<br>> client and server are in the same vlan 10.14.10.0/255.255.255.0.<br>><br>> The server has a static 10.14.10.15 address and the client gets its own<br>> address via DHCP. I download the DVD image from one of the mirrors and<br>> placed it under /centos-media/centosdvd32/DVD/CentOS-5.5-i386-bin-DVD.iso<br>> which is a dedicated partition on the server to hold all images. After that<br>> I exported the usual entries under /etc/exports and reloaded NFS using<br>> /sbin/service nfs reload. This is what my exports file looks like:<br>><br>> [root@zeus DVD]# cat /etc/exports<br>> /centos-media/centosdvd64 10.14.10.0/255.255.255.0(ro,sync,all_squash)<br>> /centos-media/centosdvd32/DVD 10.14.10.0/255.255.255.0(ro,sync,all_squash)<br>><br>> After doing so, I also modified the entries under IPtables to allow traffic<br>> in 111 and 2049 at the UDP/TCP level and restarted the service as shown<br>> bellow.<br>><br>> [root@zeus DVD]# cat /etc/sysconfig/iptables<br>> # Firewall configuration written by system-config-securitylevel<br>> # Manual customization of this file is not recommended.<br>> *filter<br>> :INPUT ACCEPT [0:0]<br>> :FORWARD ACCEPT [0:0]<br>> :OUTPUT ACCEPT [0:0]<br>> :RH-Firewall-1-INPUT - [0:0]<br>> -A INPUT -j RH-Firewall-1-INPUT<br>> -A FORWARD -j RH-Firewall-1-INPUT<br>> -A RH-Firewall-1-INPUT -i lo -j ACCEPT<br>> -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT<br>> -A RH-Firewall-1-INPUT -p 50 -j ACCEPT<br>> -A RH-Firewall-1-INPUT -p 51 -j ACCEPT<br>> -A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT<br>> -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT<br>> -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT<br>> -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT<br>> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j<br>> ACCEPT<br>> -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited<br>> -A RH-Firewall-1-INPUT -s 10.14.10.0/24 -m state --state NEW -p tcp --dport<br>> 2049 -j ACCEPT<br>> -A RH-Firewall-1-INPUT -s 10.14.10.0/24 -m state --state NEW -p tcp --dport<br>> 111 -j ACCEPT<br>> -A RH-Firewall-1-INPUT -s 10.14.10.0/24 -m state --state NEW -p udp --dport<br>> 2049 -j ACCEPT<br>> -A RH-Firewall-1-INPUT -s 10.14.10.0/24 -m state --state NEW -p udp --dport<br>> 111 -j ACCEPT<br>> COMMIT<br>><br>> [root@zeus DVD]# /sbin/service iptables restart<br>><br>> When I try loading the net-install disc from the client i get to the area<br>> where I specify the Ip of the server and the NFS path in the server, hitting<br>> enter returns "That directory does not seem to contain CentOS installation<br>> tree", I triple check the ISO and I know its there with all appropriate<br>> permissions. Can someone tell me what am I missing? I have spend all day<br>> trying to get NFS working in the local vlan, i know that all ports are open<br>> within the vlan at the routers level. Any clues?<br>><br>><br>><br>> _______________________________________________<br><br><br><br>Did you actually mount the ISO file, to expose the directory structure<br>to the netinstall script? I don't think it can read ISO's directly,<br>but I could be wrong?<br><br><br><br><br>-- <br>Kind Regards<br>Rudi Ahlers<br>SoftDux<br><br>Website: http://www.SoftDux.com<br>Technical Blog: http://Blog.SoftDux.com<br>Office: 087 805 9573<br>Cell: 082 554 7532<br>_______________________________________________<br>CentOS mailing list<br>CentOS@centos.org<br>http://lists.centos.org/mailman/listinfo/centos<br></lgrullon@citytech.cuny.edu></body></html>