Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2017 16:26:48 +0300
From:      Boris Samorodov <bsam@passap.ru>
To:        Eduardo Lemos de Sa <eduardo.lemosdesa@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: How to boot from a zfs external disk?
Message-ID:  <528042d9-0915-8940-753a-3c21fde92d79@passap.ru>
In-Reply-To: <CA%2BnjGkvqEW89%2BA0p2vy04TTLJA%2BppgkyP=7uRCoPCW_DHu3y5Q@mail.gmail.com>
References:  <CA%2BnjGkvqEW89%2BA0p2vy04TTLJA%2BppgkyP=7uRCoPCW_DHu3y5Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?528042d9-0915-8940-753a-3c21fde92d79>