On Mon, Apr 07, 2008 at 03:41:54PM +0200, Regis Gras enlightened us:
> Matt Hyclak wrote:
> 
> >
> >I'm also compiling on CentOS 5, same versions you listed above with the
> >exception of a newer kernel (kernel-2.6.18-53.1.4.el5.i686).
> > 
> >
> 
> OK, I'll "yum update" my server and recompile CVS and unattended
> 
> >With the change to cifs rather than smbmount, I had to fix the boot CD to 
> >be
> >able to find my server. All DHCP clients on my network get a search path of
> >"cns.ohiou.edu" (since that's the group that manages DHCP), but my server 
> >is
> >ntinstall.math.ohiou.edu. Referencing //ntinstall/install worked fine when
> >using smbmount - IIRC because it will do a broadcast NETBIOS to find the
> >machine - but cifs failed. I fixed this by including an /etc/hosts file on
> >my boot disk that lists the proper IP for ntinstall.
> > 
> >
> I wish to fix the mount cif problem
> You said <<    I fixed this by including an /etc/hosts file on
>                        my boot disk that lists the proper IP for 
> ntinstall.>>
> How did you do that ?
> I suppose that the problem is the same with the boot CD and with the Pxe 
> boot
> 
> RĂ©gis

With the attached patch. Just put a hosts file in linuxboot/misc/ and it
will be copied to the boot disk (likewise the ramdisk for pxe boot).

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
Index: Makefile
===================================================================
RCS file: /cvsroot/unattended/unattended/linuxboot/Makefile,v
retrieving revision 1.181
diff -u -r1.181 Makefile
--- Makefile    4 Apr 2008 10:46:58 -0000       1.181
+++ Makefile    4 Apr 2008 19:24:41 -0000
@@ -765,6 +766,8 @@
 
 $(call copy_file,misc/master,stage1/etc/master)
 
+$(call copy_file,misc/hosts,stage1/etc/hosts)
+
 $(call copy_file,misc/modprobe.conf,stage1/etc/modprobe.conf)
 
 $(call copy_file,misc/module-order.txt,stage1/etc/module-order.txt)
@@ -794,7 +797,7 @@
                stage1/bin/find-modules-pci                             \
                stage1/bin/make-blkdev-nodes stage1/etc/extra.pcimap    \
                stage1/etc/master stage1/etc/modprobe.conf              \
-               stage1/etc/module-order.txt                             \
+               stage1/etc/module-order.txt stage1/etc/hosts            \
                stage1/etc/udhcpc-script stage1/etc/nsswitch.conf       \
                stage1/etc/passwd stage1/usr/lib/freedos-mbr.bin        \
                stage1/usr/lib/ntldrbin/ntldr_boot_code_install         \
Index: misc/nail-floppy.txt
===================================================================
RCS file: /cvsroot/unattended/unattended/linuxboot/misc/nail-floppy.txt,v
retrieving revision 1.52
diff -u -r1.52 nail-floppy.txt
--- misc/nail-floppy.txt        28 Mar 2008 08:45:36 -0000      1.52
+++ misc/nail-floppy.txt        4 Apr 2008 19:24:41 -0000
@@ -17,6 +17,7 @@
 
 etc/extra.pcimap
 etc/ld.so.cache
+etc/hosts
 etc/master
 etc/version
 
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to