From owner-freebsd-questions@FreeBSD.ORG Sun Sep 30 08:09:28 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 35852106564A for ; Sun, 30 Sep 2012 08:09:28 +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 DC8608FC08 for ; Sun, 30 Sep 2012 08:09:27 +0000 (UTC) Received: by vbmv11 with SMTP id v11so5745830vbm.13 for ; Sun, 30 Sep 2012 01:09:26 -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 :cc:content-type; bh=tSO4Sp1S7Ro7y5NfjQfLtEeOVLXC75WtD1NQ6bHMXV8=; b=T7cjAAesOqJluqK4Ar/1ggJR/yRKOd4bJFLLkowymbhZt/UiAXEASN7hAdM0eWgUer d7Q9IOL1S/jPQqHkkKhMMiqq0KZYRuU3334qFjlh7XnXudqv08et0h2gwCtcoAF3wV65 1WtcabTcQUJxlAm3qcsMyJJymx5yBrDjHQ7v1Abz3Buz4QMJKswicBf23pfteNtmc8LW 3/C3VrQso9dl7T+XEuBFF3IPh+jdIGBvkImgLF4iywg4bZcKgdCDOODHEnoHNorGJ81U oW0RlojcizZw+5WWaKZhusq0BIYG4HoUHvvn5Kk4o02X1GwKV9+L9f5hOQHAm6lXiZK0 j4YA== MIME-Version: 1.0 Received: by 10.52.98.42 with SMTP id ef10mr5276830vdb.62.1348992566751; Sun, 30 Sep 2012 01:09:26 -0700 (PDT) Received: by 10.58.239.167 with HTTP; Sun, 30 Sep 2012 01:09:26 -0700 (PDT) In-Reply-To: References: <20120929135300.03aae386@fabiankeil.de> Date: Sun, 30 Sep 2012 11:39:26 +0330 Message-ID: From: s m To: saeedeh motlagh Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org 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: Sun, 30 Sep 2012 08:09:28 -0000 thanks saeedeh OK i try to explain what i have done more in detail. i want to restore unencrypted dump files on an encrypted file system. in order to do that, i encrypted my file system by geli command and sure that is done correctly because when i install base and kernel on it, freebsd start up successfully. problem is here: when i restore my dump files and restart my freebsd, boot PXE menu is shown and i select my freebsd but after that, the error message "invalid format" occurs and i see this message: >> FreeBSD/i386 BOOT Default: 0:ad(0,a)/boot/loader boot: it selects the default kernel correctly and after some seconds an error message is shown which consists of some hardware addresses. i don't know how to fix it. any hints that might fix my problem are appreciated. On 9/30/12, saeedeh motlagh wrote: > hi > > i have a similar problem too. can you explain in detail what you have > done step by step? i wanna know if my problem is exactly what you > have. > > thanks > > On 9/29/12, s m wrote: >> 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 >>> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >