Hi
Was anybody succsessfull with autoyast2-installation
an an (samba) smb://... repository?
I have some Problems with autoinstallation with autoyast2 and a
samba-Source-Repository.
The SuSE-Version is 8.1
I've set up an dhcp-Server with pxe-envornment.
The Client loads kernel and initrd perfectly.
Then the Client loads its autoyast2-configuration-file
via tftp from the same server.
The Client analyzes the xml-configuration file -> Ok
After that YaST reports the following information:
-------------------------------------------------
[X] Load and configure additional kernel modules
[X] Configure Language,Keyboard and TimeZone
[X] Configure Mouse
[X] Execute pre-install user scripts
[X] Configure Bootloader
=> Configure Software Selections
Error
Error while configuring software selections.
Please try again.
------------------------------------------------
Using the shell on tty2 I saw, that the samba-share with the source was
successfully mounted to /var/adm/mount
In /var/log/YaST2/y2log I saw:
...
InstURL::installInf2Url: 125 URL smb://192.168.152.162SuSE81
...
ScanMedia: //
...
Failed to open:// ERROR (Media: invalid URL)
Where is the mistake ?
BTW: Installing via nfs works perfectly (but we do need an Samba-Server for
the SuSE-Installation-Media)
Is it possible to use a pre-install Script to mount the Media to another
Mount-Point and use a file:... - Url ?
Here some Details about my Configuration:
pxe-config (we use pxegrub):
---------------------------------------
bootp
timeout 1
default 0
splashimage (nd)/linux/splash.xpm.gz
title SuSE 8.1 Autoinst
root (nd)
kernel /suselinux vga=0xf05 initrd=/suseinitrd console=/dev/tty0 \\
load_ramdisk=1 textmode=1 autoyast=tftp://192.168.152.162/x11.xml \\
install=smb://192.168.152.162/SuSE81
initrd=/suseinitrd
boot
------------------------------------------------
x11.xml:
------------
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/YaST2/include/autoinstall/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<configure>
<networking>
<dns>
false
false
<domain>materna.de</domain>
<hostname>schnubbel</hostname>
<nameservers config:type="list">
<nameserver>192.168.50.37</nameserver>
</nameservers>
<searchlist config:type="list">
<search>materna.de</search>
</searchlist>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>static</bootproto>
<broadcast>192.168.153.255</broadcast>
<device>eth0</device>
<ipaddr>192.168.152.172</ipaddr>
<module>eepro100</module>
<netmask>255.255.254.0</netmask>
<network>192.168.152.0</network>
<startmode>onboot</startmode>
<wireless>no</wireless>
</interface>
</interfaces>
<routing>
false
<routes config:type="list">
<route>
<destination>default</destination>
<device>-</device>
<gateway>192.168.152.1</gateway>
<netmask>-</netmask>
</route>
</routes>
</routing>
</networking>
<runlevels>
<default>5</default>
</runlevels>
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
lajxD3al7xGcM
<username>root</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
E9wquypY3OB36
<username>hk</username>
</user>
</users>
<x11>
16
true
kdm
false
<monitor>
<display>
96
160
31
50
</display>
MCM1902
SIEMENS NIXDORF
</monitor>
<resolution>1024x768</resolution>
true
</x11>
</configure>
<install>
<bootloader>
<activate config:type="boolean">true</activate>
false
<linear config:type="boolean">false</linear>
<location>mbr</location>
</bootloader>
<general>
<clock>
<timezone></timezone>
</clock>
<keyboard>
<keymap>
<keymap>
<keymap>
<keymap>german</keymap>
</keymap>
</keymap>
</keymap>
</keyboard>
<language>en_US</language>
<mode/>
</general>
<init>
<domain>materna.de</domain>
<gateway>192.168.152.1</gateway>
<![CDATA[
#
# Don't remove the following line:
# start_linuxrc_conf
#
install: smb://192.168.152.162/SuSE81
domain: materna.de
gateway: 192.168.152.1
ip: 192.168.152.172
nameserver: 192.168.50.37
netmask: 255.255.254.0
# end_linuxrc_conf
# Do not remove the above comment
#]]>
<instmode>smb</instmode>
<ip>192.168.152.172</ip>
<nameserver>192.168.50.37</nameserver>
<netmask>255.255.254.0</netmask>
schnubbelx11.xml
tftp
<server>192.168.152.162</server>
<serverdir>/SuSE81</serverdir>
<textmode config:type="boolean">false</textmode>
<usedhcp config:type="boolean">false</usedhcp>
</init>
<partitioning config:type="list">
<drive>
<device>/dev/hda</device>
<use>all</use>
<partitions config:type="list">
<partition>
<mount>/</mount>
<size>3gb</size>
</partition>
<partition>
<format config:type="boolean">false</format>
<mount>/home</mount>
<size>2gb</size>
</partition>
<partition>
<mount>swap</mount>
<size>1gb</size>
</partition>
</partitions>
</drive>
</partitioning>
<software>
<base>Minimal+X11</base>
</software>
</install>
</profile>
Thanks in advance
Hans Kraemer