DragonFly BSD
DragonFly users List (threaded) for 2006-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: How to disable the boot0 menu?


From: Bill Hacker <wbh@xxxxxxxxxxxxx>
Date: Wed, 27 Sep 2006 16:32:35 +0800

Matthew Dillon wrote:

    The boot0 menu is run from "/boot/loader.rc".  You can pretty much
    do whatever you want there... in the forth language :-)

Forth is a lot more than just a 'language'. It is an inherently virtual-memory, dual-stack, virtual machine and the operating system to run it.


An environment, IOW.

One in which to *define* languages...

FICL and predecessors came about 'coz it doesn't need much in the way of resources to do all these things.

12K to 20K for a Wysiwig WP, 32-64K for a full-blown ISAM & BOM system.

Given decent on-die cache, Forth needs little else to do quite a bit of useful stuff.


It is also possible to bypass the forth loader entirely by modifying /boot.config (the boot2 config file). By default boot2 runs /boot/loader but you can give it a different command to run in /boot.config. I'm not entirely sure of the format, it might just be the path to the program to load and options, e.g. '/kernel', or it might not. If you screw up you might have to boot from the live CD to get back in and fix it.

-Matt

Or another partition, attached drive, CF or USB that can mount and edit the one you need to change. Easily fixed, and nothing to be overly fearful of.


Bill



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]