[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to build and install grub2-efi on a freebsd 12 machine
From: |
Andrei Borzenkov |
Subject: |
Re: How to build and install grub2-efi on a freebsd 12 machine |
Date: |
Fri, 11 Jun 2021 20:32:20 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 11.06.2021 10:32, ruchir bharadwaj wrote:
> Hello,
>
> I am trying to install GRUB2 on a freebsd-12 machine however port for the
> same have been discontinued
>
> (https://www.freshports.org/sysutils/grub2-efi)
>
> So I decided to download the tar and install it on a freebsd12 machine.
>
> * I got the tarball from here
>
> wget https://ftp.gnu.org/gnu/grub/grub-2.06.tar.gz
>
>
> * I ran configure command, .i.e.
>
>
>
> cd grub-2.0
>
> sh ./configure
>
> it gives me message like
>
> *******************************************************
> GRUB2 will be compiled with following components:
> Platform: i386-pc
> With devmapper support: No (need libdevmapper header)
> With memory debugging: No
> With disk cache statistics: No
> With boot time statistics: No
> efiemu runtime: Yes
> grub-mkfont: No (need freetype2 library)
> grub-mount: No (need FUSE library)
> starfield theme: No (No build-time grub-mkfont)
> With libzfs support: Yes
> Build-time grub-mkfont: No (need freetype2 library)
> Without unifont (no build-time grub-mkfont)
> With liblzma from -llzma (support for XZ-compressed mips images)
> With stack smashing protector: No
> *******************************************************
>
> however my intention is to build it for a amd-64 freebsd12 machine with
> UEFI. however I could find the necessary switches for the same.
>
./configure --with-platform=efi
>
> I tried to search on internet however I could not find any reference for
> installing GRUB2-efi on a freebsd12 machine.
>
configure script is the same everywhere.