Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2012 15:10:59 +0100
From:      "Lucas B. Cohen" <>
Subject:   Wheres the FreeBSD PBR ? (was Re: Manually partitioning using gpart / wh)
Message-ID:  <>
In-Reply-To: <1353850537.2508.66.camel@q>
References:  <1353842774.2508.18.camel@q> <> <1353848249.2508.41.camel@q> <> <1353850537.2508.66.camel@q>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 2012.11.25 14:35, Ralf Mardorf wrote:
> I don't need it, but I could add it for what ever worst case emergency
> scenario and GRUB in the MBR anyway will work?
I don't see how it could ever come in handy, and I'm not sure it
wouldn't do any hamr either. The /boot/gptboot code to be written weighs
15kB, that could be big enough to mess up the filesystem on the
partition. That /boot/gptboot code is designed to work on a
special-purpose small GPT partition that doesn't hold a filesystem. So I
would refrain from doing it.

It would be useful for emergency purposes to write MBR-partition
scheme-compatible bootcode to that partition instead, but I've yet to
find out how to do it. gpart(8) seems to have the ability to do it, but
it's manual page doesn't mention what file to pass to its -p option to
do that. Maybe it's one of those /boot/boot1 or /boot/boot2 files I'm
seeing on my system. Maybe someone can enlighten me on that.

Want to link to this message? Use this URL: <>