Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2011 13:04:20 -0400
From:      Daniel Staal <DStaal@usa.net>
To:        freebsd-current@freebsd.org
Subject:   Re: ZFS install from -CURRENT snapshot
Message-ID:  <23E3DA9AC3C53247AB75359E@mac-pro.magehandbook.com>
In-Reply-To: <BANLkTikbmJRYzkCf8W3SpADEfZeOji-K6g@mail.gmail.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> <BANLkTikbmJRYzkCf8W3SpADEfZeOji-K6g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--As of May 30, 2011 6:47:32 PM +0300, George Kontostanos is alleged to 
have said:

> 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

--As for the rest, it is mine.

I said that was my preferred partitioning.  I had tried others.  ;)  I just 
double-checked putting the bootcode on ada0.  It doesn't help.

(Note that if it did that'd be an interesting regression from 8.2.  My home 
server is running with *only* the bootcode on one drive, and the OS loaded 
from a ZFS RAIDZ array.)

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.
---------------------------------------------------------------



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