Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 01:57:09 -0400 (EDT)
From:      Jeffrey Yeo <jwyeo2@yahoo.ca>
To:        freebsd-questions@freebsd.org
Cc:        dragon@dlance.com
Subject:   Re: mountroot>? (Very Dumb Question)
Message-ID:  <20020419055709.92871.qmail@web11206.mail.yahoo.com>
In-Reply-To: <3CBEEB91.2080402@dlance.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I've had this happen when my /etc/fstab file contained
incorrect device entries. Are there any messages on the
console prior to the manual root mount prompt? That would
give some clues as to what is going wrong.

Here's what I did to get myself running - depending on the
problem you have it may not do you much good.

To get a look on the filesystem(s) to see what is going on,
you'll want to do something like this (the actual device
name will depend on your system):

mountroot> ufs:/dev/ad0s1a

After the filesystem mounts, you may have to enter a path
to a shell; if in doubt /bin/sh is a good bet.

When this is done, your root filesystem will be read only
and you can take a look to see what is wrong. No path will
be set, so you'll have to give the full pathnames to
everything. Most things you want will be in either /bin or
/sbin. It's probably a good idea to do check the integrity
of the filesystem at this point:

# /sbin/fsck -p /

When you want to make the filesystem writeable (so you can
fix things), do this:

# /sbin/mount /

Hope this helps,

Jeff

--- Justyn <dragon@dlance.com> wrote:
> 
> I know this is probly a very dumb question. Ive checked
> the archives and still cant find the answer. I've
> instaleld ver 4.5 on my machine and everything seems to
> install fine. When I reboot the machine it comes to a
> prompt that says mountroot>. Ive installed FreeBsd on
> this machine before and it was fine. Does anyone have any
> ideas where I could go for answers or know the answers?
> Please cc me any replies.
> 
> Thanks in advance
>   


______________________________________________________________________ 
Find, Connect Date! http://personals.yahoo.ca

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020419055709.92871.qmail>