Problem updating bootcode on ZFS on root system with MBR

Andrey V. Elsukov bu7cher at yandex.ru
Tue Jan 21 11:19:19 UTC 2014


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


More information about the freebsd-current mailing list