Re: loader question
Andrew Gallatin wrote: > > How do you make the loader _NOT_ load a kernel until after the > countdown? > > On slow media (like NFS boots or VMware, or old AlphaServers) its > really painful to wait for the kernel to unload just so you can unload > it and then load an alternate kernel. Actually, it requires some work to do that. Previously, autoboot only loaded the kernel after the countdown, but that resulted in the small problem in the user _not_ knowing exactly what kernel was being loaded until after the countdown had finished. The stuff in examples/bootforth does something similar with the menu. The menu waits until you type a key or up to a certain amount of time, and then go do whatever it is that was selected/is default. You can look there for an example and adapt it to suit your needs, but Forth code is not particularly easy to understand, even something as simples as that. Of course, since you _are_ that far from the machine, I'd recommend testing anything locally first. -- Daniel C. Sobral(8-DCS) [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] all your kernels arpanic: blockable sleep lock (sleep mutex) Giant @ ../../kern/kern_sig.c:153 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: loader question
Peter Wemm writes: > Andrew Gallatin wrote: > > > > How do you make the loader _NOT_ load a kernel until after the > > countdown? > > > > On slow media (like NFS boots or VMware, or old AlphaServers) its > > really painful to wait for the kernel to unload just so you can unload > > it and then load an alternate kernel. > > This initial load is done by the 4th code. I suspect it is configurable > to not do this, but if you want to do it by brute force, nuke loader.rc > and do it all by hand. Actually, that doens't seem to work. (at least for a loader from last November). Given that the machine is 3K miles away, I think I'll just deal with the slowness for now & not risk crippling it. Drew To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: loader question
Andrew Gallatin wrote: > > How do you make the loader _NOT_ load a kernel until after the > countdown? > > On slow media (like NFS boots or VMware, or old AlphaServers) its > really painful to wait for the kernel to unload just so you can unload > it and then load an alternate kernel. This initial load is done by the 4th code. I suspect it is configurable to not do this, but if you want to do it by brute force, nuke loader.rc and do it all by hand. Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
loader question
How do you make the loader _NOT_ load a kernel until after the countdown? On slow media (like NFS boots or VMware, or old AlphaServers) its really painful to wait for the kernel to unload just so you can unload it and then load an alternate kernel. Thanks, Drew To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message