From owner-freebsd-questions@freebsd.org Fri Mar 1 04:04:21 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1DE631502BD9 for ; Fri, 1 Mar 2019 04:04:21 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B54A72D1C for ; Fri, 1 Mar 2019 04:04:19 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Thu, 28 Feb 2019 20:04:10 -0800 Subject: Re: Moving raw system image to another drive breaks GELI To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: Date: Thu, 28 Feb 2019 20:04:10 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1B54A72D1C X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [1.01 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.22)[ipnet: 184.104.0.0/15(2.22), asn: 6939(-3.26), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.88)[-0.883,0]; NEURAL_SPAM_MEDIUM(0.30)[0.300,0]; DMARC_NA(0.00)[holgerdanske.com]; NEURAL_SPAM_SHORT(0.93)[0.926,0]; MX_GOOD(-0.01)[holgerdanske.com]; RCVD_IN_DNSWL_NONE(0.00)[27.128.105.184.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 04:04:21 -0000 On 2/26/19 10:00 AM, David Christensen wrote: > I have a computer: > > 2019-02-26 09:50:14 dpchrist@ragnar ~ > $ freebsd-version ; uname -a > 11.2-RELEASE-p9 > FreeBSD ragnar 11.2-RELEASE-p9 FreeBSD 11.2-RELEASE-p9 #0: Tue Feb  5 > 15:30:36 UTC 2019 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64 > > > I installed to a SanDisk Ultra Fit USB 3.0 16 GB flash drive: > >       Partitioning                      Auto (ZFS) >         Pool Type/Disks                 stripe,da0 >         Pool Name                       zroot >         Force 4K Sectors                YES >         Encrypt Disks                   YES >         Partition Scheme                MBR (BIOS) >         Swap Size                       2g >         Mirror Swap                     NO >         Encrypt Swap                    YES >         Install > > > If I do a raw binary copy of the USB flash drive to a Intel 520 Series > SSD 60 GB with dd(1) and boot the SSD, GELI rejects the passphrase and I > end up at a "mountroot>" prompt. > > > I would like to be able to move raw FreeBSD system images from drive to > drive and have them work. I did another install without GELI to another USB flash drive. I then copied the image to the SSD. The SSD boots and seems to work correctly. David