[coreboot] GRUB boot menu is not showing GRUB2

Zoran Stojsavljevic zoran.stojsavljevic at gmail.com
Thu Jun 8 00:21:47 CEST 2017


Hello Mariusz,

> Try adding below lines on top of your grub.cfg:

Are you talking about this file: /etc/default/grub ?

This is what I have on my Fedora 26 VM (CLI transcript follows):

*[root at localhost grub.d]# cd /etc/default*
*[root at localhost default]# ls -al*
*total 28*
*drwxr-xr-x.   2 root root  4096 Jun  7 06:24 .*
*drwxr-xr-x. 160 root root 12288 Jun  7 23:52 ..*
*-rw-rw-r--.   1 root root   262 May 14 19:54 grub*
*-rw-r--r--.   1 root root  1756 Jun  5 16:10 nss*
*-rw-r--r--.   1 root root   119 Feb 12 01:42 useradd*
*[root at localhost default]# cat grub*
*GRUB_TIMEOUT=5*
*GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"*
*GRUB_DEFAULT=saved*
*GRUB_DISABLE_SUBMENU=true*
*GRUB_TERMINAL_OUTPUT="console"*
*GRUB_CMDLINE_LINUX="rd.lvm.lv <http://rd.lvm.lv>=fedora/root rd.lvm.lv
<http://rd.lvm.lv>=fedora/swap rhgb quiet"*
*GRUB_DISABLE_RECOVERY="true"*
*[root at localhost default]# pwd*
*/etc/default*

In such a case, which is, I think, one Politically Correct, the following
must be done:
[1] Whenever I modify */etc/defualt/grub*, I run *grub2-mkconfig -o
/boot/grub2/grub.cfg* ;
[2] Rebuild Coreboot!

Hello Dhanasekar,

What is the content of your */etc/default/grub ?*

Should be the following (or similar):

*GRUB_TIMEOUT=5*
*GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"*
*GRUB_DEFAULT=saved*
*GRUB_TERMINAL="serial"*
*GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=1 --word=8 --parity=no
--stop=1"*
*GRUB_TERMINAL_INPUT="serial"*
*GRUB_TERMINAL_OUTPUT="serial"*
*GRUB_CMDLINE_LINUX="rd.lvm.lv <http://rd.lvm.lv>=fedora/root rd.lvm.lv
<http://rd.lvm.lv>=fedora/swap"*
*GRUB_DISABLE_RECOVERY="true"*

Zoran

On Wed, Jun 7, 2017 at 5:36 PM, Mariusz via coreboot <coreboot at coreboot.org>
wrote:

> Hi Dhanasekar,
>
> Try adding below lines on top of your grub.cfg:
>
> serial --unit=1 --speed=115200 --word=8 --parity=no --stop=1
> terminal_input serial
> terminal_output serial
>
> Then rebuild coreboot and try.
> Or try with grub.cfg containing only above three lines (you should get
> working grub shell)
>
> Mariusz
>
>
> W dniu 07.06.2017 o 15:38, Dhanasekar Jaganathan pisze:
>
>> Hi Nico,
>>
>> Following is my complete Payload setting,
>>
>> 1.Add a payload -> (GRUB2)
>> 2.GRUB2 version -> (HEAD)
>> 3.Include GRUB2 runtime config file into ROM image = Y
>> 4.Gave the path of grub.cfg (which I copied from Fedora OS when booted is
>> booted with other BIOS vendor).
>>
>> Based on this, please provide your comments.
>>
>> Thanks,
>> Dhanasekar
>>
>
>
> --
> coreboot mailing list: coreboot at coreboot.org
> https://mail.coreboot.org/mailman/listinfo/coreboot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170608/6ef9c6b9/attachment.html>


More information about the coreboot mailing list