SIngle User Mode Help

Joshua Lokken joshua at twobirds.us
Fri Mar 5 09:30:08 PST 2004


* Jerry McAllister <jerrymc at 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.


More information about the freebsd-questions mailing list