Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2005 17:30:00 +0300 (EEST)
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= <gabor.kovesdan@t-hosting.hu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Remounting root
Message-ID:  <Pine.GSO.4.61.0506291728240.6736@beatrix>
In-Reply-To: <42C2AED7.1010402@t-hosting.hu>
References:  <42C2AC85.2080806@t-hosting.hu> <Pine.GSO.4.61.0506291708340.23709@beatrix> <42C2AED7.1010402@t-hosting.hu>

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

On Wed, 29 Jun 2005, [ISO-8859-1] Kövesdán Gábor wrote:
>
>>     # mount -u /
>> 
>> The -u option is actually the "update" option, which tries to restore the 
>> mount options of the file system to the defaults defined in /etc/fstab
>> (which includes "rw" too).
>
> I've tried it, but when I run fsck it wrtites:
>
> ** /dev/as0s1a (NO WRITE)

You shouldn't fsck write-enabled file systems.  The usual things I run 
whenever I'm in single user mode are (the order *IS* important):

 	# adjkerntz -i
 	# swapon -a
 	# fsck -p
 	# mount -u /
 	# mount -va

> And if I try to enable MAC multilabeling or SoftUpdates I get:
>
> tunefs: /dev/ad0s1a: Failed to write superblock

Probably because you have already remounted your root file system as 
read-write.

- Giorgos
home | help

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