Rescuing a GPT ZFS boot setup

Volodymyr Kostyrko c.kworr at gmail.com
Thu Sep 19 13:58:39 UTC 2013


19.09.2013 16:43, Andrew Moran wrote:
> Alas, that did not work.     But it does look to be BIOS related.
>
> I think this new system has a UEFI bios.
>
> I just read from https://wiki.freebsd.org/UEFI:
> 	* Partitions not seen. When using GPT, FreeBSD will create a protective MBR. This MBR has one partition entry covering the whole disk. FreeBSD marks this partition active. This causes at least some UEFI implementations to ignore the GPT. To fix this the partition needs to be marked inactive.
> 	* Filesystem not seen. FreeBSD's FAT32 code appears to sometimes create filesystems that the UEFI code can't properly read. If the filesystem is small enough, use FAT16 or FAT12 instead.
>
> I think this may be my issue.  But 9.1 LiveCD does boot and I can see the data once booted, so there must be a way to fix the boot loader on the drive to work.

Good catch. The fix landed in stable not so long ago 
(http://svnweb.freebsd.org/base?view=revision&revision=255017) so you 
wouldn't find it in 9.2 either. Can you try this:

	gpart unset -a active ada0

-- 
Sphinx of black quartz, judge my vow.


More information about the freebsd-stable mailing list