From owner-freebsd-current@FreeBSD.ORG Fri Dec 27 15:28:08 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6E378F5; Fri, 27 Dec 2013 15:28:08 +0000 (UTC) Received: from mail-vb0-x22b.google.com (mail-vb0-x22b.google.com [IPv6:2607:f8b0:400c:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 68B0C1763; Fri, 27 Dec 2013 15:28:08 +0000 (UTC) Received: by mail-vb0-f43.google.com with SMTP id p6so4835878vbe.16 for ; Fri, 27 Dec 2013 07:28:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EjJObPmJ3va9nR2RQ+nEzSLcsW98FpqXy73xHDAtZj4=; b=bDPr2KkCi7a14ciWFaQQH6Bwyc6brh451eTiU2vRqfVVp3l9+jNZlGU790q9Ev/Obp pVIpFHR8tMYhmfGrbeg9Q+cZLmyHaiu1L+hAaqaabpwa3RVq0myv2pIxkkGPxoe4vwf4 wVBHItDCeNl0884Eiab+UnS74s8zn/F2AnJrTj9VRnwSje5SErEQ4JK+M98owjtPu0fh 0XJlcqQ/7UyDNozd+EF/BOdmarIogSNBnDMjsbzuWkE80fqQFsTaa4/v/z5tfuk4tlju zW/b/4R2XZ4l5YCnVZb5iK73G+wKzNAekmauVQF5N2WuRp7xwicH6sakgn667rpQuwEb vsNA== MIME-Version: 1.0 X-Received: by 10.220.168.65 with SMTP id t1mr3235924vcy.76.1388158087491; Fri, 27 Dec 2013 07:28:07 -0800 (PST) Received: by 10.58.165.2 with HTTP; Fri, 27 Dec 2013 07:28:07 -0800 (PST) In-Reply-To: <2F6DABD655B7C3230EC0F15D@ogg.in.absolight.net> References: <20131226162521.GK2009@glenbarber.us> <20131226212158.GD13109@glenbarber.us> <2F6DABD655B7C3230EC0F15D@ogg.in.absolight.net> Date: Fri, 27 Dec 2013 10:28:07 -0500 Message-ID: Subject: Re: FreeBSD 10.0-RC3 Now Available From: Thomas Hoffmann To: Mathieu Arnold Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-current , freebsd-stable@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 15:28:08 -0000 All the examples I've seen for updating bootcode assume GPT. If one has MBR (as I do) and assuming the following basic scheme: gpart show ada0 =3D> 63 976773105 ada0 MBR (466G) 63 976773105 1 freebsd [active] (466G) gpart show ada0s1 =3D> 0 976773105 ada0s1 BSD (466G) 0 943218736 1 freebsd-zfs (450G) 943218736 33554369 2 freebsd-swap (16G) would the equivalent bootcode statement be: gpart bootcode -b /boot/pmbr -p /boot/zfsboot ada0s1 where the boot code is /boot/zfsboot (rather than /boot/gptzfsboot) and ada0s1 is the slice on which FreeBSD is installed? Thanks. On Fri, Dec 27, 2013 at 9:33 AM, Mathieu Arnold wrote: > +--On 27 d=E9cembre 2013 12:26:49 +0100 Zenny wrot= e: > | On 12/27/13, Mathieu Arnold wrote: > |> +--On 27 d=E9cembre 2013 00:42:36 +0100 Zenny > |> wrote: > |> | Much awaited release, thanks!. However, does the freebsd-update from > |> | the earlier version bork in case of ZFS on Root? Or is there a safe > |> | way to upgrade without borking. I had a very bad experience when I > |> | upgraded from FreeBSD-10B3 to RC1. Thanks! > |> > |> I upgraded from 9.2 to 10.0-RC1, 10.0-RC2 and 10.0-RC3 with > |> freebsd-update using zfs only boxes, never had any problem. The only > |> thing is, if you run zpool upgrade, do remember to do what it tells yo= u > |> about updating the bootcode. > |> > | > | In my case, I didn't receive any instructions to update the bootcode > | and the bug was acknowledged by the developer. > | > | However, can you tell me exactly what did you do exactly to update the > | bootcode? Appreciate it! > > Well, when you run : > # zpool upgrade yourpool > > it will not print a lot of things, but it will end with : > > If you boot from pool 'yourpool', don't forget to update boot code. > Assuming you use GPT partitioning and da0 is your boot disk > the following command will do it: > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 > > All you have to do is adapt it to run your particular setup, replacing da= 0 > with the correct disk (and running it for each disk where your pool is, i= n > my case, it was mfid0 and mfid1.) > > -- > Mathieu Arnold > _______________________________________________ > 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= "