Erich:

thanks for the reply.  anyway, about switching from fd0 to fd1.  the
packages are loaded at boot, and syslinux.cfg is configured to use both
drives, so everything works as it should without me at a console. (i am not
sure if i answered or understood your question, but i hope the answer is
understandable)

anyway as for details:

my lrpkg.cfg reads (all one line):

root,etc,local,modules,iptables,shorwall,dhclient,netutils,logchk,ntpdate,ps
entry,libz,sshd,libm,libnsl,perl5,snort18,weblet,tcpdump,logsurf


now, the image where lrcfg works (and lists all the packages as it should)
uses a syslinux.cfg of:

display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp log_size=45M syst_size=45M init=/linuxrc
root=/dev/ram0 boot=/dev/fd0u1680:msdos PKGPATH=/dev/fd0u1680,/dev/fd1u1680

and the output of /var/lib/lrpkg/packages is:

initrd
root
etc
local
modules
iptables
shorwall
dhclient
netutils
logchk
ntpdate
psentry
libz
sshd
libm
libnsl
perl5
snort18
weblet
tcpdump
logsurf

and the output of /var/lib/lrpkg/backdisk is:

initrd=-t msdos /dev/fd0u1680
root=-t msdos /dev/fd0u1680
etc=-t msdos /dev/fd0u1680
local=-t msdos /dev/fd0u1680
modules=-t msdos /dev/fd0u1680
iptables=-t msdos /dev/fd0u1680
shorwall=-t msdos /dev/fd0u1680
dhclient=-t msdos /dev/fd0u1680
netutils=-t msdos /dev/fd0u1680
logchk=-t msdos /dev/fd0u1680
ntpdate=-t msdos /dev/fd0u1680
psentry=-t msdos /dev/fd0u1680
libz=-t msdos /dev/fd1u1680
sshd=-t msdos /dev/fd1u1680
libm=-t msdos /dev/fd1u1680
libnsl=-t msdos /dev/fd1u1680
perl5=-t msdos /dev/fd1u1680
snort18=-t msdos /dev/fd1u1680
weblet=-t msdos /dev/fd1u1680
tcpdump=-t msdos /dev/fd1u1680
logsurf=-t msdos /dev/fd1u1680


now, when i changed the syslinux.cfg  as described in the user's quide (for
serial console) to (the setup that does NOT list the packages in lrcfg):

serial 0 19200
display syslinux.dpy
timeout 0
append console=ttyS0,19200
default linux initrd=initrd.lrp log_size=45M syst_size=45M init=/linuxrc
root=/dev/ram0 boot=/dev/fd0u1680:msdos PKGPATH=/dev/fd0u1680,/dev/fd1u1680

then the contents of /var/lib/lrpkg/packages becomes (basically two lines,
one short, one long):

initrd

LINUXRC: Installing -  root: /dev/fd0u1680  etc: /dev/fd0u1680  local:
/dev/fd0u1680  modules: /dev/fd0u1680  iptables: /dev/fd0u1680  shorwall:
/dev/fd0u1680  dhclient: /dev/fd0u1680  netutils: /dev/fd0u1680  logchk:
/dev/fd0u1680  ntpdate: /dev/fd0u1680  psentry: /dev/fd0u1680  libz:
/dev/fd1u1680  sshd: /dev/fd1u1680  libm: /dev/fd1u1680  libnsl:
/dev/fd1u1680  perl5: /dev/fd1u1680  snort18: /dev/fd1u1680  weblet:
/dev/fd1u1680  tcpdump: /dev/fd1u1680  logsurf: /dev/fd1u1680 - Finished.

but the contents of /var/lib/lrpkg/backdisk looks unchanged:

initrd=-t msdos /dev/fd0u1680
root=-t msdos /dev/fd0u1680
etc=-t msdos /dev/fd0u1680
local=-t msdos /dev/fd0u1680
modules=-t msdos /dev/fd0u1680
iptables=-t msdos /dev/fd0u1680
shorwall=-t msdos /dev/fd0u1680
dhclient=-t msdos /dev/fd0u1680
netutils=-t msdos /dev/fd0u1680
logchk=-t msdos /dev/fd0u1680
ntpdate=-t msdos /dev/fd0u1680
psentry=-t msdos /dev/fd0u1680
libz=-t msdos /dev/fd1u1680
sshd=-t msdos /dev/fd1u1680
libm=-t msdos /dev/fd1u1680
libnsl=-t msdos /dev/fd1u1680
perl5=-t msdos /dev/fd1u1680
snort18=-t msdos /dev/fd1u1680
weblet=-t msdos /dev/fd1u1680
tcpdump=-t msdos /dev/fd1u1680
logsurf=-t msdos /dev/fd1u1680

so, i was doing some looking on the web, and i quess it does matter where
the append line is, so i changed it, and syslinux.cfg became:

serial 0 19200
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp log_size=45M syst_size=45M init=/linuxrc
root=/dev/ram0 boot=/dev/fd0u1680:msdos PKGPATH=/dev/fd0u1680,/dev/fd1u1680
append console=tty0 console=ttyS0,19200

(i also adde the tty0 console, i think this allows both the monitor and the
serial port to get kernel messages during boot, right?)

and with this, lrcfg seems to work again (the packages are displayed as they
should be),  /var/lib/lrpkg/packages now reads:

initrd
root
etc
local
modules
iptables
shorwall
dhclient
netutils
logchk
ntpdate
psentry
libz
sshd
libm
libnsl
perl5
snort18
weblet
tcpdump
logsurf

and the contents of /var/lib/lrpkg/backdisk is also unchanged:

initrd=-t msdos /dev/fd0u1680
root=-t msdos /dev/fd0u1680
etc=-t msdos /dev/fd0u1680
local=-t msdos /dev/fd0u1680
modules=-t msdos /dev/fd0u1680
iptables=-t msdos /dev/fd0u1680
shorwall=-t msdos /dev/fd0u1680
dhclient=-t msdos /dev/fd0u1680
netutils=-t msdos /dev/fd0u1680
logchk=-t msdos /dev/fd0u1680
ntpdate=-t msdos /dev/fd0u1680
psentry=-t msdos /dev/fd0u1680
libz=-t msdos /dev/fd1u1680
sshd=-t msdos /dev/fd1u1680
libm=-t msdos /dev/fd1u1680
libnsl=-t msdos /dev/fd1u1680
perl5=-t msdos /dev/fd1u1680
snort18=-t msdos /dev/fd1u1680
weblet=-t msdos /dev/fd1u1680
tcpdump=-t msdos /dev/fd1u1680
logsurf=-t msdos /dev/fd1u1680



SO, i really don't know what to make of this.  with the append= line at the
end of the syslinux.cfg file, the ../lrpkg/packages file appears intact.
so, if leaving the append at the end is ok for the serial console, every
thing should be ok.  Is leaving it at the end appropriate?

even if it is, any ideas what is going on when the "append=" line is added
befor the "deafult linux" line?

thanks for the help;

ted w.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to