autoinst.xml on self-made cd
Hello, sorry to bother you again and again. I'm using SLES8 with autoyast2-2.6.44-7 and autoyast2-installation-2.6.44-7. I think this is the latest version for SLES8 (comming with SP3). I copied autoinst.xml to the root of my self-made CD-ROM and I'm using the following parameter in isolinux.cfg # autoyast label autoyast kernel linux append initrd=initrd ramdisk_size=65536 autoyast=default instmode=cd usedhcp=0 textmode=1 If you use parameter "autoyast=default" YaST2 will look for autoinst.xml in the following three places (according to Anas Nashif PDF SLES8 - Automatic Linux Installation and Configuration with YaST2) : 1. the root directory of the floppy disk 2. the root directory of the installation medium (CD-ROM in my case) 3. the root directory of the initial ram disk used to boot the system Cool......unfortunately it doesn't work at all in my environment. I tried with "autoyast=file:/autoinst.xml", "autoyast=file://autoinst.xml", "autoyast=default" I always got this bloody control menu where it asks for the location of the autoinst.xml! From there I could choose http, device, floppy, nfs....but I didn't manage to access the cdrom. If I insert a floppy with my autoinst.xml in the root, the installation is proceeding. I also can edit isolinux.cfg with "autoyast=floppy://autoinst.xml" and it'll find autoinst.xml. Why do I get always very nice and well meant hints from the autoinstall mailing list telling me that the are using "...autoyast= default instmode=cd..." and everything is working fine. Does this have a coherence that I'm using SLES8 with autoyast2-2.6.44-7 and most of people Suse x.x with the newest autoyast2 autoyast2-2.8.14-20 or so..... I'm really stumped.... Any comment is welcome. Regards Manuel p.s. I'll send a box of the finest original swiss chocolate to the one who can give me the right tip to solve this problem...... ;-)) ----------------------------------------------------------- Telekurs Services Hardturmstrasse 201, 8005 Zürich Phone : +41 1 279 44 24 Fax : +41 1 279 34 44 mailto : manuel.laesser@telekurs.com -----------------------------------------------------------
Hi, I have just tried reproducing this, and it works for me as expected. - unpack ISO/CD of SLES8 into a directory /tmp/SLES - unpack ISO/CD of SP3 into a directory /tmp/SP3 - cp /tmp/SP3/driverupdate /tmp/SLES - cp /tmp/SP3/boot/loader/linux /tmp/SLES/boot/loader - cp /tmp/SP3/boot/loader/initrd /tmp/SLES/boot/loader - Edit /tmp/SLES/boot/loader/isolinux.cfg and add autoyast=default instmode=cd - Copy autoinst.xml into /tmp/SLES Create ISO image Boot and it works. Anas Manuel.Laesser@telekurs.com wrote:
Hello, sorry to bother you again and again. I'm using SLES8 with autoyast2-2.6.44-7 and autoyast2-installation-2.6.44-7. I think this is the latest version for SLES8 (comming with SP3). I copied autoinst.xml to the root of my self-made CD-ROM and I'm using the following parameter in isolinux.cfg
# autoyast label autoyast kernel linux append initrd=initrd ramdisk_size=65536 autoyast=default instmode=cd usedhcp=0 textmode=1
If you use parameter "autoyast=default" YaST2 will look for autoinst.xml in the following three places (according to Anas Nashif PDF SLES8 - Automatic Linux Installation and Configuration with YaST2) :
1. the root directory of the floppy disk 2. the root directory of the installation medium (CD-ROM in my case) 3. the root directory of the initial ram disk used to boot the system
Cool......unfortunately it doesn't work at all in my environment. I tried with "autoyast=file:/autoinst.xml", "autoyast=file://autoinst.xml", "autoyast=default" I always got this bloody control menu where it asks for the location of the autoinst.xml! From there I could choose http, device, floppy, nfs....but I didn't manage to access the cdrom. If I insert a floppy with my autoinst.xml in the root, the installation is proceeding. I also can edit isolinux.cfg with "autoyast=floppy://autoinst.xml" and it'll find autoinst.xml.
Why do I get always very nice and well meant hints from the autoinstall mailing list telling me that the are using "...autoyast= default instmode=cd..." and everything is working fine. Does this have a coherence that I'm using SLES8 with autoyast2-2.6.44-7 and most of people Suse x.x with the newest autoyast2 autoyast2-2.8.14-20 or so.....
I'm really stumped....
Any comment is welcome.
Regards Manuel
p.s. I'll send a box of the finest original swiss chocolate to the one who can give me the right tip to solve this problem...... ;-))
----------------------------------------------------------- Telekurs Services Hardturmstrasse 201, 8005 Zürich Phone : +41 1 279 44 24 Fax : +41 1 279 34 44 mailto : manuel.laesser@telekurs.com -----------------------------------------------------------
Hello Anas, thank you very much for your answer. I just tried it and copied all files you mentioned to my installation repository. After that, I used the GUI of autoyast to create the ISO image. Normaly my iso images are about 282mb large, if I use my xml-file. But after I copied those files from sp3 to my rep. directory the first image was 121mb, then 89mb and a third one foolish 32mb....notabene always the same xml-file! I mounted the iso image under /mnt and made a "du -h". 6.8M /mnt/boot/loader 56M /mnt/boot 2.5K /mnt/media.1 2.0K /mnt/UnitedLinux/i386 11K /mnt/UnitedLinux/i586 2.5K /mnt/UnitedLinux/noarch 5.5K /mnt/UnitedLinux/setup/descr 8.0K /mnt/UnitedLinux/setup 26K /mnt/UnitedLinux 56M /mnt It seems that yast2 could not gather one rpm listed in the xml-file. My questions. 1. Did you only copy the file driverupdate, linux, initrd from SP3 to /tmp/SLES and you didn't patch the whole /tmp/SLES with SP3? 2. How did you create your iso image? Using yast2 or via command line and mkisofs? Manuel
What I did was just an example to show the autoyast=default works. The option to create CDs in autoyast does not supoort multiple sources like SLES. So you have to create your own. There is an unofficial package 2.6.45 on the ftp site with scripts to create a CD. Use it and see if it solves the problem. ftp.suse.com/pub/people/nashif/RPMS/sles8/i386 Anas Manuel.Laesser@telekurs.com wrote:
Hello Anas, thank you very much for your answer. I just tried it and copied all files you mentioned to my installation repository. After that, I used the GUI of autoyast to create the ISO image. Normaly my iso images are about 282mb large, if I use my xml-file. But after I copied those files from sp3 to my rep. directory the first image was 121mb, then 89mb and a third one foolish 32mb....notabene always the same xml-file! I mounted the iso image under /mnt and made a "du -h".
6.8M /mnt/boot/loader 56M /mnt/boot 2.5K /mnt/media.1 2.0K /mnt/UnitedLinux/i386 11K /mnt/UnitedLinux/i586 2.5K /mnt/UnitedLinux/noarch 5.5K /mnt/UnitedLinux/setup/descr 8.0K /mnt/UnitedLinux/setup 26K /mnt/UnitedLinux 56M /mnt
It seems that yast2 could not gather one rpm listed in the xml-file.
My questions.
1. Did you only copy the file driverupdate, linux, initrd from SP3 to /tmp/SLES and you didn't patch the whole /tmp/SLES with SP3? 2. How did you create your iso image? Using yast2 or via command line and mkisofs?
Manuel
Hello Anas Thank you so much for this hint! It really works if you follow all your instruction below step by step. There are a couple of things that changed if I compare it with the installation from my repository-server. 1. at the stage when the license agreement is displayed, there is a 10 second countdown and after this the installation starts. How can I disable this timer so you really have to press enter to continue? 2. no module will be loaded for the network interface(s) because there is no entry in /etc/modules.conf for eth0. If I install the server from my repository-server the ethernet interface eth0 will be discovered automatically and I've got an alias set for my eth0 in /etc/modules.conf. Is there a way, I can detect all ethernet interfaces and insert them all in /etc/modules.conf even I install my server from the cd as described by Anas below? Thank you for your answer. Regards Manuel ----------------------------------------------------------- Telekurs Services Hardturmstrasse 201, 8005 Zürich Phone : +41 1 279 44 24 Fax : +41 1 279 34 44 mailto : manuel.laesser@telekurs.com ----------------------------------------------------------- Anas Nashif <nashif@suse.de> 03.04.2004 02:59 An Manuel.Laesser@telekurs.com Kopie suse-autoinstall@suse.com Thema Re: [suse-autoinstall] autoinst.xml on self-made cd Hi, I have just tried reproducing this, and it works for me as expected. - unpack ISO/CD of SLES8 into a directory /tmp/SLES - unpack ISO/CD of SP3 into a directory /tmp/SP3 - cp /tmp/SP3/driverupdate /tmp/SLES - cp /tmp/SP3/boot/loader/linux /tmp/SLES/boot/loader - cp /tmp/SP3/boot/loader/initrd /tmp/SLES/boot/loader - Edit /tmp/SLES/boot/loader/isolinux.cfg and add autoyast=default instmode=cd - Copy autoinst.xml into /tmp/SLES Create ISO image Boot and it works. Anas Manuel.Laesser@telekurs.com wrote:
Hello, sorry to bother you again and again. I'm using SLES8 with autoyast2-2.6.44-7 and autoyast2-installation-2.6.44-7. I think this is the latest version for SLES8 (comming with SP3). I copied autoinst.xml to the root of my self-made CD-ROM and I'm using the following parameter in
isolinux.cfg
# autoyast label autoyast kernel linux append initrd=initrd ramdisk_size=65536 autoyast=default instmode=cd usedhcp=0 textmode=1
If you use parameter "autoyast=default" YaST2 will look for autoinst.xml in the following three places (according to Anas Nashif PDF SLES8 - Automatic Linux Installation and Configuration with YaST2) :
1. the root directory of the floppy disk 2. the root directory of the installation medium (CD-ROM in my case) 3. the root directory of the initial ram disk used to boot the system
Cool......unfortunately it doesn't work at all in my environment. I tried with "autoyast=file:/autoinst.xml", "autoyast=file://autoinst.xml", "autoyast=default" I always got this bloody control menu where it asks for the location of the autoinst.xml! From there I could choose http, device, floppy, nfs....but I didn't manage to access the cdrom. If I insert a floppy with my autoinst.xml in the root, the installation is proceeding. I also can edit isolinux.cfg with "autoyast=floppy://autoinst.xml" and it'll find autoinst.xml.
Why do I get always very nice and well meant hints from the autoinstall mailing list telling me that the are using "...autoyast= default instmode=cd..." and everything is working fine. Does this have a coherence that I'm using SLES8 with autoyast2-2.6.44-7 and most of people Suse x.x
with the newest autoyast2 autoyast2-2.8.14-20 or so.....
I'm really stumped....
Any comment is welcome.
Regards Manuel
p.s. I'll send a box of the finest original swiss chocolate to the one who can give me the right tip to solve this problem...... ;-))
----------------------------------------------------------- Telekurs Services Hardturmstrasse 201, 8005 Zürich Phone : +41 1 279 44 24 Fax : +41 1 279 34 44 mailto : manuel.laesser@telekurs.com -----------------------------------------------------------
participants (2)
-
Anas Nashif
-
Manuel.Laesser@telekurs.com