X Window problem

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue May 6 04:20:22 PDT 2003


On Tue, May 06, 2003 at 12:10:06PM +0200, CARTER Anthony wrote:
> Strange then...Whenever I have booted into single user mode I have been unable 
> to write to the root partition, even after a mount -a...even with ESC w!q in 
> vi...Maybe I did something wrong...Would it possibly be likely that mount -a 
> doesn't report back that / needs fscking first? Everytime I have had to do 
> this I needed to fsck root first...

Yes --- that's exactly it.  The instruction in the handbook to run:

    fsck -p

before you try mounting anything from single user mode is very good
advice.  If you had to shutdown your system uncleanly (ie. by any
means other than running 'shutdown -h' or 'shutdown -p' or 'shutdown
-r' and having the system come down smoothly without further
intervention) then you will definitely need to run fsck.  Otherwise,
you should still run it to be on the safe side, but you might get away
without.  Once you've fsck'd, you can then run 'mount -a' and 'swapon
-a' as previously described.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030506/c22f7a73/attachment.bin


More information about the freebsd-questions mailing list