On Mon, Jul 16, 2012 at 11:50:28AM +0200, Otto Moerbeek wrote:

> On Mon, Jul 16, 2012 at 09:09:54AM +0000, John Long wrote:
> 
> > I haven't been able to figure out how to setup an entry in pmon's boot.cfg
> > to boot OpenBSD in single user mode. I know on other platforms boot -s from
> > the OpenBSD boot prompt works correctly.
> > 
> > I've tried all sorts of stuff with the args parameter, no joy. Can anyone
> > clue me in? Thank you.
> 
> The boot menu is such a POS that i just don't use it. The alternative
> method: directly booting from PMON is better (though still buggy
> because of PMON), and gives you a chance to interact with the boot>
> prompt. 
> 
> If you have "al" set like descibed in the INSTALL notes and if you
> have the "bsd" var set to /bsd, it will boot the kernel without a
> chance to interact with the boot> prompt. 
> 
> But if you unset "bsd", the boot loader will show its prompt, but
> only if you first pressed Del to get the PMON prompt and booted the
> kernel by the command given in the INSTALL notes. 
> 
> If not, you'll have to type boot> commands (like "-s<Return>")
> blindly, but they do work. 
> 
> Note that all this is because of PMON bugs, we did our best to
> circumvent the bugs, but this is the best we can do. 
> 
>       -Otto

I see now that you are using a Fuloong and not a Loongson. I tested
the above steps on a Loongson to make sure my memory of things was
correct, but the same instructions should apply to Fuloong, though I
haven't used vga console on a Fuloong since ages. I prefer serial
access and it works as it should after the "magic" steps described in
the INSTALL document. 

        -Otto

Reply via email to