tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GPT attributes in dkwedge [PATCH]



On Fri, Sep 15, 2023 at 05:25:51PM +0200, Martin Husemann wrote:
> Something groks enough raidframe to find a GPT partition inside a raidframe
> and can load the kernel from there, but it can't pass any usable information
> to that kernel how it was loaded (and from where), without our bootloader
> being involved?

Native NetBSD booloader could do that, with the addition of a bootinfo
field with LBA offset and size for the partition from where the kernel was
loaded.

A multiboot bootloader cannot, because all the information that is passed
is about partition numbers. There is no way of specifying a LBA offset, 
hence the setup where you have a GPT inside raidframe seems impossible
to support.

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index