[coreboot] GRUB boot menu is not showing GRUB2

Dhanasekar Jaganathan jdhanasekarmca at gmail.com
Wed Jun 7 13:14:33 CEST 2017


Thanks for the info
Hi Zoran,

Sorry, I have mentioned */boot/default/grub.cfg* by mistake, instead of*
/etc/default/grub.*

Hi Mariusz, ,

Yes,.. My system booted to Fedora on second serial port (ttyS1).

I have modified  /etc/default/grub as

*GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=1 --word=8 --parity=no
--stop=1"*
*GRUB_CMDLINE_LINUX="console=tty1 console=ttyS1,115200
vconsole.font=latarcyrheb-sun16 $([ -x usr/sbin/rhcrashkernel-param ] &&
/usr/sbin/rhcr*"

Still, I am not getting boot menu.
I am working on it.

Please provide your suggestions.


Thanks,
Dhanasekar

On Wed, Jun 7, 2017 at 12:13 PM, Zoran Stojsavljevic <
zoran.stojsavljevic at gmail.com> wrote:

> And, just FC20 cot my eye???
>
> *[root at ACCTON-b1-31 ~]# ls -al /boot
>       *
> *total 56751
>       *
> *dr-xr-xr-x.  4 root root     1024 May 20  2016 .
>        *
> *drwxr-xr-x. 19 root root     4096 Dec 25 20:00 ..
>       *
> *-rw-r--r--.  1 root root   131847 Dec  5  2013
> config-3.11.10-301.fc20.x86_64   *
> *drwxr-xr-x.  6 root root     1024 Dec 26  2009 grub2
>        *
> *-rw-------.  1 root root 34688326 May 20  2016
> initramfs-0-rescue-16fa681cc2da4g*
> *-rw-------.  1 root root 10081375 May 20  2016
> initramfs-3.11.10-301.fc20.x86_6g*
> *-rw-r--r--.  1 root root   211746 May 20  2016 initrd-plymouth.img
>        *
> *drwx------.  2 root root    12288 May 20  2016 lost+found
>       *
> *-rw-------.  1 root root  2686629 Dec  5  2013
> System.map-3.11.10-301.fc20.x86_4*
> *-rwxr-xr-x.  1 root root  5139320 May 20  2016
> vmlinuz-0-rescue-16fa681cc2da40c2*
> *-rwxr-xr-x.  1 root root  5139320 Dec  5  2013
> vmlinuz-3.11.10-301.fc20.x86_64  *
> *-rw-r--r--.  1 root root      168 Dec  5  2013
> .vmlinuz-3.11.10-301.fc20.x86_64c*
>
> Jesus Christs, WHY you are using Fedora 20??? Should move to F25, at
> least. Not saying that this is the bug, but still... :-((
>
> Zoran
>
> On Wed, Jun 7, 2017 at 6:38 AM, Dhanasekar Jaganathan <
> jdhanasekarmca at gmail.com> wrote:
>
>> Hi Zoran,
>>
>> Below, I have provided the details,
>>
>> *[1] ls -al /boot*
>>
>> [*root at ACCTON-b1-31 ~]# ls -al /boot
>>         *
>> *total 56751
>>         *
>> *dr-xr-xr-x.  4 root root     1024 May 20  2016 .
>>        *
>> *drwxr-xr-x. 19 root root     4096 Dec 25 20:00 ..
>>         *
>> *-rw-r--r--.  1 root root   131847 Dec  5  2013
>> config-3.11.10-301.fc20.x86_64   *
>> *drwxr-xr-x.  6 root root     1024 Dec 26  2009 grub2
>>        *
>> *-rw-------.  1 root root 34688326 May 20  2016
>> initramfs-0-rescue-16fa681cc2da4g*
>> *-rw-------.  1 root root 10081375 May 20  2016
>> initramfs-3.11.10-301.fc20.x86_6g*
>> *-rw-r--r--.  1 root root   211746 May 20  2016 initrd-plymouth.img
>>        *
>> *drwx------.  2 root root    12288 May 20  2016 lost+found
>>         *
>> *-rw-------.  1 root root  2686629 Dec  5  2013
>> System.map-3.11.10-301.fc20.x86_4*
>> *-rwxr-xr-x.  1 root root  5139320 May 20  2016
>> vmlinuz-0-rescue-16fa681cc2da40c2*
>> *-rwxr-xr-x.  1 root root  5139320 Dec  5  2013
>> vmlinuz-3.11.10-301.fc20.x86_64  *
>> *-rw-r--r--.  1 root root      168 Dec  5  2013
>> .vmlinuz-3.11.10-301.fc20.x86_64c*
>>
>> *[2] What value GRUB_TIMEOUT do you see in: /boot/grub2/grub.cfg (maybe
>> you can try to play with this value)?*
>>
>> *GRUB_TIMEOUT = 5 (set timeout = 5).*
>>
>> *First I have tried GRUB_TIMEOUT = -1 and after that, I**[1] ls -al
>> /boot** have changed it to  GRUB_TIMEOUT = 5. When ever I modified in
>> /etc/default/boot, it is getting reflected in boot/grub2/grub.cfg. *
>>
>> *I am thinking that there may be problem with GRUB2 which I am using or I
>> may be done mistake in GRUB2 integration with coreboot. Because, GRUB2 is
>> not consider the values in /etc/default/boot and booting to OS directly
>> without displaying bootmenu. *
>>
>> Please correct me, if I am wrong.
>>
>> Thanks,
>> Dhanasekar
>>
>> On Tue, Jun 6, 2017 at 10:16 PM, Zoran Stojsavljevic <
>> zoran.stojsavljevic at gmail.com> wrote:
>>
>>> Hello Dhanasekar,
>>>
>>> When you do boot into the Fedora (which one version?), could you,
>>> please, display for me the following:
>>> [1] ls -al /boot
>>> [2] What value *GRUB_TIMEOUT *do you see in: /boot/grub2/grub.cfg
>>> (maybe you can try to play with this value)?
>>>
>>> Thank you,
>>> Zoran
>>>
>>> On Tue, Jun 6, 2017 at 4:53 PM, Dhanasekar Jaganathan <
>>> jdhanasekarmca at gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am trying to boot *Intel Rangeley CPU/ Mohon Peak *board by
>>>> Coreboot. I am using *GRUB2 *as a Payload.
>>>>
>>>> In menuconfig, I have selected,
>>>>
>>>> Add a payload - *GRUB2*
>>>> GRUB2 Version - *HEAD*.
>>>>
>>>> My mSata has two fedora OS. When I boot the system, I am not seeing
>>>> GRUB boot load menu. System straightly booted to one of Fedora OS.
>>>>
>>>> In */boot/default/grub*, I have changed* GRUB_TIMEOUT = -1* ( which
>>>> stops the system indefinitely at boot menu in GRUB2). Still system is not
>>>> stopping at boot menu.
>>>>
>>>> With other vendor BIOS on my board, I am seeing boot menu. I have
>>>> observed they were using GRUB 2.02_Beta version.
>>>>
>>>> So, I have checked out GRUB 2.02_Beta and complied the source which
>>>> produced *grub2.elf*.
>>>> And, I have modified Payload as * Add a Payload* = *An ELF executable
>>>> payload *and given the path of *grub2.elf*.
>>>>
>>>> After flashing this BIOS on my board, I am seeing error message,
>>>>
>>>> *lzma: Decodeing error = 1*
>>>> *Payload not loaded.*
>>>>
>>>> FYR, I have attached my *.config* file, Please view it.
>>>>
>>>> Can you please help me to solve this issue?.
>>>>
>>>> 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/20170607/4a59494c/attachment.html>


More information about the coreboot mailing list