Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2011 18:47:32 +0300
From:      George Kontostanos <gkontos.mail@gmail.com>
To:        Daniel Staal <DStaal@usa.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ZFS install from -CURRENT snapshot
Message-ID:  <BANLkTikbmJRYzkCf8W3SpADEfZeOji-K6g@mail.gmail.com>
In-Reply-To: <0D1F1853C6DE2ECF75C7ED26@mac-pro.magehandbook.com>
References:  <C3447024DA2BEB7DA3063584@mac-pro.magehandbook.com> <20110529040800.GA44286@sysmon.tcworks.net> <4DE1EDD8.5050003@FreeBSD.org> <BANLkTim7U0d_oJB9P41OTgjPH5-gi7OxbA@mail.gmail.com> <3E1EB5E79BD1A6B775EB8387@mac-pro.magehandbook.com> <EFBFDB477257923A044CD905@mac-pro.magehandbook.com> <BANLkTimnu2r31Uo9aUHkS9esqEr1Rk61kQ@mail.gmail.com> <1D3AFD591C1E756AFAE43572@mac-pro.magehandbook.com> <BANLkTinkHSB2%2Be7tZpjPKJSwhHQcQGFvqA@mail.gmail.com> <0D1F1853C6DE2ECF75C7ED26@mac-pro.magehandbook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



-- 
George Kontostanos
aisecure.net <http://www.aisecure.net>;



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