gpart bootcode and /boot/boot

Andriy Gapon avg at
Thu Feb 26 08:41:45 PST 2009

on 22/01/2009 21:00 Andriy Gapon said the following:
> Sorry for being lazy - what is "gpart bootcode" equivalent of bsdlabel
> -B [-b boot] ?

Marcel, guys, I am still curious.

disklabel -B refuses do to anything because of what it thinks is incorrect
partition info.

And the following command gets "Operation not permitted" when it opens ad6s1 for
gpart bootcode -p /boot/boot -i 1 ad6

This is amd64, stable/7, gpart-only kernel (gpart_mbr, gpart_bsd).

Andriy Gapon

More information about the freebsd-geom mailing list