Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2021 21:02:23 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Thomas Mueller <mueller6722@twc.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Updating to FreeBSD-current, can't mount -uw /
Message-ID:  <CANCZdfoHwbTpswVCxO8Bg--GF0gArg0ayrjqXutwVHP_=7Wwdw@mail.gmail.com>
In-Reply-To: <20210606112455.37502966C0E@mlmmj.nyi.freebsd.org>
References:  <20210606112455.37502966C0E@mlmmj.nyi.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000ec8ec805c4244508
Content-Type: text/plain; charset="UTF-8"

On Sun, Jun 6, 2021 at 5:24 AM Thomas Mueller <mueller6722@twc.com> wrote:

> I updated a FreeBSD-current to the newest FreeBSD-current/14, buildworld
> took 11:15 (hours:minutes), buildkernel was also successful, I even
> appeared to be successful with "dhclient re0".
>
> UPDATING file says to boot single-user after buildkernel and
> installkernel, but then mount -u / or mount -uw / does not work as it did
> in previous times.
>
> Results were
>
> mount -uw / or mount -u / produces
> fstab: /etc/fstab:2: Inappropriate file type or format
> fstab: /etc/fstab:2: Inappropriate file type or format
>
> /etc/fstab
> # Device        Mountpoint      FStype  Options Dump    Pass#
> /dev/gpt/Sea1-08  none swap     0       0
> /dev/gpt/Sea1-18  / ufs rw      1       1
> #/dev/gpt/Sea1-06 /home   ufs  rw 1  1
>
> fsck -p produces
>
> fstab: /etc/fstab:2: Inappropriate file type or format
> /dev/gpt/Sea1-18: NO WRITE ACCESS
> /dev/gpt/Sea1-18: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
>
> I tried fsck /dev/gpt/Sea1-18 and fsck / but did no better.
>
> Now what do I do?  I also ran fsck_ffs instead of just fsck.
>
> Do I need to boot NetBSD and run fsck_ffs or fsck_ffs -f from there?
>

fsck /dev/gpt/Seae1-18

doesn't work? You can also fsck on the underlying disk, but since there's
many choices
that are hard to know w/o a dmesg.

Warner

--000000000000ec8ec805c4244508--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoHwbTpswVCxO8Bg--GF0gArg0ayrjqXutwVHP_=7Wwdw>