Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2004 10:20:06 +0100
From:      Tijl Coosemans <tijl@ulyssis.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: fixit
Message-ID:  <20040107102006.329a7088.tijl@ulyssis.org>
In-Reply-To: <20040106223548.X89072@rocket.alienwebshop.com>
References:  <20040104181025.B21865@rocket.alienwebshop.com> <16376.63200.557751.495726@guru.mired.org> <20040106223548.X89072@rocket.alienwebshop.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Jan 2004 22:55:29 -0500 (EST), Peter Leftwich wrote:

> I like how you say that - "a place to stand."  It's a good lead-in for
> my question: The problem is this... the fixit shell is started and it
> doesn't really show you WHAT it is technically doing.  Is it started
> in RAM(/ramdisk/) or does it mount the FreeBSD partition on the HDD? 
> Or what.

It's been a while since I've had to use it, but as far as I can remember
it has a basic directory structure in / and another one, the fixit
media, in /mnt2. Some tools and device nodes are in the first,
some in the second one.

> The problem is that root on my HDD has to be mounted before I can use
> /bin or /sbin tools - and isn't mount /sbin/mount ???

Try running fsck on the root partition before you mount it. Both fsck
and mount should be available in the fixit shell.

To mount a root filesystem on ad0s1a:

# fsck -p /mnt2/dev/ad0s1a
# mount -t ufs /mnt2/dev/ad0s1a /mnt

I hope I got all the paths right, if not, search arround a bit, they
should be there somewhere.



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