root-on-ZFS - gptzfsboot fails to find pool

Elliot Robinson elliot.robinson at argiopetech.com
Thu Aug 21 19:12:14 UTC 2014


On Wed, Aug 20, 2014 at 5:46 PM, Elliot Robinson <
elliot.robinson at argiopetech.com> wrote:

> On Wed, Aug 20, 2014 at 4:57 PM, Warren Block <wblock at wonkity.com> wrote:
>
>> On Wed, 20 Aug 2014, Elliot Robinson wrote:
>>
>>  G'day all,
>>> A fresh root-on-ZFS install using bsdinstall's ZFS option on FreeBSD 10
>>> fails to boot on my Dell Studio XPS 1640. Output at boot is
>>>
>>> gptzfsboot: error 1 lba 48
>>> gptzfsboot: error 1 lba 1
>>> gptzfsboot: No ZFS pools located, can't boot
>>>
>>
>> This has come up in a few places lately.  Could it be due to upgrading
>> the pool but not updating the bootcode?
>>
>
> Possibly in some cases, but this is a fresh install of 10 from
> FreeBSD-10.0-RELEASE-amd64-memstick.img. I've recompiled/reinstalled the
> stage 2 bootcode from installed source (boot with the install media, `make`
> in zroot/usr/src/sys/boot). The generated gptzfsboot is identical according
> to cmp. Possible it's a regression from 9.2...
>
> Ah, I should mention. In the list of "Things I've Tried", we can also
> include "Install from 9.3 media", which failed with the same error.
>
>
> ---
> Elliot Robinson
> PGP Key: 9FEDE59A
>
>
Digging around the bug tracker, I found this:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=144234

Appears this has been going on since at least 9.0-CURRENT, and might be
associated with Dell machines running Core 2 Duo-era hardware. I'm going to
see if I can track down the change to zfsboot.c mentioned in the bug report
and try booting with a modified gptzfsboot.

---
Elliot Robinson
PGP Key: 9FEDE59A


More information about the freebsd-hackers mailing list