From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 13:22:43 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 04C3B86C for ; Thu, 8 Nov 2012 13:22:43 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B5D6E8FC0A for ; Thu, 8 Nov 2012 13:22:42 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id k10so2496854iag.13 for ; Thu, 08 Nov 2012 05:22:42 -0800 (PST) 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=TG12dNv33gZkYfpJTQJk8/6leCo7UtJbt3V5kHxu2AM=; b=iYxK4VxcpLyJbVS5FdugWCBpArMYuohdqOMb3rQ1kP+SqgPcjzKAPINjse5TfMBJsG 7auYpcwdH6Jpkgjup6xke1U3E/ho9gGp/7ydiw5tKoGaiCXKk3oMyv0wyBJWFdMD544f C19FbP3F+Gc5ldQ98mvvs4Y8UxAGiuNm3yiNzG9wcfaemwaYFJuPttuUgtG1UkpvQHDn BWCB6ANVpwRh0dnDiMAAH8GZyRjV5k8HkFZeFZkMvqU9xW+P63Uq6/qecEfTq/XO7yJe JayDhL8UKO6qfyJ4HitZPmAuArT0tbPbscsffU/7kXh9m0oa/VmQu7ViQBDCfUnQcRxw 402A== MIME-Version: 1.0 Received: by 10.50.158.201 with SMTP id ww9mr20277893igb.22.1352380962052; Thu, 08 Nov 2012 05:22:42 -0800 (PST) Received: by 10.64.51.193 with HTTP; Thu, 8 Nov 2012 05:22:41 -0800 (PST) In-Reply-To: <20121108122515.089a7fe8@fabiankeil.de> References: <20121108122515.089a7fe8@fabiankeil.de> Date: Thu, 8 Nov 2012 16:22:41 +0300 Message-ID: Subject: Re: GELI Swap password on boot From: Mike Barnard To: Fabian Keil Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 13:22:43 -0000 Thanks Fabian, > Maybe the device contains old geli meta data with the > boot flag set, or garbage that looks like geli meta data. > > Try to "geli clear" the device and if it fails "geli init" + "geli clear". > > I tried this as well, but still got no joy. I re-did the installation and it works fine now. Just for the purpose of explaining, when I did this gpart add -a 4k -s 4G -t freebsd-swap -l SWAP ada0 it created swap as ada0p3, ada0p1 having been labeled as boot-loader , ada0p2 having been labeled as boot and ada0p4 as root. this failed on all attempts. But when I changed the ordering, creating the boot loader partition first, then swap next (ada0p2) then the boot partition after, ada0p3, all works well. I have no idea why that would be a problem though. -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------