gpart bootcode for MBR + ZFS?
freebsd at edvax.de
Fri Sep 6 13:58:50 UTC 2019
On Fri, 6 Sep 2019 13:55:31 +0200, Julien Cigar wrote:
> From what I understand I /boot/boot0 (or mbr) only provides stage 0, for
> stage 1 and stage 2 I should use:
> $> dd if=/boot/zfsboot of=/dev/ada1s1 count=1
> $> dd if=/boot/zfsboot of=/dev/ada1s1a iseek=1 oseek=1024
> However I'm getting a "Operation not permitted" even with
> kern.geom.debugflags=0x10 .. any idea?
Judging by the prompt... are you doing this as root? $ suggests
a non-root user, who of course is not permitted to write to a
disk device file directly.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions