Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2013 10:51:20 +0300
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        Andrew Moran <amoran@yahoo.com>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: Rescuing a GPT ZFS boot setup
Message-ID:  <523AACF8.8080404@gmail.com>
In-Reply-To: <1379572619.72405.YahooMailNeo@web121302.mail.ne1.yahoo.com>
References:  <1379572619.72405.YahooMailNeo@web121302.mail.ne1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
19.09.2013 09:36, Andrew Moran wrote:
> 3 years ago I followed https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror  for a FreeBSD 8.1 system (which has since been upgraded to 9.1).    A couple days ago I had massive hardware failure, and wound up having to put the two drives into an entirely new PC system.
>
> Unfortunately I'm not able to get it to boot off the hard drives.  It doesn't even show the FreeBSD bootloader menu it normally would.  The BIOS sees both drives and it can boot off the 9.1 install/Live CD without any problems.   In the LiveCD, I can see both drives partition tables ("gpart show ..") and I can import  the zpool ("zpool import zroot"), and see all my data.   I just can't seem to boot from it.   I tried rerunning the "gpart bootcode" commands on both drives (no errors), but no effect.
>
> It's also not beyond the realm of possibility I have some BIOS setting wrong, but the drives do show up in the POST and BIOS setting.
>
> Does anyone know how I can make my drives bootable again?

Maybe the machine is just too picky about partitioning scheme? Try this 
black magic:

printf '\ny\n\n\n\ny\n\ny\n\n\n\n\ny\n' | fdisk -u ${YourDiskName}

-- 
Sphinx of black quartz, judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?523AACF8.8080404>