[coreboot] How to start GRUB2 in graphic mode as primary payload?

G giulio at anche.no
Sun Mar 25 12:35:55 CEST 2018


Hello,
i'm trying to run GRUB2 in graphic mode as coreboot payload on a 
Thinkpad x220, attached are the relevant coreboot/grub config.

When on GRUB2 console i run 'videoinfo' it returns an empty list so i 
guess it actually doesn't start in video mode (so it also doesn't set 
the background image)
Still i can't figure out what i'm missing.


Here's the relevant grub part

set prefix=(memdisk)/boot/grub

insmod nativedisk
insmod ehci
insmod ohci
insmod uhci
insmod usb
insmod usbms
insmod chain

terminal_input --append at_keyboard
terminal_output --append cbmemc

set menu_color_normal=white/black
set menu_color_highlight=white/cyan

gfxpayload=keep
terminal_output --append gfxterm

set gfxmode=1366x768x32
load_video
insmod gfxterm

set default="0>0"
set timeout=1

set pager=1
insmod jpeg

background_image (cbfsdisk)/bg.jpg

loadfont (memdisk)/dejavusansmono.pf2

keymap usqwerty
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: grub.cfg
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20180325/b81cf12b/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: .config
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20180325/b81cf12b/attachment-0001.ksh>


More information about the coreboot mailing list