*BSD News Article 99384


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!newsfeed.nacamar.de!news1.best.com!nntp1.ba.best.com!not-for-mail
From: dillon@flea.best.net (Matt Dillon)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: I can't login
Date: 10 Jul 1997 15:49:07 -0700
Organization: Best Internet Communications, Inc. - 415 964 BEST
Lines: 71
Message-ID: <5q3ot3$jhh$1@flea.best.net>
References: <33C51CDF.E50B11E7@iname.com>
NNTP-Posting-Host: flea.best.net
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44237

:In article <33C51CDF.E50B11E7@iname.com>,
:Mike Baysek  <mbaysek@iname.com> wrote:
:>I am very much of a novice when it comes to FreeBSD.  In fact i
:>installed it last night over the internet.  As of current, I do not have
:>a book, although i do plan on getting one shortly.
:>
:>NOW TO GET TO THE POINT:
:>
:>i cannot get passed the login screen that comes up when i boot my
:>computer.  i do not know what to do.  this is what the screen says:
:>
:>FreeBSD (myname.my.domain) (ttyv0)
:>
:>login:
:>
:>it refuses anything i type.  in fact i do not even know what i should be
:>typing.
:>
:>also when I hit alt-F2, a similar login screen comes up, whose only
:>difference is that it says (ttyv1) instead of (ttyv0) as in the other
:>login screen.
:>
:>somebody please help me out here, so I can get into my computer.
:>thanks.
:>
:>-mike
:>
:>please send your reply also to my email address at mbaysek@iname.com

    When you reboot your machine, there is a temporary boot: prompt 
    after the bios gets through.  Normally you just wait, and it
    automatically continues boothing freebsd.

    If, instead, you type:

	-s <RETURN>

    at the boot: prompt, FreeBSD will boot in single user mode.  What you
    need to do is set the root password.  This is how you do it:

    step 1:	make sure all the disks are ok

	fsck <RETURN>

    step 2:	mount root r/w

	mount / <RETURN>

    step 3:	mount everything else

	mount -a <RETURN>

    step 4:	change the root password:

	passwd root <RETURN>

	(follow what it says to set the root password)

    step 5:	reboot the machine

	After you've done this, reboot the machine by typing:

	reboot <RETURN>

    
    Now let the machine reboot normally.  When presented with the login:
    prompt, login as root and give the root password that you had previously
    set.  This should get you in.

						-Matt