Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2004 07:09:02 -0800
From:      Joshua Lokken <joshua@twobirds.us>
To:        Jerry McAllister <jerrymc@clunix.cl.msu.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SIngle User Mode Help
Message-ID:  <20040306150902.GA98804@voyager.swabbies.org>
In-Reply-To: <200403051655.i25Gt5J25937@clunix.cl.msu.edu>
References:  <20040306135123.GA55765@voyager.swabbies.org> <200403051655.i25Gt5J25937@clunix.cl.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jerry McAllister <jerrymc@clunix.cl.msu.edu> [2004-03-06 06:00]:
> > 
> > > > Hey Guys,
> > > > 
> > > > I'm constantly botching up my fstab file and the system will fail to boot
> > > You're right to make a copy before tinkering.
> > > 
> > > That is correct, but, of course, it only gets the root (/) filesystem
> > > mounted.   You may need stuff on other ones, especially /usr.
> > > 
> > > Try doing 
> > >    fsck /usr     or   fsck  /dev/d0s1f 
> > >    mount /usr    or   mount /dev/d0s1f /usr   or whatever slice and
> > >                                               partition you have /usr on
> > > 
> > 
> > Or, to make things easier:
> > 
> > prompt# fsck -p
> 
> Except this might not work if he has bollixed up his fstab as indicated
> in the original question.
> 
> > prompt# mount -u /
> > prompt# mount -a -tufs
> 
> This might not wokr either with a bad fstab.
> 
> but doing it for specific devices to specific mount points should work
> even with a messed up fstab.
> 
> ////jerry

Oh, yeah!  Good point ;)

-- 
Joshua

Is not that the nature of men and women -- that the pleasure is in the
learning of each other?
		-- Natira, the High Priestess of Yonada, "For the World is
		   Hollow and I Have Touched the Sky", stardate 5476.3.



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