Opened 5 years ago
Closed 5 years ago
#96 closed enhancement (wontfix)
Make default device and lookup path for grub.cfg configurable
| Reported by: | oxygene | Owned by: | oxygene |
|---|---|---|---|
| Priority: | minor | Milestone: | Port GRUB2 to coreboot |
| Component: | grub2 | Keywords: | |
| Cc: | Dependencies: | ||
| Patch Status: | there is no patch |
Description
By default, cbgrub2 looks for (memdisk)/grub.cfg. other defaults might be sensible, eg. (ata0,1)/boot/grub/grub.cfg. It should be possible to define this at build time, eg. configure flag
Attachments (0)
Change History (1)
comment:1 Changed 5 years ago by oxygene
- Resolution set to wontfix
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

After discussion, it was agreed that using a redirecting (memdisk)/grub.cfg is more flexible than a configure-time option.
The fix is (in the simplest case) a grub.cfg with:
configfile (yourtargetdevice)/path/to/grub.cfg
and can be as complex as necessary (using the search command or anything else grub2 provides)