Hello Nick,

There is a "usb_wait" variable in the root.linuxrc sript (in the 
initrd package), you can set it to a higher value. It's currently 1 
second.

If you boot the system with your workaround, you can edit that value 
and backup the initrd package.

Eric Spakman

> Hi all,
> 
> I would like boot LEAF from a USB stick device, but am having some
> difficulties. It seems my USB drive isn't being seen soon enough. It only
> seems to find the LRPs if I add a "diskwait=yes" option to syslinux.cfg.
> Otherwise I get package-not-found errors.
> 
> The USB subsystem seems to be loading fine - I am using the appropriate
> initrd_usb.lrp module (I think) and the driver apparently finds a UHCI
> controller. However, I get no information about /dev/sda1 unless I put in
> that diskwait=yes option. I need to find a way to put in some kind of wait
> or delay so it requires no user interaction to proceed with package
> processing.
> 
> My syslinux.cfg:
> ====
> display syslinux.dpy
> timeout 0
> default linux initrd=initrd_u.lrp init=/linuxrc rw root=/dev/ram0
> boot=/dev/sda1:msdos PKGPATH=/dev/sda1 LRP=root,etc,local,modules
> ====
> 
> Using LEAFCFG led to errors, probably because it requires /dev/sda1 to be
> present.
> 
> Again, the above cfg works fine if I add "diskwait=yes". It errors out
> looking for packages if not.
> 
> Could there be some race condition here where LINUXRC isn't waiting long
> enough for my USB drive to be registered? If I add "diskwait=yes" the
> first line AFTER "LINUXRC - PLEASE INSERT DISK2" is "/dev/sda1 registered"
> (or something to that effect) hmmm...
> 
> I would really appreciate any help here...it would get me out of a major jam.
> 
> Thanks,
> Nick
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> ------------------------------------------------------------------------
> 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
> 




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
------------------------------------------------------------------------
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