Problems with loading LINUXRC (SuSE 8.1)
Hi, i'm trying to configure the autoinstallation for PXE and DHCP with the distribution SuSE 8.1. I need a fully automated installation without a bootdisk or CD. Everything seems to work fine untill linuxrc is loaded: - the client connects to the dhcp-server and receives the ip-address - pxelinux starts and the kernel and initrd are transfered - the kernel boots - starting linuxrc:
SuSE Linux installation program v1.4 (c) 1996-2002 SuSE Linux AG<<< Starting hardware detection... Activating usb devices... done Searching for infofile... Sending DHCP request to eth0... Loading Data into ramdisk (39670 KB) ...... Idconfig:Cannot mmap file /usr/lib/liby2pm.so.2. Idconfig:/usr/lib/liby2pm.so.2.0.0 is not an ELF file - it has the wrong magic bytes at the start. #(then more "Idconfig" error messages are appear) ........ starting syslog (messages are logged to /dev/tty4)... starting klogd... integrating kernel modules of the installation system... #(then the linuxrc screen starts...) #This error-message comes up: "an error occurred during the installation"
What's the problem? Is it a wrong initrd??? I got my initrd (and the kernel "linux") from the directory /boot/loader of the installation CD (SuSE 8.1) . This is my command line: default linux serial 0,9600n8 label linux kernel linux append console=tty0 load_ramdisk=1 initrd=initrd/ autoyast=nfs://10.10.200.20/profiles/profile2.xml/ install=nfs://10.10.200.20/install/ insmod=eepro This is my dhcpd.conf ddns-update-style none; allow booting; subnet 10.10.200.0 netmask 255.255.255.0 { range 10.10.200.50 10.10.200.60; option subnet-mask 255.255.255.0; option broadcast-address 10.10.200.255; } group { use-host-decl-names on; host linux001 { hardware ethernet 00:30:05:19:46:45; fixed-address 10.10.200.55; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/pxelinux.0"; } else if substring (option vendor-class-identifier,0 ,9) = "Etherboot" { filename "/vmlinuz-node.nbi"; } } } PLEASE HELP ME!!!!!!!! ulrike -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
/usr/lib/liby2pm.so.2.0.0 is in the inst-sys cramfs image (AKA root file) which is has all the yast2 files (y2pm is the yast2 package manager). Please check if the file on NFS is the same one on the CDs. It seems to be corrupt. I have never seen this problem before... Otherwise everything seems to be fine... Anas * Ulrike Settele <ulrike.settele@gmx.de> [Apr 26. 2003 01:30]:
Hi,
i'm trying to configure the autoinstallation for PXE and DHCP with the distribution SuSE 8.1. I need a fully automated installation without a bootdisk or CD. Everything seems to work fine untill linuxrc is loaded: - the client connects to the dhcp-server and receives the ip-address - pxelinux starts and the kernel and initrd are transfered - the kernel boots - starting linuxrc:
SuSE Linux installation program v1.4 (c) 1996-2002 SuSE Linux AG<<< Starting hardware detection... Activating usb devices... done Searching for infofile... Sending DHCP request to eth0... Loading Data into ramdisk (39670 KB) ...... Idconfig:Cannot mmap file /usr/lib/liby2pm.so.2. Idconfig:/usr/lib/liby2pm.so.2.0.0 is not an ELF file - it has the wrong magic bytes at the start. #(then more "Idconfig" error messages are appear) ........ starting syslog (messages are logged to /dev/tty4)... starting klogd... integrating kernel modules of the installation system... #(then the linuxrc screen starts...) #This error-message comes up: "an error occurred during the installation"
What's the problem? Is it a wrong initrd???
I got my initrd (and the kernel "linux") from the directory /boot/loader of the installation CD (SuSE 8.1) .
This is my command line:
default linux serial 0,9600n8 label linux kernel linux append console=tty0 load_ramdisk=1 initrd=initrd/ autoyast=nfs://10.10.200.20/profiles/profile2.xml/ install=nfs://10.10.200.20/install/ insmod=eepro
This is my dhcpd.conf
ddns-update-style none; allow booting;
subnet 10.10.200.0 netmask 255.255.255.0 { range 10.10.200.50 10.10.200.60; option subnet-mask 255.255.255.0; option broadcast-address 10.10.200.255; }
group { use-host-decl-names on;
host linux001 { hardware ethernet 00:30:05:19:46:45; fixed-address 10.10.200.55; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/pxelinux.0"; } else if substring (option vendor-class-identifier,0 ,9) = "Etherboot" { filename "/vmlinuz-node.nbi"; } } }
PLEASE HELP ME!!!!!!!!
ulrike
-- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com -- Anas Nashif <nashif@suse.com>, SuSE Linux AG Montreal (Laval), Canada
participants (2)
-
Anas Nashif
-
Ulrike Settele