Re: [suse-autoinstall] Using PXELinux for 8.1 Auto Install
OK, the problem has been solved. I am writing this just for the record. As Aaron mentioned, the /boot/loader/initrd worked just fine. It was a DHCP server configuration problem (not defining the scopes correctly). It would have been a nicer if the install program actually give the error at that point. Fet
/boot/loader/initrd from the cdrom works for me
dont know about this other problem though, maybe check file permissions on the server or mount point.
On Mon, 13 Oct 2003 fetak@comcast.net wrote:
Thanks Aaron! That helped a lot.
Now the problem is a bit peculiar; Installation error is "An error occured during installation" and the Alt_F3 screen reports this:
/mounts/instsys/sbin/inst_setup: cannot execute binary file
What would have caused it? When I go to the shell on F2 screen, in fact I cannot execute any of those "executable"s
I have been using the initrd that would have been used for CD installations -- so that it has all modules in it. I wonder if that makes any difference...
Or, is there a way to specify the binary formats during installation?
maybe add "install=" to your append line:
label auto kernel linux append initrd=initrd install="nfs://192.168.1.1/KS/SuSe81" autoyast="nfs://192.168.1.1/KS/SuSe81/autoinst.xml"
Also try not to let the append line get too long, there seems to be a limit on how long it can be.
On Mon, 13 Oct 2003 fetak@comcast.net wrote:
Hello,
I would like to use pxelinux to auto install SuSE81, but the installation
comes back with an error message "Could not find SuSE Linux Installation Source. Activate manual setup program." I wonder if any of the configuration files I am using are wrong... Does not seem to find the autoinst.xml file. The NFS share is setup correctly since I was able to run other installations out of
Thanks in advance, Fet there...
Thanks in advance, Fet
The default file pxelinux using is as follows. This file is located under
pxelinux.cfg directory
---<default>--- default auto implicit 1 timeout 60 prompt 1
# manual label manual kernel linux append initrd=initrd ramdisk_size=65536 manual=1 label auto kernel linux append initrd=initrd load_initrd=1 insmod=e100 netdevice=eth0
ramdisk_size=65536 autoyast=nfs://192.168.1.1/KS/SuSe81/autoinst.xml
--</default--->
And the autoinst.xml file specified above has the following contents:
---<autoinst.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> <domain></domain> <hostname></hostname> <nameservers config:type="list"/> <searchlist config:type="list"/> </dns> <interfaces config:type="list"/> <routing> <ip_forwarding config:type="boolean">false</ip_forwarding> <routes config:type="list"/> </routing> </networking> <scripts> <chroot-scripts config:type="list"/> <post-scripts config:type="list"/> <pre-scripts config:type="list"/> </scripts> </configure> <install> <bootloader> <kernel_parameters></kernel_parameters> <lba_support config:type="boolean">false</lba_support> <location></location> </bootloader> <general> <clock/> <keyboard/> <language></language> <mode> <interactive config:type="boolean">false</interactive> <reboot config:type="boolean">false</reboot> </mode> <mouse/> </general> <init> <domain></domain> <gateway></gateway> <info_file> <![CDATA[ # # Don't remove the following line: # start_linuxrc_conf # install: nfs://192.168.1.1/LinuxImages/SuSe81 autoyast: nfs://192.168.1.1/KS/SuSe81 Usedhcp: 1
# end_linuxrc_conf # Do not remove the above comment #]]> </info_file> <instmode>nfs</instmode> <ip></ip> <keytable></keytable> <language></language> <nameserver></nameserver> <netmask></netmask> <partition></partition> <port></port> <profile_location>/KS/SuSe81</profile_location> <profile_port></profile_port> <profile_protocol>nfs</profile_protocol> <profile_server>192.168.1.1</profile_server> <server>192.168.1.1</server> <serverdir>/LinuxImages/SuSe81</serverdir> <textmode config:type="boolean">false</textmode> <usedhcp config:type="boolean">true</usedhcp> <workdomain></workdomain> </init> <partitioning config:type="list"> <drive> <device>/dev/hda</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key></crypt_key> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <mount>swap</mount> <partition_id config:type="integer">131</partition_id> <size>auto</size> </partition> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key></crypt_key> <filesystem config:type="symbol">ext2</filesystem> <format config:type="boolean">true</format> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <size>max</size> </partition> </partitions> <use>all</use> </drive> </partitioning> <raid config:type="list"/> <software> <addons config:type="list"> <addon>Advanced-Devel</addon> <addon>Basis-Devel</addon> <addon>Basis-Sound</addon> <addon>Games</addon> <addon>Kde</addon> <addon>Kde-Desktop</addon> <addon>Network</addon> <addon>Office</addon> <addon>SuSE-Documentation</addon> </addons> <base>Minimal</base> <packages config:type="list"/> </software> </install> </profile> --<\autoinst.xml>
-- _______ Aaron McSorley \____ | Advanced Processor Validation /| | | Micro Texas Microprocessor Division | |___| | Devices e-mail: aaron.mcsorley@amd.com |____/ \| Voice:512.602.0417 pgr:512.604.0946
participants (1)
-
fetak@comcast.net