• Re: How to combine package grub-efi-amd64 with grub-efi-ia32 and grub-p

    From Dan Ritter@21:1/5 to Thomas Schmitt on Wed May 28 21:10:02 2025
    Thomas Schmitt wrote:
    Hi,

    i am trying to reproduce a problem of grub-mkrescue. For that i need
    the directories
    /usr/lib/grub/i386-pc
    /usr/lib/grub/i386-efi
    alongside the already installed
    /usr/lib/grub/x86_64-efi
    in order to get an ISO for legacy BIOS and EFI together.
    Gentoo and Arch obviously can have this. I'm on Debian 12 (stable).

    My first idea was to just run apt-get "install" for "grub-pc" and "grub-efi-ia32".
    But
    dpkg -s grub-efi-amd64
    says:
    Conflicts: elilo, grub, grub-coreboot, grub-efi-ia32, grub-ieee1275, grub-legacy, grub-pc, grub-xen
    Possibly they would try to change my GRUB bootloader, which i don't
    want to do. I just need the directories with the files for the ISO.


    Would downloading the deb packages, then un-ar'ing them in a tmp dir
    get you most of what you want? The rest might need examination of the
    install scripts.

    -dsr-

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Steve McIntyre@21:1/5 to Thomas on Thu May 29 12:40:01 2025
    Thomas wrote:

    i am trying to reproduce a problem of grub-mkrescue. For that i need
    the directories
    /usr/lib/grub/i386-pc
    /usr/lib/grub/i386-efi
    alongside the already installed
    /usr/lib/grub/x86_64-efi
    in order to get an ISO for legacy BIOS and EFI together.
    Gentoo and Arch obviously can have this. I'm on Debian 12 (stable).

    My first idea was to just run apt-get "install" for "grub-pc" and >"grub-efi-ia32".
    But
    dpkg -s grub-efi-amd64
    says:
    Conflicts: elilo, grub, grub-coreboot, grub-efi-ia32, grub-ieee1275, grub-legacy, grub-pc, grub-xen
    Possibly they would try to change my GRUB bootloader, which i don't
    want to do. I just need the directories with the files for the ISO.


    Would it be ok to install "grub-pc-bin" and "grub-efi-ia32-bin" ?

    Yes. That's exactly the design of the packaging here: the -bin
    packages contain the binary grub code that you're looking for, and
    grub-pc and grub-efi-$arch do the configuration to use one of those
    binaries to make your system bootable.

    --
    Steve McIntyre, Cambridge, UK. steve@einval.com Can't keep my eyes from the circling sky,
    Tongue-tied & twisted, Just an earth-bound misfit, I...

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