Mailinglist Archive: opensuse (1470 mails)

< Previous Next >
Re: [opensuse] building a 32 bits efi file for leap
  • From: Andrei Borzenkov <arvidjaar@xxxxxxxxx>
  • Date: Wed, 24 Feb 2016 12:15:57 +0300
  • Message-id: <CAA91j0WCyWgesjeArDEqG3zzwqPxEoD4X0kkfU=C6Mm5FkRk5A@mail.gmail.com>
On Wed, Feb 24, 2016 at 12:00 PM, jdd <jdd@xxxxxxxxx> wrote:
Le 24/02/2016 09:40, Andrei Borzenkov a écrit :

Install DVD is using pre-built image from grub2 RPM; just take it from
grub2-i386-efi package (/usr/lib/efi/grub.efi)

install fails for Leap -I only find a beta version on obs and none in yast:

https://software.opensuse.org/package/grub2-i386-efi?search_term=grub2-i386-efi

I'm downloading the rpm now, but what vI have is only 1.1ko large, not to be
a rpm. I don't have this repo on Leap

reason why I wanted to know is this file is specific to an install or
general :-(


Oh, so it appears that package built on x86_64 does not include
pre-built grub.efi. And there are no (published) 32 bit packages for
Leap. How weird ...

Well, if you want to use exactly the same version as in Leap, you
could install grub2-i386-efi on Leap (yes, it *is* available there in
standard repository) and build grub.efi yourself following grub2.spec:

FS_MODULES="ext2 btrfs ext2 xfs jfs reiserfs"
CD_MODULES=" all_video boot cat chain configfile echo \
efinet font gfxmenu gfxterm gzio halt iso9660 \
jpeg minicmd normal part_apple part_msdos part_gpt \
password_pbkdf2 png reboot search search_fs_uuid \
search_fs_file search_label sleep test video fat loadenv"
PXE_MODULES="efinet tftp"
CRYPTO_MODULES="luks gcry_rijndael gcry_sha1"

CD_MODULES="${CD_MODULES} linux linuxefi"

GRUB_MODULES="${CD_MODULES} ${FS_MODULES} ${PXE_MODULES}
${CRYPTO_MODULES} mdraid09 mdraid1x lvm"
./grub-mkimage -O i386-efi -o grub.efi --prefix= ${GRUB_MODULES}

You get (almost) the same binary as is on installation DVD.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References