From owner-freebsd-stable@FreeBSD.ORG Fri Dec 13 14:55:12 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 376E544A; Fri, 13 Dec 2013 14:55:12 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F29A91FCD; Fri, 13 Dec 2013 14:55:11 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa02.fnfis.com (8.14.5/8.14.5) with ESMTP id rBDEtAVh006781 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 13 Dec 2013 08:55:10 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([169.254.1.7]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.03.0158.001; Fri, 13 Dec 2013 08:55:09 -0600 From: "Teske, Devin" To: Zenny Subject: Re: Upgrading from FreeBSD10-B3 to FreeBSD10-RC1 borked Thread-Topic: Upgrading from FreeBSD10-B3 to FreeBSD10-RC1 borked Thread-Index: AQHO+BNRwcguYgNeMUirSUFHc4diJQ== Date: Fri, 13 Dec 2013 14:55:09 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14, 0.0.0000 definitions=2013-12-13_03:2013-12-12,2013-12-13,1970-01-01 signatures=0 Cc: Devin Teske , freebsd-stable Stable , "Teske, Devin" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Devin Teske List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 14:55:12 -0000 On Dec 13, 2013, at 4:53 AM, Zenny wrote: > Followed the instructions here: > http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html >=20 > The upgrade borked. >=20 > Error message: Can't find 'kernel' >=20 > When I checked with ls /boot/kernel/, the directory does exist. >=20 > :-( >=20 > Since the system has encrypted root partion with ZFSonROOT, I tried to > follow instructions at > https://forums.freebsd.org/viewtopic.php?&t=3D8958 to boot with a livecd > and went to the shell prompt and tried to import the zroot pool with > 'zpool import -f zroot' but it says no such pool is available. >=20 > How to fix it? Any hint? Thanks! Before you can import the zroot you have to: 1. Import the bootpool (which requires changing of the mountpoint in the LiveCD environment) 2. Do a "geli attach" with the (a) the key that is stored on the bootpool a= nd (b) the passphrase that you set. After that, you'll see the zroot pool. Here's the step-by-step: Step 1. Boot into LiveCD Step 2. Execute the following commands... mkdir /tmp/bootpool zpool import bootpool zfs set mountpoint=3D/tmp/bootpool bootpool zfs mount -a cp /tmp/bootpool/boot/encryption.key /tmp/ zfs umount -a zfs set mountpoint=3D/bootpool bootpool zfs export bootpool geli attach -k /tmp/encryption.key /dev/ada0p3 # NB: Substitute ada0p3 for proper disk # NB: Repeat for each disk in the zroot pool zpool import At this point, the final "zpool import" shows the zroot. I've found several things that needed fixing in the RC1... Pending MFC's to releng/10.0: http://svnweb.freebsd.org/base?view=3Drevision&revision=3D258927 http://svnweb.freebsd.org/base?view=3Drevision&revision=3D259144 http://svnweb.freebsd.org/base?view=3Drevision&revision=3D259148 Will be submitted shortly -- in addition I have a few more coming. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.