M Lu wrote:

Hi,

I tried to build a CD from 2.2b5 and inside the syslinux.cfg of the
floppy-image I specify

..LEAFCFG=/dev/fd0:msdos,/dev/cdrom:iso9660

What I want is to use the file leaf.cfg from floppy if there is floppy
inserted, or leaf.cfg on CD if there is no floppy when booting.
However it works if there is a floppy but it failed if there is no floppy
and it complianed that there is no packages to install...

Does LEAFCFG above only take in the first parameter, i.e. /dev/fd0:msdos or
should I do something else?

Currently, the /linuxrc code only looks for leaf.cfg on one device, ie: LEAFCFG=<device>[:<filesystem>]

If your configuration is simple enough, you can put a default configuration in the kernel command line (with LRP=), or you can modify the parsing of $KCMD_LEAFCFG in /linuxrc to handle multiple devices and build a new initial ramdisk.

--
Charles Steinkuehler
[EMAIL PROTECTED]


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ------------------------------------------------------------------------ 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