From owner-freebsd-questions@FreeBSD.ORG Sun Sep 30 17:26:20 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 DCA35106566B for ; Sun, 30 Sep 2012 17:26:20 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9C9868FC08 for ; Sun, 30 Sep 2012 17:26:20 +0000 (UTC) Received: by ieak10 with SMTP id k10so7541713iea.13 for ; Sun, 30 Sep 2012 10:26:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=8lb/7wuge+hhnJ5Kz//OrUAVPMEVca065tB1HZkITBQ=; b=ErouFktXKFGsDEZgqOyOwK8Gir+7lpIszADb6FsidtodyUe0aO8mikFodqv4gWSJ23 t+qoIhAxMxirSzCd/T28MGBAFDveHYCev4EUZdY3gl7+ec3PYifZVMPjN658h33VO5jm va6f8K7DfUFCHzFsSP+H5VNtVihtQ7/r/VaPXr3ZOrUjTT5/zlbiN38XD3+TAj6MXSX+ cToN6NU/fUae9T3AB2O6O/Sa5kaYc1hGG8ZGxr4lsyco7RRUHH+rSUdEAF7Y7mV6JWni jpc6Vy7FcKFmRvn9sydKxXDCp8s+Y5WuFMT2Vt9HVjaRLNPTHKTAR3nBTYPBTpi/WXRk EQXQ== MIME-Version: 1.0 Received: by 10.50.214.65 with SMTP id ny1mr3737164igc.10.1349025980210; Sun, 30 Sep 2012 10:26:20 -0700 (PDT) Received: by 10.64.49.67 with HTTP; Sun, 30 Sep 2012 10:26:20 -0700 (PDT) X-Originating-IP: [93.221.190.165] In-Reply-To: References: <20120929135300.03aae386@fabiankeil.de> Date: Sun, 30 Sep 2012 19:26:20 +0200 Message-ID: From: "C. P. Ghost" To: s m Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlc4iywIDBwWPLURBEkA7zjlABkokTOJ8lNfsHlrgT7Y25IQSqTUG5Bd3sXSQuj7Vm7uYxN Cc: saeedeh motlagh , 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 17:26:21 -0000 On Sun, Sep 30, 2012 at 10:09 AM, s m wrote: > 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. You could try to let us know what kind of error message you get (i.e. the exact wording). ;-) My guess (out of the blue) is that kernel and modules are now out of sync. This happens when you restore the modules from backup but use a newer kernel (or vice-versa). If you restore stuff from backup, make sure you don't restore anything under your freshly (re-)installed /boot. Or make sure you restore *everything* into /boot, and not just some parts of it. /boot has to be consistent; either everything from the new install, or everything from the backup up install, but not a mix of both. As others pointed out, you need to provide more detailed infos about your backup and restore procedure. It it impossible to guess correctly what you have done otherwise. -cpghost. -- Cordula's Web. http://www.cordula.ws/