RE: [suse-autoinstall] Installation-CD does not install kernel and initrd!
Hey, have a look at the Posting from Sept 2002 (I think)--> http://lists.suse.com/archive/suse-autoinstall/2002-Sep/ . There should be a thread called 'applying patches'. Just have a look at it. Regards Thorsten -----Original Message----- From: Erik Soyez To: suse-autoinstall@suse.com Sent: 14.11.2002 13:52 Subject: Re: [suse-autoinstall] Installation-CD does not install kernel and initrd! Hi again, what do I have to do in order to update my Installation Server with the latest rpm's and still get the AutoYast Network Installation to work? If I copy all update rpm's into the suse/* directories of my server and then run '/var/lib/YaST2/bin/create_package_descr' AutoYast will still install the old rpm's!! If I delete the old rpm's and run 'create_package_descr' again, the installation failes with the same syptoms as described for the CD-Installation of my last email. Something here does not work the way I would expect. Or is 'create_package_descr' just the wrong script?! :-(Erik. On Thu, 14 Nov 2002, Erik Soyez wrote:
Hi there,
I just created an Auto-Installation CD using AutoYast2 (SuSE-8.1).
This
seemed to be a great option for our customer to quickly reinstall his server in case of failure.
------------------------------------------------------------------------
# rpm -qa | grep autoy autoyast2-installation-2.6.38-1 autoyast2-2.6.38-1
------------------------------------------------------------------------
After installing the software packages, AutoYast says "18 packages returned an error". It does not show any details - the detailed list button shows an empty page.
Then it says something about having problems writing the boot record
and
gives a kernel panic when trying to boot the installed system.
Starting a rescue system shows that no kernel or initrd gets installed under '/boot'.
With the netork installation this problem could be solved including:
------------------------------------------------------------------------
<install> <general> <mode><confirm config:type="boolean">false</confirm></mode> ....
------------------------------------------------------------------------
Why does this not work with a CD? Please help me, this is urgent!
Thanks, Erik.
--
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- -- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
Thank you Thorsten, but these scripts do not work for SuSE-8.1. Anas, does SuSE-8.1 have any possibility for an easy Server-Upgrade included? Thanks, Erik. On Thu, 14 Nov 2002, Kugelberg, Thorsten wrote:
Hey,
have a look at the Posting from Sept 2002 (I think)--> http://lists.suse.com/archive/suse-autoinstall/2002-Sep/ . There should be a thread called 'applying patches'. Just have a look at it.
Regards Thorsten
-----Original Message----- From: Erik Soyez To: suse-autoinstall@suse.com Sent: 14.11.2002 13:52 Subject: Re: [suse-autoinstall] Installation-CD does not install kernel and initrd!
Hi again,
what do I have to do in order to update my Installation Server with the latest rpm's and still get the AutoYast Network Installation to work?
If I copy all update rpm's into the suse/* directories of my server and then run '/var/lib/YaST2/bin/create_package_descr' AutoYast will still install the old rpm's!! If I delete the old rpm's and run 'create_package_descr' again, the installation failes with the same syptoms as described for the CD-Installation of my last email.
Something here does not work the way I would expect. Or is 'create_package_descr' just the wrong script?!
:-(Erik.
On Thu, 14 Nov 2002, Erik Soyez wrote:
Hi there,
I just created an Auto-Installation CD using AutoYast2 (SuSE-8.1).
This
seemed to be a great option for our customer to quickly reinstall his server in case of failure.
------------------------------------------------------------------------
# rpm -qa | grep autoy autoyast2-installation-2.6.38-1 autoyast2-2.6.38-1
------------------------------------------------------------------------
After installing the software packages, AutoYast says "18 packages returned an error". It does not show any details - the detailed list button shows an empty page.
Then it says something about having problems writing the boot record
and
gives a kernel panic when trying to boot the installed system.
Starting a rescue system shows that no kernel or initrd gets installed under '/boot'.
With the netork installation this problem could be solved including:
------------------------------------------------------------------------
<install> <general> <mode><confirm config:type="boolean">false</confirm></mode> ....
------------------------------------------------------------------------
Why does this not work with a CD? Please help me, this is urgent!
Thanks, Erik.
--
--
Erik,
but these scripts do not work for SuSE-8.1. Anas, does SuSE-8.1 have any possibility for an easy Server-Upgrade included? Thanks, Erik.
I am missing such a feature, too (perhaps there is already such a feature from which I have not a clue). Therefore I have written 2 scripts that keep the rpms of the autoinstallation server up-to-date. You might want to have a look at http://www.inf.uni-konstanz.de/~stoltze/projekte/autoinstall/suse81/index.ht... But if there will be a solution from SuSE I will be happy not to port these scripts to the next SuSE release. Regards CS -- Christian Stoltze Computer Science, University of Constance (Lake Constance/SW-Germany) Email: Christian.Stoltze@uni-konstanz.de Voice: +49 (0)7531 88-4448 Fax: +49 (0)7531 88-3577
Christian Stoltze writes:
Erik,
but these scripts do not work for SuSE-8.1. Anas, does SuSE-8.1 have any possibility for an easy Server-Upgrade included? Thanks, Erik.
I am missing such a feature, too (perhaps there is already such a feature from which I have not a clue). Therefore I have written 2 scripts that keep the rpms of the autoinstallation server up-to-date. You might want to have a look at http://www.inf.uni-konstanz.de/~stoltze/projekte/autoinstall/suse81/index.ht...
But if there will be a solution from SuSE I will be happy not to port these scripts to the next SuSE release.
Hi Christian! In gen_latest_patches_81 you have the following lines: ALL_RPMS="`find * -name '*.rpm' -type f | sort`" # durch sort werden z.B. i586/yast2-core-2.6.47-9.i586.rpm und # i586/yast2-core-2.6.53-8.i586.rpm # schon richtig sortiert (das aeltere File zuerst) Then the package "foo-10.bla.bla.bla.rpm" will be sorted before the package "foo-9.bla.bla.bla.rpm" which is probably not what you intend. I'm working on a script that does more or less the same as your script, and in it I have NEWEST=`ls -rt $FILES | tail -1` where $FILES contains a list of all "candidates" for a given package. In my situation, care must be taken so that the dates of the files are not changed. When my script works, I'll make it publicly available. Best regards, Rasmus -- Rasmus Borup Hansen, system adm. Email: rbh@math.ku.dk Institute for Mathematical Sciences Phone: +45 353 20759 Universitetsparken 5 Cell phone: +45 20829308 DK-2100 Ø, Denmark Office: E208
Hi Rasmus,
ALL_RPMS="`find * -name '*.rpm' -type f | sort`"
# durch sort werden z.B. i586/yast2-core-2.6.47-9.i586.rpm und # i586/yast2-core-2.6.53-8.i586.rpm # schon richtig sortiert (das aeltere File zuerst)
Then the package "foo-10.bla.bla.bla.rpm" will be sorted before the package "foo-9.bla.bla.bla.rpm" which is probably not what you intend. I'm working on a script that does more or less the same as
You have right!! In this case I get not the latest patch. Perhaps an adjusted sort could solve the problem (e.g. sort -t '-' -k '3,3' -n). But after a first glance at the syntax of the filenames it would be impossible to create a sort-construct: 3d_chess-0.8.1-687.i586.rpm 3ddiag-0.496-57.i586.rpm CommonC++-2.0.99.7-29.i586.rpm CommonC++-devel-2.0.99.7-29.i586.rpm acfax-981011-625.i586.rpm alsa-0.9.0.cvs20020903-13.i586.rpm alsa-tools-0.9.0rc1-45.i586.rpm ardour-cvs20020816-21.i586.rpm libaps-2000_04_14-365.i586.rpm perl-XML-RegExp-0.03-216.i586.rpm xview-3.2p1.4-361.i586.rpm emacs-w3-cvs-225.noarch.rpm
NEWEST=`ls -rt $FILES | tail -1`
where $FILES contains a list of all "candidates" for a given package. In my situation, care must be taken so that the dates of the files are not changed.
Perhaps this is the simplest way. I will reflect on this problem too. Best Regards CS -- Christian Stoltze Computer Science, University of Constance (Lake Constance/SW-Germany) Email: Christian.Stoltze@uni-konstanz.de Voice: +49 (0)7531 88-4448 Fax: +49 (0)7531 88-3577
Hi Rasmus,
intend. I'm working on a script that does more or less the same as your script, and in it I have
NEWEST=`ls -rt $FILES | tail -1`
where $FILES contains a list of all "candidates" for a given package. In my situation, care must be taken so that the dates of the files are not changed.
I have taken over your idea with the timestamp in my script gen_latest_patches_81. Instead of the simple sort ALL_RPMS="`find * -name '*.rpm' -type f | sort`" it's better to rely on the timestamp of the rsync server: ALL_RPMS="`find * -name '*.rpm' \ -type f -printf '%TY%Tm%Td %TH%TM%TS %h/%f\n' | sort -k '1,2n' | awk '{print $NF}'`" Now the problem with the version change from e.g. 9 to 10 is solved and I only have to rely on the files timestamp of the rsync server. The script is updated and can be found under http://www.inf.uni-konstanz.de/~stoltze/projekte/autoinstall/suse81/ P.S. I have changed the subject line in order that other people can faster find the topic. Thanks, Rasmus for your ideas. Best Regards CS -- Christian Stoltze Computer Science, University of Constance (Lake Constance/SW-Germany) Email: Christian.Stoltze@uni-konstanz.de Voice: +49 (0)7531 88-4448 Fax: +49 (0)7531 88-3577
Op dinsdag 19 november 2002 11:10, schreef Christian Stoltze:
it's better to rely on the timestamp of the rsync server:
ALL_RPMS="`find * -name '*.rpm' \ -type f -printf '%TY%Tm%Td %TH%TM%TS %h/%f\n' | sort -k '1,2n' | awk '{print $NF}'`"
Now the problem with the version change from e.g. 9 to 10 is solved and I only have to rely on the files timestamp of the rsync server.
The script is updated and can be found under http://www.inf.uni-konstanz.de/~stoltze/projekte/autoinstall/suse81/
P.S. I have changed the subject line in order that other people can faster find the topic.
Since some days the apt (rpm) repository hosted at ftp.gwdg.de provides a list with the most recent rpms in the update directory. The list has the following format: abiword.rpm;abiword-0.9.2-40.i386.rpm acl.rpm;acl-1.0.7-28.i386.rpm acroread.rpm;acroread-4.05-30.i386.rpm The list (for 8.1) can be downloaded from: ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/8.1-i386/base/mrlist.update.bz2 (for 8.0 change 8.1 into 8.0) More about it at the top of the webpage at: http://linux01.gwdg.de/apt4rpm It is updated each time the repository is synched with the suse server. The list is being created by analyzing the version-release information of the rpms. To give an example of how the version-release information is being analyzed: - 2.1 is considered older than 2.10 - 2.1 is considered equal to 2.01 - 2.01.1 is newer than 2.1 (or 2.01) - 1.0pre2 is considered newer than 1.0rc1, though 1.0pre1 is considered older than 1.0rc1 - 1.11b36-2 is considered more recent than 1.11a36-2 or 1.11A36-2 (this case the a stands for alpha and the b for beta). I hope its usefull for someone. -- Richard Bos Without a home the journey is endless
* Christian Stoltze <Christian.Stoltze@uni-konstanz.de> [Nov 14. 2002 16:23]:
Erik,
but these scripts do not work for SuSE-8.1. Anas, does SuSE-8.1 have any possibility for an easy Server-Upgrade included? Thanks, Erik.
I am missing such a feature, too (perhaps there is already such a feature from which I have not a clue). Therefore I have written 2 scripts that keep the rpms of the autoinstallation server up-to-date. You might want to have a look at http://www.inf.uni-konstanz.de/~stoltze/projekte/autoinstall/suse81/index.ht...
This goes far and beyond what I am trying to do here even if it might be a nice feature. There many nice features but if we start working in this arena the main subject, which is the auto-installation itself will lag behind. Such features should be solved with scripts which match your need. We cant automate everything, well, we can, but this needs more time, more developers more more. If you miss such a value added, and non-core feature, and you wish us to do it, contact our sales department ;-) Our feature list for the future is growing from day to the next, but we have to focus somehow :-) People should start putting their scripts online like Christian Stoltze :) Anas
But if there will be a solution from SuSE I will be happy not to port these scripts to the next SuSE release.
Regards CS -- Christian Stoltze Computer Science, University of Constance (Lake Constance/SW-Germany) Email: Christian.Stoltze@uni-konstanz.de Voice: +49 (0)7531 88-4448 Fax: +49 (0)7531 88-3577
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- Anas Nashif <nashif@suse.com>, SuSE Linux AG Montreal (Laval), Canada
Hello, I've got another problem while trying to create my own installation CD (SuSE-8.1). Everything worked fine, except that AutoYast2 forgot to write the files 'isolinux.cgf' and 'content' onto the CD-image. I did that manualy. Then I copied the latest patches, ran 'create_package_descr' on the image (thanks Anas, now it worked: "EXTRA_PROV"....) and mkisofs'ed it back again. The CD boots up, but it doesn't find any software selection nor a single rpm. The rpm's are right where they belong and the "package"-files are up to date. Any any any ideas?! Thanks!!!! Erik. -- Erik Soyez.
On Thu, 28 Nov 2002, Erik Soyez wrote:
the image (thanks Anas, now it worked: "EXTRA_PROV"....) and mkisofs'ed it back again. The CD boots up, but it doesn't find any software selection nor a single rpm. The rpm's are right where they belong and the "package"-files are up to date.
This happened to me also with a standard SuSE 8.1 DVD in interactive mode. So I think, that it is not an autoinstall problem, but perhaps a general issue with yast2. Volkmar -- Volkmar Glauche Department of Neurology E-Mail glauche@uke.uni-hamburg.de UKE Hamburg WWW http://glauche.home.pages.de/ Martinistr. 52 Phone 49(0)40-42803-5781 20246 Hamburg Fax 49(0)40-42803-9955
participants (7)
-
Anas Nashif
-
Christian Stoltze
-
Erik Soyez
-
Kugelberg, Thorsten
-
Rasmus Borup Hansen
-
Richard Bos
-
Volkmar Glauche