WG: [suse-autoinstall] Antwort: Re: [suse-autoinstall] autoinst.xml on self-made cd
Hello,
is there really no way to have the ethernet adapter detected automatically
so that there will be the entry for my ethernet interface in
/etc/modules.conf again? Since I create my CD according to Anas
instruction it won't be inserted automatically.
Thank you for you help.
Regards Manuel
----- Weitergeleitet von Manuel Lässer/TK Services/Telekurs am 17.04.2004
13:32 -----
Manuel.Laesser@telekurs.com
07.04.2004 21:52
An
Anas Nashif
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 -----------------------------------------------------------
Manuel.Laesser@telekurs.com wrote:
Hello, is there really no way to have the ethernet adapter detected automatically so that there will be the entry for my ethernet interface in /etc/modules.conf again? Since I create my CD according to Anas instruction it won't be inserted automatically.
I didn't follow the discussion about creating the CD, but there is a way: Insert all possible network modules via the info file. We use a self-created initrd (for installing via pxe) which contains an info file with entries like this: insmod 3c90x insmod e1000 insmod bcm5700 ... This makes autoyast try all the modules, and the one that matches will be entered in modules.conf automatically. This works on SuSE 9.0, no idea about earlier versions. 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: -4054 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
Hello Frank Thank you for your answer. Just some more questions. What is the exact name of this file? Where do I have to put it? I only found a module.config file in /modules of the unpacked initrd, but this doesn't seem to be the file you are talking about. Thank you very much for your help. Manuel
Manuel.Laesser@telekurs.com wrote:
Hello Frank Thank you for your answer. Just some more questions. What is the exact name of this file? Where do I have to put it? I only found a module.config file in /modules of the unpacked initrd, but this doesn't seem to be the file you are talking about.
No, I'm talking about the "configuration file" that feeds information
to linuxrc. Look at chapter 7.3.1 from the Autoyast Doku for SuSE 9.0.
This file is named "info" and you can put it on a floppy if you boot
from a normal cdrom e.g., or if you plan to install everything via
network, e.g. using pxe like we do it, you can put it into the intird
that will be transfered with pxe.
We use a pxelinux.cfg (see chapter 5 of the docu) with
label linux
kernel vmlinuz.install
append initrd=initrd rw ramdisk_size=65536 apm=power-off
and for the "initrd" in the tftpboot directory, we unpacked the initrd
from the SuSE CD and put out own "info" file into the root of the initrd
before packing it again.
The info file looks like this:
# Initial Info file to boot over network.
######################################################
# general stuff
Language: de_DE
Display: color
Keytable: us
###############################################
# which network device do we use?
Netdevice: eth0
###############################################
# where do we install from
install: nfs://<our ip hidde>/rpm-export/i586/9.0/SuSE/
autoyast: nfs://<our ip hidden>/rpm-export/autoyast/9.0/
###############################################
# remote control
VNC: 1
VNCPassword:
participants (2)
-
Frank Steiner
-
Manuel.Laesser@telekurs.com