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>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-851401618-1120055400=:6736
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Wed, 29 Jun 2005, [ISO-8859-1] K=F6vesd=E1n G=E1bor wrote:
>
>>     # mount -u /
>>=20
>> The -u option is actually the "update" option, which tries to restore th=
e=20
>> 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=20
whenever I'm in single user mode are (the order *IS* important):

 =09# adjkerntz -i
 =09# swapon -a
 =09# fsck -p
 =09# mount -u /
 =09# 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=20
read-write.

- Giorgos
---559023410-851401618-1120055400=:6736--



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