Re: Problem updating bootcode on ZFS on root system with MBR

From: Andrey V. Elsukov <bu7cher_at_yandex.ru>
Date: Tue, 21 Jan 2014 15:18:25 +0400
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
Received on Tue Jan 21 2014 - 10:19:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC