public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: OFF TOPIC Need Ubuntu network help
Date: Wed, 18 Oct 2023 21:07:15 -0000 (UTC)	[thread overview]
Message-ID: <ugphe3$cj8$1@ciao.gmane.io> (raw)
In-Reply-To: 2647385.k3LOHGUjKi@rogueboard

On 2023-10-18, Michael <confabulate@kintzios.com> wrote:
>
>> The protective MBR and the BIOS boot partition are two different,
>> unrelated things. The BIOS boot partition is a real partition (usually
>> 1-2MB in size) that's present in the GPT parition table. It's used by
>> Grub as a place to store its files.
>
> Yes, this is needed on GPT disks when installed on BIOS MoBos.

There is a way to install Grub on GPT disks without it, but it takes
extra work and isn't worth it. You have to lock certain files in place
under /boot/grub so that block-lists can be embedded in sector 0.

All of the disk label utilities I've seen recently will, by default,
leave a sizable empty space between the primary GPT table and the
start of the first partition (which typically starts at a 1MB offset
from the start of the disk).  I've never understood why Grub won't use
that space they way it will use the empty space between an MBR and the
first partition.

>> It must be the first partition, and it doesn't have a real
>> filesystem (grub uses some sort of private filesystem):
>
> I'm not sure it uses any filesystem.  I understood it uses a raw sector jump 
> from the MBR to the GPT partition type 0xEE.

I've read a couple vague but differing descriptions of it. One
description specifically referred to "files" (plural) and some sort of
grub-private-internal filesystem.  However, it could be that it's
nothing but a single "file" starting at block 0 in that partition.
Whatever it is, it seems to be "opaque" in that Grub puts stuff in
that partition, Grub later uses that stuff, and nobody else needs to
know or care what it is or how it's organized. I haven't looked
through the Grub source code to try to see inside the black box...

--
Grant





  reply	other threads:[~2023-10-18 21:07 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-16  7:51 [gentoo-user] OFF TOPIC Need Ubuntu network help Dale
2023-10-16  8:01 ` Wols Lists
2023-10-16  8:28   ` Dale
2023-10-16  9:15     ` Tsukasa Mcp_Reznor
2023-10-16 10:24       ` Michael
2023-10-16 16:56         ` Dale
2023-10-16 18:17           ` Neil Bothwick
2023-10-16 18:26           ` Mark Knecht
2023-10-17  0:34             ` Dale
2023-10-17  7:23               ` Neil Bothwick
2023-10-17 16:41                 ` Dale
2023-10-17 17:50                   ` Mark Knecht
2023-10-17 18:07                     ` Dale
2023-10-17 18:24                       ` [gentoo-user] " Grant Edwards
2023-10-17 18:54                         ` Dale
2023-10-17 19:44                           ` Neil Bothwick
2023-10-18  2:50                             ` Dale
2023-10-18  7:36                               ` Neil Bothwick
2023-10-18  9:23                                 ` Michael
2023-10-18 13:57                                   ` Grant Edwards
2023-10-18 17:49                                     ` Dale
2023-10-18 18:40                                       ` Neil Bothwick
2023-10-18 23:24                                         ` Dale
2023-10-19 11:54                                           ` Neil Bothwick
2023-10-19 16:24                                             ` Dale
2023-10-18 18:38                                     ` Michael
2023-10-18 21:07                                       ` Grant Edwards [this message]
2023-10-18 22:27                                         ` Dale
2023-10-18 23:06                                           ` Neil Bothwick
2023-10-19  4:49                                             ` [gentoo-user] Re: OFF TOPIC Need Ubuntu network help: boot loader info Dale
2023-10-19  8:40                                               ` Michael
2023-10-19 14:45                                                 ` Dale
2023-10-19 15:38                                                   ` Neil Bothwick
2023-10-19 19:47                                                     ` Dale
2023-10-19 11:55                                               ` Neil Bothwick
2023-10-19 11:59                                                 ` Neil Bothwick
2023-10-19 15:09                                                   ` Peter Humphrey
2023-10-29 11:23                                                 ` Wols Lists
2023-10-19 16:43                                               ` Laurence Perkins
2023-10-19 19:38                                               ` Grant Edwards
2023-10-19 11:47                                             ` [gentoo-user] Re: OFF TOPIC Need Ubuntu network help Peter Humphrey
2023-10-18 17:45                                   ` Neil Bothwick
2023-10-18 18:41                                     ` Michael
2023-10-17 19:35                       ` [gentoo-user] " Mark Knecht
2023-10-17 21:46                         ` Dale
2023-10-17 22:22                           ` Mark Knecht
2023-10-17 22:31                             ` Dale
2023-10-18  3:15                             ` [gentoo-user] " Grant Edwards
2023-10-18  7:39                               ` Neil Bothwick
2023-10-18 14:25                               ` Rich Freeman
2023-10-18 14:40                                 ` Grant Edwards
2023-10-18 17:54                                 ` Dale
2023-10-17 19:47                   ` [gentoo-user] " Neil Bothwick
2023-10-17 21:52                     ` Dale
2023-10-18  8:23                       ` Dale
2023-10-18 11:56                   ` [OT] " Peter Humphrey
2023-10-18 18:54                     ` Dale
2023-10-16 18:15     ` Neil Bothwick
2023-10-16 14:23 ` Mark Knecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ugphe3$cj8$1@ciao.gmane.io' \
    --to=grant.b.edwards@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox