Re: /stand/i386/boot0/boot0.S and other boot files under i386

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 29 Jul 2024 19:25:50 UTC
boot0.S is only for MBR. And really only loading the boot blocks from the
start of a partition.
pmbr.S is for GPT. It loads the freebsd-boot partition for the next stage.

I'm biased against breaking compatibility generally, but might make an
exception for a specific thing.

What were you going to break? A lot depends on that...

Warner

On Mon, Jul 29, 2024 at 12:58 PM Bryce <678yym@gmail.com> wrote:

> Hello, list
>
> Ive been looking at boots.S and found some things that could use
> improvement. I've changed a few things around here and there, but so far
> have not broken compatibility in terms of appearance and interaction.
>
> How would the list feel about breaking compatibility? Would you all find
> it acceptable if I was able to add features like booting from a logical
> partition and adding error checking capabilities for the MBR (and thus the
> ability to discern a GPT from MBR drive)?
>
> Last time there were any major changes seems to have been 20 years ago,
> what does the list think?
>