logo       

RE: installing SP2 using autoyast: msg#00002

linux.suse.autoinstall

Subject: RE: installing SP2 using autoyast

John,

The problems seems that autoyast need to know where are the rpms for that it
use the order & instorder files located on the primary installation source
witch is for you the SLES9 CD1. In that case autoyast cannot ask you to insert
any SP CD because they are not referenced on the CD1 of SLES9. Maybe you should
try different methods.
1) Use the CD1 of SP2 when installing and not the CD1 of SLES9 so it load the
right order/instorder.
2) Create a custom CD with CD Creator with yast2 that include all needed files
using an SP2 source (NFS or local or any other form)
3) Create an nfs source that's include SP2 and use it as the install source for
autoyast instead of CD.
4) Dunno but i'm sure there are lot's of other ways to solve your problem also.

Hope this could help you.

Daniel BENISTY

-----Message d'origine-----
De : jaiber john [mailto:jaiber.john@xxxxxxxxx]
Envoyé : mardi 7 mars 2006 16:25
À : suse-autoinstall@xxxxxxxx
Objet : [suse-autoinstall] installing SP2 using autoyast

Hello,

I'm working on a software that lets user install SLES9 and the drivers required
on a machine automatically. It does this by collecting essential user inputs
and creating the autoyast.xml. This xml file is copied to a hard-disk location
along with the vmlinux and initrd from CD1 to the hard-disk which is then made
bootable by installing LILO (with kernel and initrd lines pointing to the files
copied above). The linuxrc.config is modified within the initrd to set
installation source as CD, etc. The following lines were added to
linuxrc.config before re-creating the initrd:
-------------------------------------------------------
AutoYast: file:///autoyast.xml
Exec: modprobe ext3
InstMode: cd
-------------------------------------------------------
On re-boot from hard-disk, it'd request SLES9 CD1,2,3,... and the OS would get
installed. The drivers would get installed through post-install scripts.
This techinique worked well for SLES9 but not with SP2.

If I do the same with SP2 (i.e, copying the kernel, initrd from SP2 CD1 to
hard-disk), on reboot, it requests for core SLES9 CD1 and then on, only
SLES9 installation proceeds, the SP2 cds were not asked and hence they dont get
installed.

Are there any provision in linuxrc.config or info file to direct autoyast to
install SP2 and hence request specifically for SP2 CD1 on reboot?

--
Thanks
<Jaiber John>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise