Date: Fri, 27 Dec 2013 10:28:07 -0500 From: Thomas Hoffmann <trh411@gmail.com> To: Mathieu Arnold <mat@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org>, freebsd-stable@freebsd.org Subject: Re: FreeBSD 10.0-RC3 Now Available Message-ID: <CAB7-odmH-b=%2B_-BwF1jt7EMdTxpK-P%2Bw%2Bp6Ce9-k7mRvXpLzog@mail.gmail.com> In-Reply-To: <2F6DABD655B7C3230EC0F15D@ogg.in.absolight.net> References: <20131226162521.GK2009@glenbarber.us> <CA%2BWntOt26JXT3Bh8ccSM-fQ726c2Hy3F06n2iDbu3pLBXjn-AA@mail.gmail.com> <20131226212158.GD13109@glenbarber.us> <CACuV5sCjjsjFK9AjJ7saRPpDktwxf1rd6a-M2FKXXYf-EaBy2w@mail.gmail.com> <BCB09816844D0B52B1EFE964@atuin.in.mat.cc> <CACuV5sD2Cw=iZ=uE8BjcV6j8-Bc8ppChQ=ZPKZ7uFTXQLmhCxQ@mail.gmail.com> <2F6DABD655B7C3230EC0F15D@ogg.in.absolight.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mat@freebsd.org> wrote: > +--On 27 d=E9cembre 2013 12:26:49 +0100 Zenny <garbytrash@gmail.com> wrot= e: > | On 12/27/13, Mathieu Arnold <mat@freebsd.org> wrote: > |> +--On 27 d=E9cembre 2013 00:42:36 +0100 Zenny <garbytrash@gmail.com> > |> 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= "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB7-odmH-b=%2B_-BwF1jt7EMdTxpK-P%2Bw%2Bp6Ce9-k7mRvXpLzog>