Date: Tue, 21 Jan 2014 15:18:25 +0400 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Andriy Gapon <avg@FreeBSD.org>, Thomas Hoffmann <trh411@gmail.com>, freebsd-current <freebsd-current@FreeBSD.org> Subject: Re: Problem updating bootcode on ZFS on root system with MBR Message-ID: <52DE5781.7090600@yandex.ru> In-Reply-To: <52DE4FD0.5030409@FreeBSD.org> References: <CAB7-odnL13m-Pnf3R6YvidVx3ycHt7F%2BKk5TW2K9CjzYWy5evA@mail.gmail.com> <52DE3F6B.6050209@yandex.ru> <52DE4FD0.5030409@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21.01.2014 14:45, Andriy Gapon wrote: >>> What do I need to do to get the boot2 code written to /dev/ada0s1a? >> >> This will work only if ada0s1a isn't in use. The debugflags trick works >> only for whole disk, i.e. for geoms with rank=1. Another way is >> calculate needed offset and write bootcode directly to ada0. > > > And ultimately we should extend our ZFS interface with an ioctl to write a blob > to a boot code area of a specified ZFS leaf vdev. This would the right way to > install zfsboot. Hi Andriy, do you have some patches to test? :-) -- WBR, Andrey V. Elsukov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52DE5781.7090600>