Re: [opensuse-autoinstall] Custom autoInstall boot CD for multiple distributions (SLES 9 & SLES10)
Ok. I'm making progress with the add-on media for SLES 10. But I'm still stuck on how do I create my own add-on media with my autoyast profile.xml on it and get SLES 10 to use it. My whole goal is to fully automate the system and add-on install in grub menu selection. If I put autoyast=cd:///myprofile.xml I get a message from SLES 10 that it can't find/read my profile since the SLES 10 CD #1 is what has booted. If I copy the /boot folder from SLES 10 to my add-on CD and put autoyast=file:///myprofile.xml in the isolinux.cfg file the YaST install system finds my profile but then can't instialize the software catalogs since it doesn't know about the SLES 10 media yet. Is there a solution to this delima or am I forced into the creation of a floppy with the profile.xml on it and manually typing the "autoyast=floppy install=cd" on the grub boot line? Try this. It works http://developer.novell.com/wiki/index.php/Creating_Add-On_Media_with_YaST Michel-André ****************************** Steffen Winterfeldt a écrit : On Tue, 25 Mar 2008, Adam Hawks wrote: I changed the boot CD to have a SLES 9 and a SLES 10 kernel and initrd. And since root is in different locations on SLES 9 vs SLES 10 then linuxrc loads the corresponding install system. YaST is correctly starting with the install system for the correct SLES and reads the profiles without failing. I STILL have the problem that my CD doesn't request the SLES 9 or SLES 10's CD #1 when initializing the software catalogs. With SLES 8 you had the SLES 8 CD #1 and the United Linux CD #1 and you could boot from either one to install depending on whether you wanted SLES or United Linux. My situation is like the SLES 8 model where I have my RPM's that need to be installed on top of SLES 9, SLES 10 during the install. The only difference is I need to support both SLES 9 and SLES 10 as the base product. So I guess my basic problem is two fold. 1) How do you correctly layout a CD distribution with multiple products (mine on top of SLES 9 and mine on top of SLES 10)? 2) How do you create a boot CD that is an add-on to the existing SLES CD's without remastering CD #1 of SLES? Hm, I can't comment on the required layout for add-on CDs but if you remove the 'root' images from your CD, linuxrc assumes you have a special boot CD and will ask for CD1. Maybe that helps. Steffen -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
For sure the solution is here: I did a document on how to setup an installation server *in french* but with lot of screen shots. http://www.micronator.org/PDF/PXE-installation-de-SLES10-SP1.pdf It is based *in english *on: http://www.novell.com/connectionmagazine/2007/q3/tech_talk_6.html This will show you how to create the installation server. You will save a little the planet by not using CD or DVD and it is much faster that way. The first document, the one I did, also describe how to use menu.c32 and the default file. I did installed an installation server on both SLES-10sp1 and OpenSuse-10.3. On OpenSuSE-10.3, you have to install: *yast2-instserver* Even if it is in french, as I wrote above there is a lot of screen shots so it should be understandable. On both of them, syslinux is outdated and give a cosmetical error but it still work. If you want to get rid of the error, remove the original syslinux but leave the mtools. Then download the latest sysliux ans install it on the server to get the pxelinux.0. Put that file in the tftp/pxelinux.cfg. The error only shows up if you use TEXT HELP...ENDTEXT. If you don't use it then forget about the new syslinux and use the one that is installed. Anyway the error is cosmetical only. ******************* ADD-ON then go to: http://developer.novell.com/wiki/index.php/Creating_Add-On_Media_with_YaST to understand the ADD-ON. Same URL as below. Don't forget to sign the add-on. _I think your error is from signing the iso._ Then put the add-on iso on the installation server. I did an installation that uses add-on for OES2. It produced an autoinstall.xml. The section below is what it add for the add-on. <add-on> <add_on_products config:type="list"> <listentry> <media_url>http://192.168.1.149/install/OES/CD1</media_url> <product>OPEN_ENTERPRISE_SERVER</product> <product_dir>/</product_dir> </listentry> </add_on_products> </add-on> ******************* AUTOINSTALL.XML The best way to produce a good autoinstall.xml is to use VMware. It works on M$ and on Linux. For M$, see: http://www.micronator.org/PDF/InstallationDeVMwareServeur_WINDOWS.pdf For Linux, see: http://www.micronator.org/PDF/InstallationDeVMwareServeur_LINUX.pdf Ask a few licenses, it is free and they don't check the email address. For linux, the best way is to get the RPM file. Install it then run vmware-pl to configure it. Take all the defaults. You need gcc installed so to be able to compile modules when you run vmware-pl. At some point it will ask the license, just copy & paste it when you run vmware-pl. Then create a virtual machine and installed your SLES-10. At the end, when it ask to clone the system, click yes. It will put the autoinstall.xml in /root. Copy and save the file, you will see how it did for the ADD-ON etc. Modify it for each different machine you want to install. Easier but longer way is to use the MAC adddress for the file name, or add a line in menu.c32 for each different machine you want to install. ******************* AUTOYAST autoyast=tftp://IP-Address-Of-TFTP/pxelinux.cfg/myprofile.xml ******************* VNC I tried it and it realy installed hand-free. I was watching the installation with vncviewer. vnc=1 vncpassword=your-password ******************* Voilà, that should work. If it doesn't work then send me an email and we can connect together to show you how to do it. Good luck Michel-André ************************************************ Adam Hawks a écrit :
Ok. I'm making progress with the add-on media for SLES 10. But I'm still stuck on how do I create my own add-on media with my autoyast profile.xml on it and get SLES 10 to use it. My whole goal is to fully automate the system and add-on install in grub menu selection.
If I put autoyast=cd:///myprofile.xml I get a message from SLES 10 that it can't find/read my profile since the SLES 10 CD #1 is what has booted.
If I copy the /boot folder from SLES 10 to my add-on CD and put autoyast=file:///myprofile.xml in the isolinux.cfg file the YaST install system finds my profile but then can't instialize the software catalogs since it doesn't know about the SLES 10 media yet.
Is there a solution to this delima or am I forced into the creation of a floppy with the profile.xml on it and manually typing the "autoyast=floppy install=cd" on the grub boot line?
Try this. It works
http://developer.novell.com/wiki/index.php/Creating_Add-On_Media_with_YaST
Michel-André ******************************
Steffen Winterfeldt a écrit : On Tue, 25 Mar 2008, Adam Hawks wrote:
I changed the boot CD to have a SLES 9 and a SLES 10 kernel and initrd. And since root is in different locations on SLES 9 vs SLES 10 then linuxrc loads the corresponding install system. YaST is correctly starting with the install system for the correct SLES and reads the profiles without failing.
I STILL have the problem that my CD doesn't request the SLES 9 or SLES 10's CD #1 when initializing the software catalogs.
With SLES 8 you had the SLES 8 CD #1 and the United Linux CD #1 and you could boot from either one to install depending on whether you wanted SLES
or United Linux. My situation is like the SLES 8 model where I have my RPM's that need to be installed on top of SLES 9, SLES 10 during the install. The only difference is I need to support both SLES 9 and SLES 10 as the base product.
So I guess my basic problem is two fold. 1) How do you correctly layout a CD distribution with multiple products (mine on top of SLES 9 and mine on top of SLES 10)? 2) How do you create a boot CD that is an add-on to the existing SLES CD's
without remastering CD #1 of SLES?
Hm, I can't comment on the required layout for add-on CDs but if you remove the 'root' images from your CD, linuxrc assumes you have a special boot CD and will ask for CD1. Maybe that helps.
Steffen
Adam Hawks a écrit :
Ok. I'm making progress with the add-on media for SLES 10. But I'm still stuck on how do I create my own add-on media with my autoyast profile.xml on it and get SLES 10 to use it. My whole goal is to fully automate the system and add-on install in grub menu selection.
If I put autoyast=cd:///myprofile.xml I get a message from SLES 10 that it can't find/read my profile since the SLES 10 CD #1 is what has booted.
If I copy the /boot folder from SLES 10 to my add-on CD and put autoyast=file:///myprofile.xml in the isolinux.cfg file the YaST install system finds my profile but then can't instialize the software catalogs since it doesn't know about the SLES 10 media yet.
Is there a solution to this delima or am I forced into the creation of a floppy with the profile.xml on it and manually typing the "autoyast=floppy install=cd" on the grub boot line?
Try this. It works
http://developer.novell.com/wiki/index.php/Creating_Add-On_Media_with_YaST
Michel-André ******************************
Steffen Winterfeldt a écrit : On Tue, 25 Mar 2008, Adam Hawks wrote:
I changed the boot CD to have a SLES 9 and a SLES 10 kernel and initrd. And since root is in different locations on SLES 9 vs SLES 10 then linuxrc loads the corresponding install system. YaST is correctly starting with the install system for the correct SLES and reads the profiles without failing.
I STILL have the problem that my CD doesn't request the SLES 9 or SLES 10's CD #1 when initializing the software catalogs.
With SLES 8 you had the SLES 8 CD #1 and the United Linux CD #1 and you could boot from either one to install depending on whether you wanted SLES
or United Linux. My situation is like the SLES 8 model where I have my RPM's that need to be installed on top of SLES 9, SLES 10 during the install. The only difference is I need to support both SLES 9 and SLES 10 as the base product.
So I guess my basic problem is two fold. 1) How do you correctly layout a CD distribution with multiple products (mine on top of SLES 9 and mine on top of SLES 10)? 2) How do you create a boot CD that is an add-on to the existing SLES CD's
without remastering CD #1 of SLES?
Hm, I can't comment on the required layout for add-on CDs but if you remove the 'root' images from your CD, linuxrc assumes you have a special boot CD and will ask for CD1. Maybe that helps.
Steffen
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Adam Hawks
-
Michel-André