Re: ZFS install from -CURRENT snapshot

From: George Kontostanos <gkontos.mail_at_gmail.com>
Date: Mon, 30 May 2011 18:47:32 +0300
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 <DStaal_at_usa.net> 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.
> ---------------------------------------------------------------
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>



-- 
George Kontostanos
aisecure.net <http://www.aisecure.net>
Received on Mon May 30 2011 - 13:47:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC