From nobody Mon Jun 7 00:15:12 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 7A9D894F567 for ; Mon, 7 Jun 2021 00:15:15 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from p-impout001.msg.pkvw.co.charter.net (p-impout001aa.msg.pkvw.co.charter.net [47.43.26.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fyv5Z24jCz4pJ1 for ; Mon, 7 Jun 2021 00:15:13 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id q2v4lm4aMi1G0q2v4lr8Fo; Mon, 07 Jun 2021 00:15:07 +0000 X-Authority-Analysis: v=2.4 cv=caIXElPM c=1 sm=1 tr=0 ts=60bd650b a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=cRytF-dc2WFD8uWp08IA:9 a=l-36Aps6U9AbuqBX1yM7:22 a=p-dnK0njbqwfn1k4-x12:22 a=w-psBPLDDiCXbaeKGOsM:22 Date: Mon, 07 Jun 2021 00:15:12 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Updating to FreeBSD-current, can't mount -uw / : update: seemingly solved X-CMAE-Envelope: MS4xfJdCn7WLymWzpIJ8zV9wTVro0Qs3paRD3bSS0tkp8FAf8NK86GXx9S12jxe4UcnNGHqjFWrLthImM4S6ddBv+DIUTPVjrceDi0BUm8DThe3QWKgfj3x7 16wp7/xR2leTEo8YNMx8Osejw/vO8gcTooidfRq3bImv35UIk7YGqEiskyyVcrEIWDtLZC9PgcHumA== X-Rspamd-Queue-Id: 4Fyv5Z24jCz4pJ1 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mueller6722@twc.com designates 47.43.26.132 as permitted sender) smtp.mailfrom=mueller6722@twc.com X-Spamd-Result: default: False [0.38 / 15.00]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; NEURAL_SPAM_SHORT(0.14)[0.143]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[47.43.26.132:from]; FREEMAIL_FROM(0.00)[twc.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[47.43.26.132:from:127.0.2.255]; MISSING_MID(2.50)[]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.96)[-0.964]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received] X-ThisMailContainsUnwantedMimeParts: N 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 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? Now I seem to have solved the problem. Either rebooting or fixing /etc/fstab did it. I may have had one too few fields on the /dev/gpt/Sea1-08 line, maybe that caused the system to misinterpret the next line. I added sw between swap and 0, thus the corrected fstab is # Device Mountpoint FStype Options Dump Pass# /dev/gpt/Sea1-08 none swap sw 0 0 /dev/gpt/Sea1-18 / ufs rw 1 1 #/dev/gpt/Sea1-06 /home ufs rw 1 1 Now I see from the emailing lists that etcupdate is replacing mergemaster, but UPDATING file still says to use mergemaster without mentioning etcupdate. Developers, please update! There are differences between NetBSD's etcupdate and FreeBSD's etcupdate. I don't want to do the wrong thing in FreeBSD. Tom