I have created mfsbsd (https://github.com/mmatuska/mfsbsd) based custom in memory OS.
I am currently facing a issue around UEFI based firmware boot up .i.e. issue somewhat related to this https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209821
Now, I am thinking if the problem is in freebsd UEFI loader can we use GRUB-2 loader in mfs ?
I was researching around it on internet. and thinking to follow this
https://unix.stackexchange.com/questions/563053/booting-mfsbsd-via-pxe-with-uefi
The GRUB-2.efi 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
*******************************************************
I tried : ./configure --with-platform=x86_64 configure: error: platform "x86_64-efi" is not supported for target CPU "i386" however intention is to build it for a amd-64 freebsd12 machine with UEFI.
however I could find the necessary switches for the same. I tried to search on internet however I could not find any reference for same
Could you help me how could I install grub2-efi on a freebsd-12 machine
Or any suggestion around this problem to solve ?
I am currently facing a issue around UEFI based firmware boot up .i.e. issue somewhat related to this https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209821
Now, I am thinking if the problem is in freebsd UEFI loader can we use GRUB-2 loader in mfs ?
I was researching around it on internet. and thinking to follow this
https://unix.stackexchange.com/questions/563053/booting-mfsbsd-via-pxe-with-uefi
The GRUB-2.efi 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
*******************************************************
I tried : ./configure --with-platform=x86_64 configure: error: platform "x86_64-efi" is not supported for target CPU "i386" however intention is to build it for a amd-64 freebsd12 machine with UEFI.
however I could find the necessary switches for the same. I tried to search on internet however I could not find any reference for same
Could you help me how could I install grub2-efi on a freebsd-12 machine
Or any suggestion around this problem to solve ?