From owner-freebsd-stable@FreeBSD.ORG Sun Feb 2 09:57:51 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 09AA9F27 for ; Sun, 2 Feb 2014 09:57:51 +0000 (UTC) Received: from mail-pd0-x236.google.com (mail-pd0-x236.google.com [IPv6:2607:f8b0:400e:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D92AF1E8A for ; Sun, 2 Feb 2014 09:57:50 +0000 (UTC) Received: by mail-pd0-f182.google.com with SMTP id v10so5892266pde.27 for ; Sun, 02 Feb 2014 01:57:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=fVxSdUNx1JtoFL2QPEA7XI3KZQ8K9pmXUEGIxF6s4aw=; b=Xp9BQhG+Geowwg1L76SysJeIHS2xZwALISlStOX5hAZpkUQ9eNa0tY72wKbpFmyFXy nXmQKv/F4fT1qW4c6H+0txuW67pPQNRqW4co5AC1mLJdo+1bq7NxghKtgMWXqf3UZI7Q +mrXrxVHdCYJNIQthyxudJ5xyvZemJxYI4tt8QKKcsk8pMTSVcOxEaL12tbng/RM3a9M q/zZiSQaubB7opdi1nd2tJKaXH7xaVRF5qlXQSCtSQBpVx6wM30TEf/jA6Vu1XKpH/40 XeC9nx15GwcnX7oEItPLWkSh81aMOltLODOgpcuj9/0VpCEy7euyB3XOoj9JD9a7nd+c y/1Q== MIME-Version: 1.0 X-Received: by 10.67.5.233 with SMTP id cp9mr389949pad.147.1391335070596; Sun, 02 Feb 2014 01:57:50 -0800 (PST) Received: by 10.66.142.167 with HTTP; Sun, 2 Feb 2014 01:57:50 -0800 (PST) Date: Sun, 2 Feb 2014 10:57:50 +0100 Message-ID: Subject: From: Zenny To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Devin Teske X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 09:57:51 -0000 Hi: Last time, Devin had been very kind to suggest me when the system borked while trying to upgrade from v10B3 to vRC1. Following FreeBSD 10.0-RELEASE, I installed to a new machine with encrypted root in zfs mirror, and since there was something wrong (a double quote by mistake) inserted in the /boot/device.hints, the kernel refused to boot and landed to the mountroot prompt. Therefore, in order to make changes what I did was: 1. Boot into LiveCD mode 2. mkdir /tmp/bootpool zpool import -f bootpool zfs set mountpoint=/tmp/bootpool bootpool zfs mount -a cp /tmp/bootpool/boot/encryption.key /tmp/ zfs umount -a zfs set mountpoint=/bootpool bootpool zpool export bootpool geli attach -k /tmp/encryption.key /dev/ada0p4 geli attach -k /tmp/encryption.key /dev/ada1p4 zpool import -R /mnt zroot zpool import -R /mnt/bootpool bootpool 3. Removed the double quote (") from /bootpool/boot/device.hints and saved the file. 4. Rebooted the file and now it says that there is no boot/zfsbootloader. Appreciate if someone provides hints to recover the system in such situation without loosing any customized kernel and poudriere configs and contents? Thanks. /z