Results 1 to 10 of 10

Thread: Grub menu not displayed. How to debug ?

  1. #1
    Join Date
    Apr 2008
    Beans
    168

    Grub menu not displayed. How to debug ?

    Hello,
    I own an old Lenovo E540 (i7 4702MQ CPU with 16GB ram and an Nvidia GT740 Mobile card) It has the latest available BIOS from Lenovo (Version 2.28) mandatory because of the Spectre vulnerablity.
    I've installed on it an Ubuntu version (18.04 LTS) using LVM and secure boot (Windows 10 is also on this machine).
    The Grub menu does not show unless I remove the fonts unicde.pf2 font from /boot/grub and /boot/grub/fonts directories. Doing this I can see the menu but it looks terrible.
    I tried to upgrade to 19.10 In order to see if the new grub fixes the problem but it does not.
    This afternoon I upgraded to 20.04 LTS to check again. Nope.

    I wonder if there is a way to get very verbose GRUB messages written to disk when it starts in order to check what is wrong and make displaying the menu impossible ?
    Many thanks in advance for your help and advice !
    Have a nice day !

    P.S. : This laptop ran a 18.04 version of Ubuntu without the problem for a long time but the secure boot was not on, BIOS was an earlier version and it was on Legacy BIOS mode. I switched for the new BIOS when I decided to put it back to use and replaced the Windows 7 OS with Windows 10. Secure Boot forced me to switch to UEFI which showed the bug.

  2. #2
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,010
    Distro
    Ubuntu

    Re: Grub menu not displayed. How to debug ?

    You can (and should) have both systems installed in UEFI mode.
    You don't have to enable Secure Boot. Some other UEFI settings may need changes.

  3. #3
    Join Date
    Apr 2008
    Beans
    168

    Re: Grub menu not displayed. How to debug ?

    Hello Changan,
    Thank you for your prompt answer,
    I did not make myself clear. I need to have UEFI AND secure boot enabled on this machine. It is, for me, mandatory.

  4. #4
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,010
    Distro
    Ubuntu

    Re: Grub menu not displayed. How to debug ?

    Quote Originally Posted by georgesgiralt View Post
    I did not make myself clear. I need to have UEFI AND secure boot enabled on this machine. It is, for me, mandatory.
    May I ask why?
    It certainly isn't because of the dual-boot with Windows (it works with or without Secure Boot).
    It is for work? If so it's a ridiculous requirement (someone in IT doesn't know what SB really is).

  5. #5
    Join Date
    Apr 2008
    Beans
    168

    Re: Grub menu not displayed. How to debug ?

    No, I test and use a lot of software some of it from dubious source. and, believe it or not, Secure boot is a very good thing. It force software maker to think a little ... Not a bad thing.

  6. #6
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,010
    Distro
    Ubuntu

    Re: Grub menu not displayed. How to debug ?

    Quote Originally Posted by georgesgiralt View Post
    No, I test and use a lot of software some of it from dubious source. and, believe it or not, Secure boot is a very good thing. It force software maker to think a little ... Not a bad thing.
    So it's you who don't know what Secure Boot is (or what it does) and there's nothing mandatory here, at all, just your insistence due a deep misunderstanding.

    Please note I never said it was a bad thing. As a matter of fact the Linux Foundation agrees with and promotes Secure Boot. What I said was, explicitly, you don't need it enabled for a UEFI installation.

    Good luck.

  7. #7
    Join Date
    Apr 2008
    Beans
    168

    Re: Grub menu not displayed. How to debug ?

    But the main problem remains. Even with secure boot off, the Grub menu does not show. So the problem is not at all secure boot relevant.
    I _do_ know that I can have UEFI enabled and secure boot disabled. But if you turn secure boot on, it mandate UEFI.
    And I need UEFI and secure boot for my tests.
    And my understanding, or not, of secure boot itself or it's mechanism has nothing to do with the Grub not showing it's menu and the way to debug it. .
    Have a nice and bright day.

  8. #8
    Join Date
    Jun 2014
    Beans
    6,303

    Re: Grub menu not displayed. How to debug ?

    No, I test and use a lot of software some of it from dubious source. and, believe it or not, Secure boot is a very good thing
    Secure Boot isn't going to protect a user from downloading malware as it is only in the boot process that it has any use. Explanation in the link below. Second link has additional info at the microsoft site. Are you unable to boot Ubuntu now or is it just the fonts that are not readable that is the problem? Did you install both windows/ubuntu UEFI?

    https://www.tenforums.com/tutorials/...ows-10-pc.html

    https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/disabling-secure-boot
    Last edited by yancek; May 10th, 2020 at 07:39 PM.

  9. #9
    Join Date
    Apr 2008
    Beans
    168

    Re: Grub menu not displayed. How to debug ?

    OK, you did not get me.
    I MUST HAVE THE SECURE BOOT ENABLED. It has nothing to do with the grub menu not displayed. It does not display even if secure boot is turned off.
    I WOULD LIKE TO KNOW HOW I CAN GET AS MUCH GRUB DEBUG AS POSSIBLE AND HAVE IT SAVED TO DISK. For now, I can't make it to save the messages to the disk.
    I use secure boot to test how some software behave when prevented loading, even far away from boot time. And this is why I use it.
    So I close this thing. Continue to talk about the pro and cons of secure boot and how it is supposed to behave. I'm out and won't come back.
    Have a long and bright day.

  10. #10
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,646
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Grub menu not displayed. How to debug ?

    So I close this thing. Continue to talk about the pro and cons of secure boot and how it is supposed to behave. I'm out and won't come back.
    Have a long and bright day.
    On that note thread closed!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •