Date: Mon, 21 Oct 2013 03:51:28 +0300 From: Kimmo Paasiala <kpaasial@gmail.com> To: Freek Dijkstra <public@macfreek.nl> Cc: freebsd-fs <freebsd-fs@freebsd.org> Subject: Re: ZFS: unsupported ZFS version 5000 (should be 28) Message-ID: <CA%2B7WWSdfGU2WkO58GUXkeG-u2T_12Gs-4Z7CynjaHWjUZfphXQ@mail.gmail.com> In-Reply-To: <52647372.7000203@macfreek.nl> References: <52645329.3000806@macfreek.nl> <52647372.7000203@macfreek.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 21, 2013 at 3:21 AM, Freek Dijkstra <public@macfreek.nl> wrote: > On 21-10-2013 00:03, Freek Dijkstra wrote: > >> ZFS: unsupported ZFS version 5000 (should be 28) >> gptzfsboot: No ZFS pools located, can't boot > > [...] > >> # gpart create -s gpt ada0 >> # gpart add -b 34 -s 94 -t freebsd-boot ada0 >> # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 > > I tried a full install again, and it seems that 94 blocks was too small > for freebsd-boot. I just tried again, and things seem to work now. > > I am curious if this indeed was the cause. > Is there a way to determine the required size of a bootloader? > > If this was indeed the cause (I need some sleep, so am not ruling > anything out :) ), I guess it is useful to add a warning message to gpart. > > Regards, > Freek > You can look at the size of the /boot/gptzfsboot file to see how much space it will require. To be on the safe side you can always use a 256KB (512 blocks) partition or even larger for the boot loader. This allows room in case the loader suddenly grows in size in later versions. -Kimmo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSdfGU2WkO58GUXkeG-u2T_12Gs-4Z7CynjaHWjUZfphXQ>