From owner-freebsd-questions@FreeBSD.ORG Sat Sep 29 11:53:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA826106566B for ; Sat, 29 Sep 2012 11:53:59 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.31.42]) by mx1.freebsd.org (Postfix) with ESMTP id 862358FC08 for ; Sat, 29 Sep 2012 11:53:59 +0000 (UTC) Received: from [87.79.195.195] (helo=fabiankeil.de) by smtprelay04.ispgateway.de with esmtpsa (SSLv3:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1THvbx-0001MU-Vc for freebsd-questions@freebsd.org; Sat, 29 Sep 2012 13:53:34 +0200 Date: Sat, 29 Sep 2012 13:53:00 +0200 From: Fabian Keil To: freebsd-questions@freebsd.org Message-ID: <20120929135300.03aae386@fabiankeil.de> In-Reply-To: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/vLJC5TzMPVboiPM5j.kravj"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Subject: Re: how restore an unencrypted dump on an encrypted file system? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2012 11:53:59 -0000 --Sig_/vLJC5TzMPVboiPM5j.kravj Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable s m wrote: > I backed up my freeBSD 8.2 box by dump command and now want to restore > this dump file on an encrypted file system (i used geli to encrypt my > file system) but do not know how to do that. >=20 > is there any way or command to restore an unencrypted dump on an > encrypted file system? i tried to restore my dump file as when file > system is unencrypted. Can you read the files after attaching the provider manually? > this is what i've doe: I decrypted my encrypted file system by "geli > attach" command, then mount it and restore dumps. but when i restart > my system, FreeBSD doesn't start up correctly (PXE boot menu is shown > and when i select freeBSD, boot.config runs but nothing happend). You do not provide enough information to give a meaningful answer. One possible mistake would be putting the kernel itself on the encrypted file system, but the list of things one can do wrong is pretty long. Fabian --Sig_/vLJC5TzMPVboiPM5j.kravj Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBm4R8ACgkQBYqIVf93VJ01eQCglA6y6hA00M5UEchwp3wIdeP6 +gUAmgMH/muyUrBKbk7sU68NRJyHFzrt =fx0h -----END PGP SIGNATURE----- --Sig_/vLJC5TzMPVboiPM5j.kravj--