From owner-freebsd-questions@FreeBSD.ORG Sat Sep 29 13:06:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3757F106566B for ; Sat, 29 Sep 2012 13:06:11 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id DE98D8FC0A for ; Sat, 29 Sep 2012 13:06:10 +0000 (UTC) Received: by vbmv11 with SMTP id v11so5245054vbm.13 for ; Sat, 29 Sep 2012 06:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Sw2x3EajaPPFRPck/SNxGiQnWkdKefy2oMl5/oP+JtM=; b=ZYTRBBHzEb2Bu+iq9VJhBW2OuvCRxsKrVS/yKY1tzD9AEQuECtY2bqwjRoChIBdk+V Kr3PjZ9HmAKzSlkW5eO+WN3Uq/njaKly0mqGYbHmujhI/N9fERigFDE3XxdAiellK86r 5RvhXOf4w8JFMHBmEPpGuPJtNxFyHy6ihguTGotUbHGAjy+8hn66R2ELYTijvn5WXHPY TiuHFK7sq8ehrx8HRsZFqpL60gn7fughGYR8RrFVVgRjIpzhyi8xcyFsciNCekXljLhx YLVW4qY0wZ9PsX3dRc+CuqCN5IUHupzS4aJ5MTJBl4LuCVi0YR/fTleKPbUsopgXzd7z VmiA== MIME-Version: 1.0 Received: by 10.52.92.11 with SMTP id ci11mr4565005vdb.7.1348923969911; Sat, 29 Sep 2012 06:06:09 -0700 (PDT) Received: by 10.58.239.167 with HTTP; Sat, 29 Sep 2012 06:06:09 -0700 (PDT) In-Reply-To: <20120929135300.03aae386@fabiankeil.de> References: <20120929135300.03aae386@fabiankeil.de> Date: Sat, 29 Sep 2012 16:36:09 +0330 Message-ID: From: s m To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2012 13:06:11 -0000 thanks Fabian for your answer. i don't know what exactly information is needed but i tell what i did up to now. i have two partition, one is encrypted and the other one is not. the unencrypted partition has boot folder. when i copy FreeBSD base system files, FreeBSD start up correctly but when i restore dump files, FreeBSD doesn't start up correctly. i hope this information help to understand what is wrong. thanks On 9/29/12, Fabian Keil wrote: > 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. >> >> 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 >