Grub doesn't show up and the computer keeps rebooting

SAHIO -  
mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   -
Hello,

I'm reaching out to you, oh great forum gurus ;-), to seek your help regarding a malfunction with my dual boot installation of Ubuntu 22.04.

I have an HP Elite-book Folio 9470m with an Intel Core i5-3437U processor.

To cut a long story short, after successfully completing the installation, an error message appeared stating that GRUB could not be installed and that it was a fatal error. After closing the notification, the installation was finished. However, after closing the live session, the PC kept restarting in a loop.

What should I do? I tried the
boot-repair
solution, but unfortunately, the problem persists.

2 answers

  1. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 944
     
    Hello,

    Logically, you need to install grub on
    /dev/sda
    since that’s where Windows and Linux are installed:
    • /dev/sda
      corresponds to your hard drive
    • /dev/sdb
      corresponds to a 4GiB USB stick (your stick prepared for
      boot-repair
      , I suppose).


    The partition
    /dev/sda6
    is an ESP partition, which is consistent with the fact that you can enable secureboot. It’s not mandatory to enable it, but if Windows was installed with it, it won’t boot without it, so you will be compelled to reactivate it sooner or later. If you installed Linux with Secureboot disabled, you can make up for it by installing
    grub-efi-amd64
    :

    sudo apt update sudo apt install grub-efi-amd64


    For more details regarding the repair itself, you should redo the
    boot-repair
    procedure by reporting to us:
    • the exact commands you typed
    • their results,
    • the report produced by
      boot-repair
      at the end of the procedure

    ...because nothing at this stage helps to understand why your first repair didn’t work.

    Good luck
    1
  2. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 944
     
    Hello,
    • Can you provide more details about what you did with
      boot-repair
      (which commands you ran).
    • Do you have secure boot enabled?
    • Can you share your partition table (in
      boot-repair
      :
      sudo parted -l
      ) - and more generally, the report produced by
      boot-repair
      at the end of the procedure.


    Good luck!
    0
    1. SAHIO
       
      Good evening,

      Thank you for getting back to me...

      So first of all, with
      boot-repair
      , I clicked on Recommended repair and there was a little loading time and a window appeared notifying me that the computer's boot had been successfully repaired. Then I restarted the computer, but the problem was still not resolved.

      Secondly, yes I have SecureBoot but it is not enabled.

      Thirdly, I tried your command and here’s what shows up:

      Model: ATA ST500LM021-1KJ15 (scsi)
      Disk /dev/sda: 500GB
      Sector size (logical/physical): 512B/4096B
      Partition table: msdos
      Disk flags:

      Number Start End Size Type File system Flags
      1 1049kB 608MB 607MB primary ntfs
      2 608MB 431GB 430GB primary ntfs
      4 431GB 499GB 68.7GB extended
      5 431GB 437GB 6144MB logical linux-swap(v1)
      6 437GB 437GB 537MB logical fat32 boot, esp
      7 437GB 499GB 62.0GB logical ext4
      3 499GB 500GB 663MB primary ntfs msftres


      Model: JetFlash Transcend 4GB (scsi)
      Disk /dev/sdb: 4052MB
      Sector size (logical/physical): 512B/512B
      Partition table: msdos
      Disk flags:

      Number Start End Size Type File system Flags
      1 1049kB 4052MB 4051MB primary fat16 boot, lba


      Thank you and take care.
      0