In single user mode you often need to mount some partitions, and remount
root as read-write to do much of anything.

# mount -o rw /

and

# mount -o rw /usr

and so on for anything else you need.

vi I believe resides in /usr so you will need to mount that partition. If
it's not that, your system is screwed and you need to reinstall.

On Sat, Dec 10, 2011 at 12:31 PM, Dave Beckstrom <db...@atving.com> wrote:

> David,
>
> Thanks for the suggestion.  I'm 99% of the way there.  Basically all I need
> to do is edit "/etc/ttys" to configure something like:
>
> tty00   "/usr/libexec/getty std.38400"   vt220   on secure
>
> and I'll be all set.
>
> I've discovered that I can boot into single user mode.  That leaves me at
> the sh# shell.  But I haven't had success at remounting root as read write
> yet.  Basic commands like ls don't even work.   Not doing something right.
> Can't get an editor to run either (it doesn't find vi).
>
>
> If I can't solve this I'll go the PXE route.  Not quite ready to give up
> yet.  If anything, it's a good learning process.  :)
>
> Thanks,
>
> Dave
>
>
> -----Original Message-----
> From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of
> David Walker
> Sent: Friday, December 09, 2011 3:07 PM
> To: misc@openbsd.org
> Subject: [SPAM]- Score (15)Re: ALIX 2 Hangs on boot at date/time
>
> Get an old PC or somesuch, run tftp and install directly onto the ALIX via
> ethernet.
> See here:
> http://www.openbsd.org/faq/faq6.html#PXE
>
> Problem(s) solved.
>
> Best wishes.
>
>


-- 
www.johntate.org

Reply via email to