public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: OFF TOPIC Need Ubuntu network help
Date: Wed, 18 Oct 2023 17:27:28 -0500	[thread overview]
Message-ID: <48ea62a7-962e-feb5-218b-b08d73b645ab@gmail.com> (raw)
In-Reply-To: <ugphe3$cj8$1@ciao.gmane.io>

Grant Edwards wrote:
> 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
>

I used cgdisk and GPT for my disk even tho it is small, only 300GBs or
so, mostly out of habit.  The grub install failed and I did a search.  I
found this and it worked. 



grub-install fails with "grub-install: warning: this GPT partition label
contains no BIOS Boot Partition; embedding won't be possible."  Using
parted command.

# parted /dev/sda
# set 1 boot off
# set 1 bios_grub on
# q

# then install grub.  This happens on drives where GPT is used instead
of MBR.



This may be something you want to make note of.  I guess it changes the
way grub sees it or something.  Anyway, it worked fine after that so may
be worth making a note of in case one of you ever needs it. 

Dale

:-)  :-) 

P. S.  My off topic Ubuntu thread is covering a lot of strange things. 
LOL 


  reply	other threads:[~2023-10-18 22:27 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
2023-10-18 22:27                                         ` Dale [this message]
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=48ea62a7-962e-feb5-218b-b08d73b645ab@gmail.com \
    --to=rdalek1967@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