Date: Fri, 6 Sep 2019 15:58:34 +0200 From: Polytropon <freebsd@edvax.de> To: Julien Cigar <julien@perdition.city> Cc: freebsd-questions@freebsd.org Subject: Re: gpart bootcode for MBR + ZFS? Message-ID: <20190906155834.685b57a2.freebsd@edvax.de> In-Reply-To: <20190906115531.GI38457@home.lan> References: <20190906100649.GH38457@home.lan> <20190906115531.GI38457@home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190906155834.685b57a2.freebsd>