Ubuntu – Ubuntu installation succeeded, but HDD boot option disappeared from BIOS

asusbootpartitioninguefi

It's an interesting problem I never saw before. The hard disk of this laptop has a harware problem (on a specific sector it got some problems).

That's why if I let Ubuntu installation to create the partitions, using the whole space, that fails.

However, if I create the partitions, without using the entire space, that passes (the partitions are created and it goes forward to installation).

I created the following partitions, on the 500GB hard drive:

  • 100GB ext4, mount: /
  • 2GB swap
  • 1GB EFI

If I don't create the EFI partition, Grub fails to be installed. So, I saw that Ubuntu was going to create the EFI partition, by default, and I created it manually when selecting the Something else option.

The installation went well. It even displayed the alert saying that everything was successful.


But, when restarting the laptop, it doesn't boot from the HDD. I don't see the HDD option in the BIOS.

I tried to add it, but it asks me about the path for boot––which I have no idea what it is.

How to solve this? How can I get Ubuntu running on this laptop?

It doesn't have Secure Boot or anything similar in BIOS.

I have a live usb drive which I can use to access the hard drive, which works nicely.

Best Answer

  • Your problem is mostly related to the bootloader rather than the HDD itself

    To fix that, boot into your Ubuntu Live-usb and from there do this

    open the terminal by pressing ctrl+alt+T

    then copy past this commands to it one after another,

    sudo add-apt-repository ppa:yannubuntu/boot-repair
    sudo apt-get update
    sudo apt-get install -y boot-repair
    

    and by this you will install a tool called boot-repair.

    open boot repair from Dash and you'll get this window

    enter image description here

    choose the recommended repair and follow the steps.

    Note you have to be connected to the Internet when using boot-repair.

    Note it can take some time, be patient

  • Related Question