From owner-freebsd-questions@freebsd.org Thu Jun 15 00:08:50 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEEE5BF6C92 for ; Thu, 15 Jun 2017 00:08:50 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (maurice.jlkmail.com [IPv6:2606:c700:1:30::23:2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC0197DC03 for ; Thu, 15 Jun 2017 00:08:50 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (localhost [127.0.0.1]) by maurice.jlkmail.com (Postfix) with ESMTP id A889F24C04BB for ; Wed, 14 Jun 2017 20:08:49 -0400 (EDT) Authentication-Results: maurice.jlkmail.com (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=mailman-hosting.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= mailman-hosting.com; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=dkim; t=1497485328; x= 1498349329; bh=/QLss5jmAtGC7yPDnGJpXKeN8yLnANWb5Jk4yrqJhyI=; b=S lnNY41FwLim6b+mehSj0sh/p9mKZUJ/ocPSZ9mW/l6Myll+Vwf33Exe0Xqjai0w7 Tk/2RIX6s6NVT29pDw2O0UC5ZIrscVXTMN/aGhZ+5Z+QIm/bdmDP3hwG0dmGBS6s vnIvxmfvUMwXEHfhBCHuJIckHJq6rmypnHcJU5KXGE= X-Virus-Scanned: Debian amavisd-new at maurice.jlkmail.com X-Spam-Flag: NO X-Spam-Score: 4.296 X-Spam-Level: **** X-Spam-Status: No, score=4.296 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1, RAZOR2_CF_RANGE_51_100=0.365, RAZOR2_CF_RANGE_E8_51_100=2.43, RAZOR2_CHECK=2.5, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no Received: from maurice.jlkmail.com ([127.0.0.1]) by maurice.jlkmail.com (maurice.jlkmail.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gElrk7vpGYVA for ; Wed, 14 Jun 2017 20:08:48 -0400 (EDT) Received: from [192.168.1.164] (static-70-104-198-156.nrflva.fios.verizon.net [70.104.198.156]) by maurice.jlkmail.com (Postfix) with ESMTPSA id 1B4DF24C006B; Wed, 14 Jun 2017 20:08:47 -0400 (EDT) Subject: Re: FreeBSD 11.0 boot pool created by installer -- how to import and mount using installer? To: David Christensen , freebsd-questions@freebsd.org References: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> <39a436b5-f09e-220b-954d-8ba272fa3101@holgerdanske.com> From: Jim Ohlstein Message-ID: <51d6f981-a763-cdd0-648f-c36f2d757334@mailman-hosting.com> Date: Wed, 14 Jun 2017 20:08:47 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <39a436b5-f09e-220b-954d-8ba272fa3101@holgerdanske.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 00:08:51 -0000 Hello, On 06/14/2017 08:03 PM, David Christensen wrote: > freebsd-questions: > > I have a FreeBSD 11.0 RELEASE i386 system that I created using the > FreeBSD installer (FreeBSD-11.0-RELEASE-i386-memstick.img): > > Partitioning Auto (ZFS) > > ZFS Configuration > Pool Type/Disks Stripe 1 Disk > Virtual Device type stripe > (device) ada0 > Pool Name zroot > Force 4K Sectors YES > Encrypt Disks YES > Partition Scheme MBR (BIOS) > Swap Size 2g > Mirror Swap NO > Encrypt Swap YES > Install Proceed with Installation > > > I broke the system by attempting to change the root pool passphrase. I > might be able to fix it if I can edit /boot/loader.conf. > > > Booting the FreeBSD installer into multi-user mode and then going to a > shell: > > # zpool list > no pools available > > # zpool import > pool: bootpool > id: > state: ONLINE > action: The pool can be imported using its name or numeric identifier. > config: > > bootpool ONLINE > ada0s1a ONLINE > > # zpool import bootpool > cannot import 'bootpool': pool may be in use from other system > use '-f' to import anyway > > # zpool import -f bootpool > cannot mount '/bootpool': failed to created mountpoint > > > Choosing Live CD produces the same end result. > > > I previously obtained the same end result by booting into single-user mode. > > > How do I import and mount bootpool using the installer that created it? Try # zpool import -f -o mountpoint=/mnt bootpool -- Jim Ohlstein Profesional Mailman Hosting https://mailman-hosting.com