Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2006 15:20:33 -0500
From:      "fbsd_user" <fbsd_user@a1poweruser.com>
To:        "Garrett Cooper" <youshi10@u.washington.edu>, <freebsd-questions@freebsd.org>
Subject:   RE: have bad stab causing boot error
Message-ID:  <MIEPLLIBMLEEABPDBIEGMEGNHLAA.fbsd_user@a1poweruser.com>
In-Reply-To: <E906312A-E350-4F33-AC86-EFD278749B95@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help



On Jan 12, 2006, at 11:03 AM, fbsd_user wrote:

> fstab is bad and boot drops me into "manual root filesystems spec"
>
> I answer ufs:ad0s1a
> and get these messages
>  "warning / was not properly dismounted"
> "warning R/W of / denied. filesystem is not clean  run fcsk"
>
> when I enter fsck command nothing happens.
> What is procedure to follow here???

	Once it asks you for your shell in single user mode, you either
choose it or just press enter for /bin/sh, and then you want to do
this:
# mount -o rw /dev/ad0s1a / #mount -a works nicely here too.
# /sbin/fsck /dev/ad0s1a

	Be wary of fixing any issues if you don't have softupdates enabled.
	Also, you should fsck any other slices that you had mounted at the
previous time when the system was improperly shutdown / the
filesystems improperly dismounted.
-Garrett
_______________________________________________



-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Garrett
Cooper
Sent: Thursday, January 12, 2006 3:02 PM
To: freebsd-questions@freebsd.org
Subject: Re: have bad fstab causing boot error

nope that did not work. by the way this is 5.4 version

get this message "warning R/W of / denied. filesystem is not clean
run fcsk"

mount with /dev in it get syntax error







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