have bad stab causing boot error

fbsd_user fbsd_user at a1poweruser.com
Thu Jan 12 12:20:39 PST 2006




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 at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Garrett
Cooper
Sent: Thursday, January 12, 2006 3:02 PM
To: freebsd-questions at 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






More information about the freebsd-questions mailing list