Bug 270576 - [NEW PORT] sysutils/grub2: Multiboot and Multiboot2 bootloader
Summary: [NEW PORT] sysutils/grub2: Multiboot and Multiboot2 bootloader
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-01 08:12 UTC by Lorenzo Torres
Modified: 2023-04-05 08:10 UTC (History)
3 users (show)

See Also:


Attachments
Diff file containing the new port (24.11 KB, patch)
2023-04-01 08:12 UTC, Lorenzo Torres
no flags Details | Diff
This is a fix for the previous patch, I've renamed the port from grub2 to grub and fixed an issue with unicode fonts, now grub should work correctly. (62.14 KB, patch)
2023-04-01 10:43 UTC, Lorenzo Torres
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Torres 2023-04-01 08:12:44 UTC
Created attachment 241241 [details]
Diff file containing the new port

GNU GRUB is a multiboot boot loader.  It was derived from GRUB, the GRand
Unified Bootloader, which was originally designed and implemented by Erich
Stefan Boleyn.

The port installs the GRUB tools and programs but it does NOT install GRUB as the current bootloader, for that, the grub-install command must be used.
Comment 1 Marek Zarychta 2023-04-01 08:41:46 UTC
Removed almost 4 years ago. Resurrecting this ports would be really appreciated and it not Aplil's Fool.
Comment 2 Lorenzo Torres 2023-04-01 10:43:30 UTC
Created attachment 241243 [details]
This is a fix for the previous patch, I've renamed the port from grub2 to grub and fixed an issue with unicode fonts, now grub should work correctly.
Comment 3 Lorenzo Torres 2023-04-01 11:58:01 UTC
So far, only efi target works so it defaults to it, I'll try to fix also the regular BIOS target and add efi as an option
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2023-04-05 08:10:04 UTC
Hi Lorenzo,

Please, could you provide one single patch instead of having to apply two patches in a row?

Thanks