public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Installing grub2 in ext4 partition
@ 2023-02-16 21:04 Grant Edwards
  2023-02-16 21:20 ` [gentoo-user] " Grant Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Edwards @ 2023-02-16 21:04 UTC (permalink / raw
  To: gentoo-user

A while back, I stumbled across a web page or blog entry that
explained how to safely use grub2 with it installed in a partition
instead of a device (e.g. grub is installed in /dev/sda10 instead of
/dev/sda).

IIRC, it involved locking a couple key files in the /boot/grub
directory so that they can't be moved or modified. This is required
because the grub code installed in the boot sector of the partition
uses a raw block list to find those key files (grub doesn't actually
understand the filesystem at that point).

I thought I had saved that info, but now I need it I can't find
it — and Google is unable to find the page again (perhaps it's gone).

Does this ring a bell with anybody?

--
Grant




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-user] Re: Installing grub2 in ext4 partition
  2023-02-16 21:04 [gentoo-user] Installing grub2 in ext4 partition Grant Edwards
@ 2023-02-16 21:20 ` Grant Edwards
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2023-02-16 21:20 UTC (permalink / raw
  To: gentoo-user

On 2023-02-16, Grant Edwards <grant.b.edwards@gmail.com> wrote:

> A while back, I stumbled across a web page or blog entry that
> explained how to safely use grub2 with it installed in a partition
> instead of a device (e.g. grub is installed in /dev/sda10 instead of
> /dev/sda).

And of course 20 minutes after I posted this I managed to find it:

  https://github.com/alberthdev/alberthdev-misc/wiki/Installing-GRUB2-to-a-Partition




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-16 21:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-16 21:04 [gentoo-user] Installing grub2 in ext4 partition Grant Edwards
2023-02-16 21:20 ` [gentoo-user] " Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox