From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: OFF TOPIC Need Ubuntu network help: boot loader info
Date: Thu, 19 Oct 2023 09:40:05 +0100 [thread overview]
Message-ID: <8327681.NyiUUSuA9g@rogueboard> (raw)
In-Reply-To: <21ad1989-913f-893d-8cb9-b5537100668a@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3476 bytes --]
On Thursday, 19 October 2023 05:49:25 BST Dale wrote:
> Neil Bothwick wrote:
> > On Wed, 18 Oct 2023 17:27:28 -0500, Dale wrote:
> >> 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."
If you are booting a BIOS MoBo, or an EFI MoBo in 'BIOS Legacy' mode, from a
disk which contains a GPT partitioning scheme, then you will need a separate
partition created as type 'BIOS Boot Partition' for GRUB to install its
core.img:
GRUB's Stage 1 boot.img is still installed in sector 0 on a GPT disk, same as
on a disk with an MBR partition table. However, on a GPT disk GRUB's Stage
1.5 core.img with all its filesystem drivers has to be installed in a
partition of its own, because unlike an MBR disk sectors 1 to 62 are not empty
but contain the GPT header and the GPT partition list. Without its filesystem
drivers GRUB won't be able to access its modules in its Stage 2 filesystem,
which is stored in the OS /boot/ partition, or its grubx64.efi UEFI
executable.
It helps to get straight before you start an installation what combo of MoBo
and type of disk partition tables you intend to use:
BIOS Vs EFI
MBR Vs GPT
> > Simple answer, don't use GRUB :-)
> >
> > Seriously, GRUB is a bootloader, EFI is a bootloader. You are using one
> > bootloader to load another bootloader before booting the system.
> >
> > rEFIind and systemd-boot are both boot managers, they work with the EFI
> > bootloader - or you can boot a kernel directly without a boot manager,
> > but I prefer not to do that as it gives no opportunity to edit options
> > when booting.
I like rEFIind, but I recall it needs/needed a separate /boot partition if you
are running LVM/RAID.
> > If you like simple, here is a config file I use with systemd-boot
> >
> > version 6.1.57-gentoo
> > linux /vmlinuz-6.1.57-gentoo
> > options root=/dev/sda3 panic=10 net.ifnames=0 i915.enable_ips=0
> >
> > That's it! There is a separate file for each menu entry, but they are
> > this simple. There's also a global loader.conf, that runs to a massive 2
> > lines here!
>
> Right now, I'm still using BIOS type boot. I've read where you and a
> couple others use something else and they do sound good but I just
> haven't got the nerve up to switch. When I build a new rig, I'll likely
> get into some other boot manager. In a way I kinda dread it but on the
> other hand, I just might like it. You and several others make the other
> options sound really good.
>
> That config kinda reminds me of the old grub. A title line, location of
> kernel and then options. Sounds easy enough. The new grub config is
> almost impossible to config by hand. They had to make a tool to do it.
> That says a lot there. ;-)
Not really, the GRUB developers were trying to make maintaining a boot manager
simpler by scripting the process and offering to hook it up from binary
distros' kernel install scripts. Anyway, you can still write the
configuration by hand if you follow the GRUB2 syntax. You do not need to run
GRUB's grub-mkconfig script to automatically update the grub.cfg file if you
prefer to do it manually, but it is certainly simpler to use it since it is
already there for you.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2023-10-19 8:40 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
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 [this message]
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=8327681.NyiUUSuA9g@rogueboard \
--to=confabulate@kintzios.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