Will McDonald a ?crit : > On 23/03/06, saveline@xxxxxxxxxx <saveline@xxxxxxxxxx> wrote: > >> Hi, I am trying to install a box by using your trick (nfs mount + %include) >> Here is my problem : Anaconda says that he can't find my files on /mnt/ks >> But I think my export should be good because I can mount it on another >> machine. In addition, during the end of anaconda he tells me that he has >> unmounted /mnt/ks and I can see request mount in my /var/log/messages >> server. >> You can see my kickstart file : >> >> install >> lang en_US.UTF-8 >> langsupport --default en_US.UTF-8 en_US.UTF-8 fr_FR.UTF-8 >> keyboard fr >> mouse genericwheelps/2 --device psaux >> skipx >> network --device eth0 --bootproto static --ip 85.5.11.144 --netmask >> 255.255.255.0 >> network --device eth1 --bootproto dhcp >> nfs --server my.machine.int --dir /var/kickstart/centos/4.1/i386/os >> firewall --disabled >> timezone --utc Europe/Paris >> bootloader --location=mbr >> zerombr yes >> reboot >> >> %include /mnt/ks/partition >> %include /mnt/ks/package >> >> %pre >> mkdir /mnt/ks >> mount my.machine.int:/var/kickstarttest /mnt/ks >> > > That looks pretty much like what I have working. When you're mounting > my.machine.int, are you using an IP address or is that the hostname? > I'd try using the IP in case you don't have name services available. > > You can keep an eye on what KickStart is doing by by switching virtual > consoles as usual: > > Alt-F1 - installation dialog > Alt-F2 - shell prompt > Alt-F3 - install log (messages from install program) > Alt-F4 - system log (messages from kernel, etc.) > Alt-F5 - other messages > Alt-F3 is especially useful when dealing with errors in your Kickstart > configuration files. > > Here's the config I currently have.... > > # Kickstart to build default CentOS system > # > # $Id: centos4-install-ks.cfg,v 1.5 2006/03/21 14:57:18 root Exp $ > # > > # Setup kickstart defaults (keyboard, NFS server etc.) > # %include /mnt/ks/kickstart/include/kickstart.cfg > # standard Kickstart defaults for keyboard, languange, NFS server etc. etc. > > nfs --server=192.168.24.218 --dir=/opt/centos/4/os/i386 > lang en_US.UTF-8 > langsupport --default=en_GB.UTF-8 en_GB.UTF-8 > keyboard uk > reboot > text > network --device eth0 --bootproto dhcp > rootpw --iscrypted $1$wUjJ2O2O$xhfsduRpIbo2h7TVtT6Wo1 > firewall --disabled > selinux --disabled > authconfig --enableshadow --enablemd5 > timezone --utc Europe/London > bootloader --location=mbr > > # Setup partitions > %include /mnt/ks/kickstart/include/disk.cfg > > # Package list to install > %include /mnt/ks/kickstart/include/packages.cfg > > %pre > mkdir /mnt/ks > mount 192.168.24.218:/opt/ /mnt/ks > > %post > # Setup CentOS Yum repository > %include /mnt/ks/kickstart/include/centos4-yum.cfg > [lots of other stuff after here] > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > OK thanx I will try to debug my config, I didn't think about switching virtual console. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.centos.org/pipermail/centos/attachments/20060323/5c6247c8/attachment.htm