From owner-freebsd-questions@freebsd.org Fri Aug 14 19:56:59 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 783183C791D for ; Fri, 14 Aug 2020 19:56:59 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BSvN966Lkz467B for ; Fri, 14 Aug 2020 19:56:57 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 07EJup7j086223 for ; Fri, 14 Aug 2020 15:56:51 -0400 (EDT) (envelope-from doug@safeport.com) Date: Fri, 14 Aug 2020 15:56:51 -0400 (EDT) From: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: System will not boot to single user mode Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Fri, 14 Aug 2020 15:56:51 -0400 (EDT) X-Rspamd-Queue-Id: 4BSvN966Lkz467B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-2.17 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.966]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.83)[-0.827]; DMARC_NA(0.00)[safeport.com]; NEURAL_HAM_SHORT(-0.27)[-0.273]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2020 19:56:59 -0000 First, this is almost certainly self-induced. I can easily reinstall 12.1 using a USB image. My goal is to learn a bit more about zfs and booting. So the question will be what did I break? I had some things I did not understand about the differences going from 11.1 --> 12.1 so I ran freebsd-update going forward and rolling back 2-3 times. The problem in hand is, I think, at the point I should get the "hit enter to use sh" message the system hangs. The boot matches so the point shown below: : uhub5 on uhub1 uhub5: on usbus0 uhub5: 4 ports with 3 removable, self powered Root mount waiting for: usbus0 ugen0.4: at usbus0 ukbd1 on uhub5 ukbd1: on usbus0 kbd3 at ukbd1 --- single user boot hangs here --- lo0: link state changed to UP igb0: link state changed to UP : Because I have not figured out a way to log the single user boot and that scroll lock does not work on the IPMI I do not have the entire single user boot. I look "normal" the messages I can match all do althougth the order is not the same. gpart show => 63 1953525105 ada0 MBR (932G) 63 1 - free - (512B) 64 1953525096 1 freebsd [active] (932G) 1953525160 8 - free - (4.0K) => 0 1953525096 ada0s1 BSD (932G) 0 4194304 1 freebsd-zfs (2.0G) 4194304 4194304 2 freebsd-swap (2.0G) 8388608 1945136480 4 freebsd-zfs (928G) 1953525088 8 - free - (4.0K) => 63 1953525105 ada1 MBR (932G) 63 1 - free - (512B) 64 1953525096 1 freebsd [active] (932G) 1953525160 8 - free - (4.0K) => 0 1953525096 ada1s1 BSD (932G) 0 4194304 1 freebsd-zfs (2.0G) 4194304 4194304 2 freebsd-swap (2.0G) 8388608 1945136480 4 freebsd-zfs (928G) 1953525088 8 - free - (4.0K) zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT bootpool 1.98G 183M 1.81G - - 11% 9% 1.00x ONLINE - zroot 920G 8.12G 912G - - 0% 0% 1.00x ONLINE - zfs list NAME USED AVAIL REFER MOUNTPOINT bootpool 183M 1.68G 180M /bootpool zroot 8.12G 883G 96K /zroot zroot/ROOT 5.34G 883G 96K none zroot/ROOT/default 5.34G 883G 5.34G / zroot/tmp 168K 883G 168K /tmp zroot/usr 2.75G 883G 96K /usr zroot/usr/home 827M 883G 827M /usr/home zroot/usr/ports 742M 883G 742M /usr/ports zroot/usr/src 1.22G 883G 1.22G /usr/src zroot/var 12.6M 883G 96K /var zroot/var/audit 96K 883G 96K /var/audit zroot/var/crash 96K 883G 96K /var/crash zroot/var/log 660K 883G 660K /var/log zroot/var/mail 11.5M 883G 11.5M /var/mail zroot/var/tmp 96K 883G 96K /var/tmp Following advise I got here and some testing: ls -l /boot lrwxr-xr-x 1 root wheel 14 Aug 2 02:07 /boot@ -> bootpool/boot/ At the end of all my updating I think I did not have /boot, The system would boot but freebsd-update said /boot was missing. I would really like to know what I broke. I am not sure what else to show. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277