GRUB2 changes, introducing EFI

Grzesiek gzohop at gmail.com
Sun Oct 28 20:12:29 CET 2012


W dniu 27.10.2012 22:56, Jacek Konieczny pisze:
> Hello,
>
> I wanted to boot my servers natively, from UEFI, instead of BIOS
> compatibility mode. I wanted to use GRUB for that, but found out GRUB2
> in PLD lacks EFI support.
>
> First I have updated out grub2.spec from version 1.99 to 2.00, then
> I have started adding EFI support. For that I have removed some patches
> that were moving grub installed files from /boot/grub/${platform} to /lib.
> That was IMHO wrong because:
> 1. only one platform could be installed (PC in this case, so no place
> for EFI)
> 2. the /boot partition would be cluttered with GRUB modules even if the
> GRUB bootloader was not actually installed (via grub-install).
>
> I have finally managed to boot my server from this new grub2 package,
> both in legacy BIOS mode and via UEFI, but the changes I have introduced
> could potentially break some existing installations.
>
> Anybody using GRUB2, please test the new grub2-2.00-0.1 package.
>

I'm using grub2 but some old version from RCD because new packages from 
TH won't fit into my MBR.
I have compared grub2-2.00-3 and Ubuntu grub-2.0 and almost all modules 
in PLD are bigger:

module,PLD,Ubuntu
ext2.mod,7608bytes,5784bytes
lvm.mod,6760bytes,6296bytes
msdospart,2956bytes,2412bytes

Anyone have idea why?



More information about the pld-devel-en mailing list