| Summary: | Adding font and background support | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Zoran Pericic <zpericic> | ||||
| Component: | grub2 | Assignee: | Peter Jones <pjones> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | c719711, dennis, frankly3d, hedayatv, hvtaifwkbgefbaei, lkundrak, mads, piskozub, pjones, sergio | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-04-30 22:25:50 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Zoran Pericic
2011-07-15 01:48:16 UTC
Created attachment 513305 [details]
Patch for f14-f15 branches
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Zoran: The patch seems to be mangled somehow. Could you upload an updated version? hi , I saw this patch and we don't have /boot/grub2/backgrounds/grub.png for Fedora 16 ? so we don't have background image in grub2 ? thanks, AFAIK, the Grub2 in Fedora 16 already supports font and background, so I think what we need is to add corresponding options/files in grub2 package and probably requesting a custom background for Grub 2 (sine legacy grub's support was very limited, it is not possible to use high quality backgrounds). Thanks to http://ask.fedoraproject.org/question/74/vga0x307-is-deprecated-but-cant-get-gfxmode-to I'm currently using Fedora's own background with the following options: GRUB_GFXMODE=1024X768x32 GRUB_GFXPAYLOAD_LINUX=keep GRUB_BACKGROUND=/usr/share/backgrounds/verne/default/normalish/verne.png Note: as given in the above link, a font file should be also added to grub2. Also, since grub 2 now supports themes, it would be great if a Fedora grub theme is designed...:D (In reply to comment #5) > AFAIK, the Grub2 in Fedora 16 already supports font and background, so I think > what we need is to add corresponding options/files in grub2 package and > probably requesting a custom background for Grub 2 (sine legacy grub's support > was very limited, it is not possible to use high quality backgrounds). > Thanks to > http://ask.fedoraproject.org/question/74/vga0x307-is-deprecated-but-cant-get-gfxmode-to > I'm currently using Fedora's own background with the following options: > > GRUB_GFXMODE=1024X768x32 > GRUB_GFXPAYLOAD_LINUX=keep > GRUB_BACKGROUND=/usr/share/backgrounds/verne/default/normalish/verne.png > > Note: as given in the above link, a font file should be also added to grub2. Trying to get a bg for this: Is /etc/grub.d/05_debian* required? http://www.dedoimedo.com/computers/grub-2.html#mozTocId930378 Currently have: # GRUB_GFXPAYLOAD_LINUX=keep GRUB_GFXMODE=1024X768 GRUB_BACKGROUND=/usr/share/backgrounds/default.png No, not at all. You just need to use appropriate settings and also create a font file using grub2-mkfont as described. Also, use small 'x' for the resolution part: 1024x768 rather than 1024X768 (I've used big X in above mistakenly). Using the correct settings, you should be able to get a graphical Grub2 after running grub2-mkconfig -o /boot/grub2/grub.cfg It'd be great if it is fixed for Fedora 17 and it comes with a colorful grub. A proper graphical boot requires a font ... and Fedora doesn't have the default font and will place fonts in a place where grub doesn't look. http://www.mail-archive.com/grub-devel@gnu.org/msg18492.html will add the necessary knobs upstream. *** Bug 814421 has been marked as a duplicate of this bug. *** grub2-2.0-0.24.beta4.fc17 has been pushed to f17 stable and upstreams way of doing it now work. The patch offered here is thus not relevant. so it is fixed upstream ! grub2-2.0-0.25.beta4: - missing line in /etc/default/grub (grub.default): GRUB_THEME=/boot/grub2/themes/system/theme.txt - the theme makes the menu be slooooww - and add fedora-logos-17.0.2-1 to "Requires:" in spec file. |