Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 19:09:55 +0200
From:      Lorenzo Perone <lopez.on.the.lists@yellowspace.net>
To:        Adam McDougall <mcdouga9@egr.msu.edu>
Cc:        Mickael MAILLOT <mickael.maillot@gmail.com>, FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)
Message-ID:  <EE9A198B-295F-470F-A3EE-AA2F9B651F79@yellowspace.net>
In-Reply-To: <20090531071759.GA35763@egr.msu.edu>
References:  <29579856-69F7-4CDC-A52A-B414A40180ED@yellowspace.net> <4A1B0B4F.1020106@h3q.com> <ea7b7b810905260226g29e8cbf5ic75a59b979f6cd42@mail.gmail.com> <alpine.BSF.2.00.0905261353140.8940@woozle.rinet.ru> <18972.5870.795005.186542@already.dhcp.gene.com> <4A1C18CC.7080902@icyb.net.ua> <18972.7173.216763.407615@already.dhcp.gene.com> <A1B19FAF-B574-484F-9434-17F5AF754B88@yellowspace.net> <ea7b7b810905281246l26e798a1h65100635c1b2cb5b@mail.gmail.com> <63548432-B73D-4A08-BA99-FEF5BCC1028A@yellowspace.net> <20090531071759.GA35763@egr.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 31.05.2009, at 09:18, Adam McDougall wrote:

> I encountered the same symptoms today on both a 32bit and 64bit
> brand new install using gptzfsboot.  It works for me when I use
> a copy of loader from an 8-current box with zfs support compiled in.
> I haven't looked into it much yet but it might help you.  If you
> want, you can try the loader I am using from:
> http://www.egr.msu.edu/~mcdouga9/loader


Hi, thanx a lot for this hint. Meanwhile, I was almost giving up,
and had a try with ZFS on Root with GPT partitioning, using
gptzfsboot as the bootloader, a UFS root partition as boot
partition (gmirrored to both disks), and the rest (inclusive of a
zvol for swap!) on ZFS. This worked perfectly on the first try.
(if anyone is interested, I can post my commented command
series for that, but it's just a mix of the available tutorials on
the web..).

I'll be glad do give the zfs-only solution a new try.
Had the same impression, that the loader was involved in the
problem, but had no env at hand to build a -CURRENT right
away... (I did, in fact, repeat the dd-steps a zfsboot
bootloader from a recent 8- snapshot iso... with the results
being the same as before...).

Sidenote: I encountered a few panics when using rsync with the
HAX flags enabled (rsync -avxHAX from UFS to ZFS).
I'll try to figure out which one of the flags caused it...
(Hard links, ACLs, or eXtended attributes..).
Never had even the slightest problem with rsync -avx.

Thanx for posting me your loader,  I'll try with this tomorrow night!
(any hint, btw, on why the one in -STABLE seems to be
broken, or whether it has actually been fixed by now?)

Regards,
Lorenzo

> (...)
>
>> 2009/5/28 Lorenzo Perone:
>>> Hi,
>>>
>>> I tried hard... but without success ;(
>>>
>>> the result is, when choosing the disk with the zfs boot
>>> sectors in it (in my case F5, which goes to ad6), the kernel
>>> is not found. the console shows:
>>>
>>> forth not found
>>> definitions not found
>>> only not found
>>> (the above repeated several times)
>>>
>>> can't load 'kernel'
>>>
>>> and I get thrown to the loader prompt.
>>> lsdev does not show any ZFS devices.
>>>
>>> (...)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EE9A198B-295F-470F-A3EE-AA2F9B651F79>