From nobody Mon Jun 07 03:02:23 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1E9BE9561AC for ; Mon, 7 Jun 2021 03:02:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fyypg74cvz3GpY for ; Mon, 7 Jun 2021 03:02:35 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x833.google.com with SMTP id t20so11640042qtx.8 for ; Sun, 06 Jun 2021 20:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YPi6cwR8Y4iHFDmb/ccPWbZjPTur5GUPz7wTdWoaEY0=; b=f42qjIe7ta5Gz+QBgBjOgxlEotP9eUtOg+awTsm07vxUgKMNXmGVuUhEJZLgKSCDMw cdwhIhXYv/Dox5HAchOrdZ3YpTwgMzJh9vWMRkefNzebz4zuDQz0+raJmOcxyvlpDKBg cyqecjEueYj5yYnHgCnplSuOeBktwTpw7pQgMuJmf99kh1/YiBmPDYqYJnSmWTgAppVZ mY1nLclillTbiIEtL7zbFCboAnOmgsN2GIxvXmtKaQFgtjm9tX52yi0/xcipv0ooYrT/ SpNy6bk6i5Sru8inb++7V/tSfPiyiaG8dQPaPPu3So+zE2eODAg4VFzNMwn9KQNY+lt2 HWdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YPi6cwR8Y4iHFDmb/ccPWbZjPTur5GUPz7wTdWoaEY0=; b=duFmI3JkOJvVaCT2bM1HDZf6NycMtVzKmj3rfNMx5sy6B4gcshdU8pRMn48Leqquf2 m06Ry5fj4Ozl/CGFBPdzfN3Xv7rRMrcUaaAKo/c0xKGR3LX+uQaRWUMMMzTAsRQ4IYc7 5y0FctWzlUWyX5v/+9jLNmM16kWgUwl1jSg3o0EdV8EMNcGewby1cnGHacGiJnwEYmOi 3dIDKIJTDJmyd4AFMER0HrRhz1gTdqAoIxYe/Nlef7PuVsF1npqZkKPLN1ew6zG6i2kH M/JfBP7/6ZCkSxgL51KKGUNq0mpM6NKnPGd6D+c8UOu/XMHsKplthkUiKDSPeWPwrG4n ylVg== X-Gm-Message-State: AOAM533ucjORuJmLHQLDMo5p5bqRxEHIv4wlvUyKmFN7uMFyRz2dhFXu GssYYkKxkMkzj21wEu+3yz7p/JwQNQzYdfaDRRd1Og44Ttqr3w== X-Google-Smtp-Source: ABdhPJwe7uiK2jGsPP9INo06Zyx5ItXrD5GzxxTaKc6gD912Phse0AK37bPy+0+07Sr6Qg18YzPdD5WP4E1Jvs2FjqA= X-Received: by 2002:ac8:7f42:: with SMTP id g2mr14815613qtk.73.1623034954544; Sun, 06 Jun 2021 20:02:34 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20210606112455.37502966C0E@mlmmj.nyi.freebsd.org> In-Reply-To: <20210606112455.37502966C0E@mlmmj.nyi.freebsd.org> From: Warner Losh Date: Sun, 6 Jun 2021 21:02:23 -0600 Message-ID: Subject: Re: Updating to FreeBSD-current, can't mount -uw / To: Thomas Mueller Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000ec8ec805c4244508" X-Rspamd-Queue-Id: 4Fyypg74cvz3GpY X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000ec8ec805c4244508 Content-Type: text/plain; charset="UTF-8" On Sun, Jun 6, 2021 at 5:24 AM Thomas Mueller 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--