Weird boot issue after replacing internal SSDs - Predator 17 G9-793

Peregrino69
Peregrino69 Member Posts: 8

Tinkerer

edited August 2021 in Predator Laptops
I've got a Predator 17 G9-793. Recently I installed Ubuntu 20.04. The bootloader wouldn't find the Ubuntu at all unless I went through F12 - didn't pay much attention as this was mainly a test installation and I already found a number of ways to rectify that.

Now I to put this in production I replaced both SSDs; the M.2 with a 1TB A-Data and the secondary with 1TB Crucial. Both drives are obviously blank, so "Default Boot Device Missing" etc. However when I hit Enter to get to Boot Option Menu, I can still see the Ubuntu shim bootloader. How can I get rid of that?

​//Edited the content to add model name.

Best Answer

  • Peregrino69
    Peregrino69 Member Posts: 8

    Tinkerer

    Answer ✓
    Got it working.

    Boot to Windows, open CMD as admin and give command:

    bcdedit /set {bootmgr} path EFI\ubuntu\grubx64.efi

    ... et voila! There are actually 2 .efi files for Linux. grubx64.efi is the binary for GRUB2, shimx64.efi for shim. The latter's used when Secure Boot is active.

    Thanks anyway :)

Answers

  • Peregrino69
    Peregrino69 Member Posts: 8

    Tinkerer

    UPDATE

    Inserting the original Windows installation stick (created with MS Media Creation Tool, used successfully with previous installation) doesn't change the situation. The boot order is set to all USB first, internal drives second. When I go to boot loader, I don't even see an option to boot from the Windows installation stick. If I replace that with the Ubuntu installer, I can choose between the original Ubuntu boot file and the one present in the installation media.

    Any ideas?
  • Batareika007
    Batareika007 Member Posts: 106 Skilled Fixer WiFi Icon

    * try to reset bios to default -  F9

    * try to remove all ssd disks and try to boot from usb stick whit windows installation, yeah it will show that no disks available, but check it if there still Ubuntu.

    don't forget to disconnect battery when you disconnected stuff from mother board.
  • Peregrino69
    Peregrino69 Member Posts: 8

    Tinkerer

    Answer ✓
    Got it working.

    Boot to Windows, open CMD as admin and give command:

    bcdedit /set {bootmgr} path EFI\ubuntu\grubx64.efi

    ... et voila! There are actually 2 .efi files for Linux. grubx64.efi is the binary for GRUB2, shimx64.efi for shim. The latter's used when Secure Boot is active.

    Thanks anyway :)