How do I prevent re-install?
Last year I wrote this: Dave Thacker wrote:
Goal: Unnattended install of SUSE 9.1 using autoyast2.
I've successfully done a minimal installation using auto-yast on SuSE 9.1. After the client finished install, it rebooted. It's set to boot from PXE so it started up the entire install process. and started to install again. I have <forceboot config:type="boolean">false</forceboot> set in the config file. In chapter 4 of the docs it states: "Change starting from SUSE Linux 9.1/SLES9 The reboot property in the mode resource was used to force a reboot after initial system setup and before the system is rebooted for the first time. Currently after initial installation all systems must reboot, which makes this option obsolete."
Given that a reboot is inevitable, how do I stop a perpetual install loop? DT
In SLES9 there is a feature which is not documented exactly to solve
And Anas was kind enough to offer this solution.
this problem:
<install>
...
<pxe>
On Tuesday 21 June 2005 17:54, Dave Thacker wrote:
This will make YaST upload the contents of <pxelinux-config> to the TFTP server. /tftpboot/pxelinux.cfg has to be world writable.
This has not worked. I've checked the /var/log/yaST2 logs to see if the tags "<pxelinux>" show up and are acted upon, but I don't see them being read or seen by autoyast.
this feature (even though it's unofficial) should work on SLES9 SP1.
What can I do to debug this problem?
do the installation, then boot into the installed system. What is the output of this command? grep -A1 "putting pxe" /var/log/YaST2/y2log-1 -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nürnberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Uwe Gansert wrote
this feature (even though it's unofficial) should work on SLES9 SP1.
However, it doesn't help when you install more than one host at the same time. A possibility to specify the filename would help, because it is easy to automatically generate e.g. pxelinux.<hostip>.cfg for every host to be installed. So every host could disable its own pxelinux.<hostip>.cfg only (based on some ip-dependent rule). Any plans like that for SuSE 10/SLES 10? :-) cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
On Wednesday 22 June 2005 11:49, Frank Steiner wrote:
However, it doesn't help when you install more than one host at the same time. A possibility to specify the filename would help, because it is easy to automatically generate e.g. pxelinux.<hostip>.cfg for every host to be installed. So every host could disable its own pxelinux.<hostip>.cfg only (based on some ip-dependent rule).
Any plans like that for SuSE 10/SLES 10? :-)
No plans but I'll keep that in mind. Should be easy to implement and sounds reasonable. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nürnberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Uwe Gansert wrote
No plans but I'll keep that in mind. Should be easy to implement and sounds reasonable.
Ok, thanks so far :-) -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
participants (3)
-
Dave Thacker
-
Frank Steiner
-
Uwe Gansert