From owner-freebsd-questions@freebsd.org Wed Aug 23 13:27:01 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 ED4F7DE70E0 for ; Wed, 23 Aug 2017 13:27:01 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::601]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B66A6FD82 for ; Wed, 23 Aug 2017 13:27:01 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from mxback1j.mail.yandex.net (mxback1j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10a]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 7AC8F1341DB4; Wed, 23 Aug 2017 16:26:57 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback1j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id GoaZDQqCxs-QnoWYr2E; Wed, 23 Aug 2017 16:26:49 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=passap.ru; s=mail; t=1503494809; bh=auN/sNzwIyDb31i5gkS1pMCB8DWVvQ9ySmxZvnk6KAA=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=N7lYafpSGju7kTHye/uWqP47bcYZ9spw4AznZB/Z8G2ZoYKZGGjuH3J2CGpIQyQaV l8kojdZnl64QRxykMcaX3BBwur12KLmwDDVUB1n4C/yUt2W0zl/AvX9cNnWc5WJRPj Qzo46Nvk98I5HOxdgISOb23GWv82ONhlHynXaYL8= Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QutoRU1ZgR-Qm7SC8ti; Wed, 23 Aug 2017 16:26:48 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=passap.ru; s=mail; t=1503494808; bh=auN/sNzwIyDb31i5gkS1pMCB8DWVvQ9ySmxZvnk6KAA=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=m+F9+N3gVQ6/+mScNs4eg7fKt6rUrAR2mEM+WHpLdKBQ4NfuoLFAnJXijNa/lowRN hnTmTI8UcnZCVZ2nLiEimp2z4TLFlolJPdOGE4YzRmZsWIl3YusH35wKqrMkpvrfXT t9t+8CyVwf1tOaSDo4dVEJ8MJf+1CoHH78ygKfRU= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@passap.ru Subject: Re: How to boot from a zfs external disk? To: Eduardo Lemos de Sa , freebsd-questions@freebsd.org References: From: Boris Samorodov Message-ID: <528042d9-0915-8940-753a-3c21fde92d79@passap.ru> Date: Wed, 23 Aug 2017 16:26:48 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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: Wed, 23 Aug 2017 13:27:02 -0000 23.08.2017 15:29, Eduardo Lemos de Sa пишет: > Dear > > A year ago, I installed 10.3-RELEASE in a internal notebook hard-drive (zfs > formated, with pool named "zeeroot"). Now, I moved this hard drive to a > case intending use it as a portable FreeBSD machine. In past, this hard > disk was a /dev/ada0 device and now, of course, it assumes a name /dev/da0. > When I tried to boot the initial process is ok, but when partitions an > filesystem are supposed to be mounted, I got a error and a request to > specify from where I want to boot. > When I typed "?" to see avaliable options, I got the result ( a photo took > from my cell phone): > > http://www.quimica.ufpr.br/edulsa/fig-boot-externalharddisk.jpg There is no zfs remnants there. Seems you lack zfs kernel loadable modules. You may add following lines to /boot/loader.conf: --- zfs_load="YES" vfs.root.mountfrom="zfs:zeeroot" --- Or do the same from boot command line. > I tried several of them including: > > zfs:zeeroot > > Please, could you give some hint about to procedure? > > Thanks in advance for your attention > > Eduardo > > PS.: /dev/ada0 is the actual internal hard disk on the machine wheres I > tried to boot. So, it is not a option HTH -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve