From nobody Tue Nov 21 00:44:07 2023 X-Original-To: freebsd-questions@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 4SZ5Jp74Pkz51Nqb for ; Tue, 21 Nov 2023 00:45:46 +0000 (UTC) (envelope-from dima@inventati.org) Received: from devianza.investici.org (devianza.investici.org [IPv6:2c0f:f930:0:4::108]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZ5Jn32Lqz4YXM for ; Tue, 21 Nov 2023 00:45:44 +0000 (UTC) (envelope-from dima@inventati.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=anche.no header.s=stigmate header.b=Lpf6QfdK; spf=pass (mx1.freebsd.org: domain of dima@inventati.org designates 2c0f:f930:0:4::108 as permitted sender) smtp.mailfrom=dima@inventati.org; dmarc=pass (policy=reject) header.from=anche.no Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4SZ5Jg0Dy5z6vHv for ; Tue, 21 Nov 2023 00:45:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anche.no; s=stigmate; t=1700527539; bh=kGk7AcjqLF+tj6nj/or6aJbfwcgBTJ4HKzz8D51VML4=; h=Date:From:To:Subject:From; b=Lpf6QfdK60uVUs75abbbwqUE4MdFni7Uleul2ec42mHTHQAnJ/L/zivA+erZe1LLo 9zOzMns/hiTfzZBRE+R866t4tTRGgxkMjeBAKY/41oO+C97sGcMxeUacqvl4g6eHux WYbsADfatApgjn9lSZzKSW7FE2yYI53kaSsAtHKw= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: dima@inventati.org) by localhost (Postfix) with ESMTPSA id 4SZ5Jf4Hnzz6vHs for ; Tue, 21 Nov 2023 00:45:38 +0000 (UTC) Date: Tue, 21 Nov 2023 03:44:07 +0300 From: "D.A." To: freebsd-questions@freebsd.org Subject: System become unbootable Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Result: default: False [-2.10 / 15.00]; INVALID_MSGID(1.70)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[anche.no,reject]; FORGED_SENDER(0.30)[dima@anche.no,dima@inventati.org]; R_SPF_ALLOW(-0.20)[+ip6:2c0f:f930:0:4::108]; R_DKIM_ALLOW(-0.20)[anche.no:s=stigmate]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[198.167.222.108:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2c0f:f930:0:4::108:from]; FREEFALL_USER(0.00)[dima]; FROM_NEQ_ENVFROM(0.00)[dima@anche.no,dima@inventati.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[anche.no:+]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:39287, ipnet:2c0f:f930::/32, country:FI]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SZ5Jn32Lqz4YXM X-Spamd-Bar: -- Disk has been encrypted during install process (ZFS Auto). However, system become unbootable after adding a new user key with "geli setkey ..." command and appropriate values to /boot/loader.conf file. There something like: geli_da0p2_keyfile0_load="YES" geli_da0p2_keyfile0_type="da0p2:geli_keyfile0" geli_da0p2_keyfile0_name="/boot/da0p2.key" Encrypted partition da0p2 can be attached with geli when I boot from USB stick. Have no idea what to do next as I have no experience with ZFS. --