From nobody Tue Jun 21 06:24:44 2022 X-Original-To: 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 F2E3F85A65F for ; Tue, 21 Jun 2022 06:25:05 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LRxMN62HMz4mCf for ; Tue, 21 Jun 2022 06:25:04 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1655792693; bh=goxhOlJBuoU2QE6f7NZQ+y+SukHQq6SR71a886174e4=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject: Content-Language:To:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=HsfD51tdKayAyMihVJN8XVKSVn2lSfmaX6q+UkAc2r7ezf5gQDNVYQdN6F15YRFMn MMnYfM102vQ4b/Ehm5iqc+WSIOQ+GyIs/FWXp/PGJKy4tJK6tA0OTNxLzNysD/ayAe tgpIU+/CyTaX2mchXCPyX8xvuDnG/m3NU81OSa5MKTvVqhLBNARNFzlU1SCdsbM/bB Tq3wGVEju17WxICTrE/VFEP+UHSNeVie8/veX+Ve6qvUQZnqgzJ9BVvuNPfZqpbbJN LFSgYrPWTpfotLCeSOncOyiZgwzqAkAeEzuBdnYQ7DQfBi49QjcCxW+oCjrjJMwtiC n7gu1WaPuGK0dczmgIj+TdoB9ts+pc4+2/GutwvTLaGF2W7NI/lVH2WxU1GXiQd/8o D1HDCWJzKbBLsN33iJIiuFCm3+Oi1c9vmAvdIHN5gjX8aOkgAK4FKnO2JR2yuY080A K+zPsCFSXDvKIKwqOHSRJGYm1K9g3/v41s10H4QsWyIFfQYuOQGelVQ+ULHg3YqLSh Q3w60GRumRiy91UFfWC3KgU4n852+X2laTcDiZ6Q94drpsF6vRq+7TMIhnNNdM7pms +AXopMmGgdQFY0b+9XMbunn1E6x1iWkwodpttNtHUKc5xo9ZW1pMsig9qXvKW+twh+ b2jA+jJg0Anb77BZW0CANlAI= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Mon, 20 Jun 2022 23:24:53 -0700 Message-ID: <8341d336-4115-f1a6-9591-412f14aef7ea@holgerdanske.com> Date: Mon, 20 Jun 2022 23:24:44 -0700 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: BIOS/MBR drive enumeration order, FreeBSD dev nodes, GELI ZFS root, and ZFS boot Content-Language: en-US To: questions@freebsd.org References: <20220621053741.3dbb0d2e.freebsd.ed.lists@sumeritec.com> From: David Christensen In-Reply-To: <20220621053741.3dbb0d2e.freebsd.ed.lists@sumeritec.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4LRxMN62HMz4mCf X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=HsfD51td; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 2001:470:0:19b::b869:801b as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-3.99 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a:november.he.net]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[holgerdanske.com:+]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.990]; MLMMJ_DEST(0.00)[questions]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N > On Mon, 20 Jun 2022 11:35:01 -0700 David Christensen wrote: > >> freebsd-questions: >> >> >> I have a desktop computer: >> When I boot the machine, I see a prompt: >> >> GELI Passphrase: >> >> >> If I enter the correct passphrase, boot succeeds. >> >> >> If I enter an incorrect passphrase, I see another prompt later in >> boot: >> >> Enter passphrase for ada0s1d: >> >> >> Note that "ada0" corresponds to the device node name of the SSD when >> FreeBSD was installed. >> >> >> If I enter the correct passphrase, boot continues and succeeds. >> >> >> I would now like to use the computer to examine an EIDE HDD. >> >> >> I have installed a HBA: >> >> Promise Technology Ultra 133 TX2 >> >> >> Connected the HDD to the HBA: >> >> Maxtor 6L200P0 >> >> >> And set the CMOS Setup boot order so that the SSD is before the HDD. >> >> >> When I boot the machine I see the first prompt: >> >> GELI Passphrase: >> >> >> No matter what passphrase I enter, I always see the second prompt: >> >> Enter passphrase for ada1s1d: >> >> >> Note that "ada1" no longer corresponds to the device node name of the >> SSD when FreeBSD was installed. (I suspect the HDD is "ada0".) >> >> >> No matter what passphrase I enter at the second prompt, it is always >> rejected. FreeBSD will not boot. On 6/20/22 22:37, Erich Dollansky wrote: > Hi, > > allow me a general answer on top: FreeBSD has support for labels. Just > give each partition a name and use the partitions via their names. This > works then even if you move the devices to other machines. Thank you for the reply. I have several older machines in my SOHO network. BIOS/MBR is the lowest common denominator, so that is what I use. AIUI MBR does not support partition labels, only GPT. I seem to recall that it is possible to slice/ partition the boot/ root drive with a hybrid MBR/ GPT scheme such that BIOS thinks the drive is MBR but the FreeBSD boot loader switches to GPT at some point (?). Can this be achieved with the FreeBSD installer per "Guided Partitioning Using Root-on-ZFS"? https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall-partitioning David