I'm back to Ubuntu finally!

This time again, the problem was immediate booting into Windows 10 without showing the GRUB menu. The installation was successful, and after that I logged into Ubuntu by pressing F9 and manually selecting Ubuntu and from that I installed Boot-Repair and started Recommended repair. It was successful and showed me a message:

Please do not forget to make your BIOS boot on sda2/EFI/ubuntu/shimx64.efi file!    
That i don't know how to do 
If your computer reboots directly into Windows, try to change the boot order in your BIOS.   
which i did and did not work
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.  
For example you can boot into Windows, then type in CMD:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi 
which I did and had no result

Boot-Repair was successful, but again it shows the same result.

Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]

============================= Boot Info Summary: ===============================

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/Boot/bkpbootx64.efi 
                       /EFI/Boot/bootx64.efi /EFI/Boot/fbx64.efi 
                       /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi 
                       /boot-repair/log/20181201_010040/sda2/bootx64.efi 
                       /boot-repair/log/20181202_184621/sda2/bootx64.efi 
                       /boot-repair/log/20181202_231643/sda2/bootx64.efi

sda3: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/sda3: unknown filesystem type ''.

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Windows/System32/winload.exe

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   976,773,167   976,773,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1      R          2,048       923,647       921,600 Windows Recovery Environment (Windows)
/dev/sda2               923,648     1,128,447       204,800 EFI System partition
/dev/sda3             1,128,448     1,161,215        32,768 Microsoft Reserved Partition (Windows)
/dev/sda4             1,161,216   557,338,623   556,177,408 Data partition (Windows/Linux)
/dev/sda5           557,338,624   776,770,264   219,431,641 Data partition (Windows/Linux)
/dev/sda6           776,771,584   856,770,559    79,998,976 Data partition (Linux)
/dev/sda7           856,770,560   976,771,071   120,000,512 Data partition (Linux)

Can somebody please link me a solution to this method that I don't know how to do or tell me what I can do?

Results of sudo parted -l

enter image description here

  • Are you saying after boot-repair you are still not getting the grub menu? – Paul Benson Dec 2 at 19:04
  • That really is just using the ubuntu entry in your UEFI boot menu. From live installer you can see details of ubuntu entries with sudo efibootmgr -v. Post link to summary report from Boot-Repair. What brand/model system. What video card/chip?? – oldfred Dec 2 at 19:18
  • Yes I still don't have GRUB menu after boot-repair. @oldfred can you please tell me more detailed what are you asking of me? When i ran sudo efibootmgr -v i get what is presented on picture in next answer (sorry i cant upload a photo for some reason) – Keyser2208 Dec 2 at 22:15
  • How did you get entry 0006? That was a very old work around for systems that would not boot Ubuntu. But it failed as soon as Windows did an update. You have a lot of duplicate entries.Best to houseclean. See man efibootmgr. Have you tried all the UEFI boot entries? UEFI will not show numbers, but entries should be in same order. Particularly the second Windows or any hard drive entry. Not sure how you got three Ubuntu's with grub and a Windows with shim?? If you get too many entries it can cause big issues. Really need brand/model system as some need work arounds. – oldfred Dec 2 at 23:27
  • I'm using hp pavilion m6 1060sm if thats what you are refering to. I tried booting ubuntu from first one from the list after accessing the boot menu with f9. Maybe there are so many of them because i installed it few times on 100gb partition because previous installations gave me a message: "Unable to install grub in /dev/sda" and after formatting efi partition via cmd and reinstalling it the installation of ubuntu was successful but now this happened. Could You be more specific of what should i do in some order and possibbly with detailed explanations? – Keyser2208 Dec 2 at 23:48

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.