• [gentoo-user] Installing grub2 in ext4 partition

    From Grant Edwards@21:1/5 to All on Thu Feb 16 22:10:01 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Edwards@21:1/5 to Grant Edwards on Thu Feb 16 22:30:01 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)