AW: [SPBLinux-user] rc_init
Brought to you by:
spblinux
From: Christian O. <os...@fr...> - 2005-07-11 12:25:52
|
Hi Michail, try http://www.spblinux.de/spb2/b13pre4/other/netboot.bz2 (=tar.bz2 file) as example for configuration: when this addon is loaded, spblinux acts as netboot server. These lines are from netboot.bz2: kernel kernel append initrd=ramdisk bootd=tftp vga=791 spbrootsize=8 spbaddonsize=32 spbconf=cfgdev0=tftp,addons:subdir=basics:x,net:config=d reboot=warm no-hlt panic=30 this is a line of dhcpd.conf: filename "/tftpboot/pxelinux.0"; and spblinux expects its files in tftpserver_root/PXEClient/spblinux spbcfg = spblinux configuration file init6.gz = system files of spblinux tftp_files = list with addon files which should be loaded by tftp (usually automatically created by /etc/cfg_netboot; one file per line, given as e.g. basics/libs.bz2) addon files: basic/*.bz2 x/*.bz2 ... More information can be extracted from netboot.bz2 > I try to spb2.1 from PXE diskless workstation > > In my pxelinux.cfg: > DEFAULT /kernel > APPEND ip=dhcp initrd=/ramdisk > spbconf=cfgdev=ram0,addons:subdir=basics:x spbrootsize=64 bootd=tftp > > I'm create /tftproot/PXEClient/spblinux and copy files from > archives spb2.1-usbboot2_b12-r1.zip > spb2.1-usbboot1_b12-r1.zip > > Okay, booting workstation: > ... > Loading start files with tftp ... > ... ^^^ this is the important part: does the network interface get up (is the module for your network card inside ramdisk; use changeramdisk command to add other modules from modules_all zip file) > error: executable file /etc/rc_init not found; so kernel and ramdisk have been loaded by the bootloader, but linux fails to set up the the network interface or does not find the files on the tftp server Regards, hChristian > > I can't see in linuxrc line like: > tar xjf /mnt/init6.bz2 > > Why? init6.bz2 is hidden inside init6.gz |