Sorry about the typos. The bootcode should be installed to the drive that you are booting from.
I see that you have: ada1: 1 freebsd-boot 2 freebsd-swap 8G 3 freebsd-zfs 4G (zil) 4 freebsd-zfs 17G (cache) ada0: Managed by ZFS, ~250G Main filesystem. I don't think that ada1 holds any OS files therefore you will need to boot from ada0 gpart create -s gpt ada0 gpart add -b 34 -s 64k -t freebsd-boot ada0 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 On Mon, May 30, 2011 at 6:33 PM, Daniel Staal <[email protected]> wrote: > --As of May 30, 2011 6:29:06 PM +0300, George Kontostanos is alleged to > have said: > > I suppose that you didn't forget to add a boot code to your boot disk(s) ? >> >> gpart bootcode -b boot/pmbr -p boot/gptzfsboot -i 1 ada0 >> > > --As for the rest, it is mine. > > Nope, I got that. Although that line as written threw errors. I used: > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1 > > (Normally I was installing the boot code to the mSATA drive, as it was the > one I was partitioning.) > > > Daniel T. Staal > > --------------------------------------------------------------- > This email copyright the author. Unless otherwise noted, you > are expressly allowed to retransmit, quote, or otherwise use > the contents for non-commercial purposes. This copyright will > expire 5 years after the author's death, or in 30 years, > whichever is longer, unless such a period is in excess of > local copyright law. > --------------------------------------------------------------- > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "[email protected]" > -- George Kontostanos aisecure.net <http://www.aisecure.net> _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[email protected]"
