From: Steve Kenton <skenton@ou.edu>
To: buildroot@busybox.net
Subject: [Buildroot] Grub2 and Splash
Date: Wed, 18 Feb 2015 10:30:10 -0600 [thread overview]
Message-ID: <54E4BE12.1090608@ou.edu> (raw)
Looking into adding a splash screen to my grub2 menu.
Cobbled together the one below using font from my build host and it works.
Trying to build unicode.pf2 with buildroot immediately ran into snag with freetype.
Finally RTFM and realized how special the grub2 build is.
Is there a reason that grub2 is not just built as a regular host package?
Steve Kenton
$ more grub.cfg
set default="0"
set timeout="3"
if loadfont /boot/grub/fonts/unicode.pf2 ; then
set gfxmode="640x480"
insmod gfxterm
insmod vbe
terminal_output gfxterm
if terminal_output gfxterm; then true ; else
terminal gfxterm
fi
fi
insmod tga
background_image /boot/grub/splash.tga
menuentry "Buildroot" {
linux /boot/bzImage root=/dev/sda1 rootfstype=ext4 console=tty1 quiet splash=si
lent
}
menuentry "Memtest86+" {
linux16 /boot/memtest86+.bin
}
next reply other threads:[~2015-02-18 16:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-18 16:30 Steve Kenton [this message]
2015-02-18 16:38 ` [Buildroot] Grub2 and Splash Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54E4BE12.1090608@ou.edu \
--to=skenton@ou.edu \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.