cancel
Showing results for 
Search instead for 
Did you mean: 
  • ×
    Information
    Fix Windows 10 Update Issues

    Resolve Windows 10 or update issues on HP computer or printer– Click Here

  • post a message
  • ×
    Information
    Fix Windows 10 Update Issues

    Resolve Windows 10 or update issues on HP computer or printer– Click Here

  • post a message
Highlighted
New member
6 5 0 0
Message 1 of 11
729
Flag Post
HP Recommended

Solved!

Unable to consistently boot ubuntu from a second drive

Pavilion 690-00xx
Microsoft Windows 10 (64-bit)

I recently bought a Pavilion 690-00xx which comes with Windows 10. I'm not really a Windows user but I need it occasionally and wanted to keep the factory stuff unaltered.

 

I installed a second drive through the M.2 expansion port. I installed ubuntu MATE 18.04 on this second drive, installing grub in this drive as well, thus keeping the factory drive intact. It installed perfectly fine. Then I entered in the BIOS and placed ubuntu as the first entry in the UEFI boot order. So far so good.

 

However, very frequently, though not always, when turning on the computer the grub minimal bash screen appears, instead of the grub boot menu, meaning that grub couldn't find grub.cfg. Then I need to either load grub via commands or reboot and then press quickly F9 for the boot menu to show up and then select ubuntu to boot to grub correctly. It is extremely annoying.

 

Surfed a lot on the internet and didn't find a solution. I'm pretty sure it is a HP specific issue. I'm reluctant to mess around with booting configuration files unless I'm sure of what I'm doing.

 

How can it be so difficult to boot cleanly from a second drive?

10 REPLIES 10
Highlighted
Level 12
7,680 7,645 324 681
Message 2 of 11
704
Flag Post
HP Recommended

Solved!

Unable to consistently boot ubuntu from a second drive

Hi

So Windows Fast Start-Up is disabled?

W10 is installed on Secure Boot?

Grub is a Secure or Legacy Boot Loader?

 

 


A Nod Is As Good As a Wink...
Lil_Boy_Blue

0 Kudos
Highlighted
New member
6 5 0 0
Message 3 of 11
693
Flag Post
HP Recommended

Solved!

Unable to consistently boot ubuntu from a second drive

Thanks for your reply.

I tried every possible combination. It didn't make any difference.

I finally settled on Windows fast startup turned off, and secure boot turned off as well, based on the recommendations I found on the internet.

The weird thing it that the UEFI boot order is correctly set. If I press F9 on startup and I select manually the first entry on top of the list grub runs always fine. However, if I don’t select it manually sometimes it works, but most of the times it doesn’t.

0 Kudos
Highlighted
Level 12
7,680 7,645 324 681
Message 4 of 11
685
Flag Post
HP Recommended

Solved!

Unable to consistently boot ubuntu from a second drive

Hi

So you haven't tried Windows and Ubuntu in Secure Boot mode?

https://www.aioboot.com/en/secure-boot/

https://www.rodsbooks.com/efi-bootloaders/secureboot.html

Grub is a poor piece of software IMHO, files scattered over at least 3 directories etc etc.

 

F5/F6 may re-arrrange the sequence.F5/F6 may re-arrrange the sequence.


A Nod Is As Good As a Wink...
Lil_Boy_Blue

0 Kudos
Highlighted
New member
6 5 0 0
Message 5 of 11
678
Flag Post
HP Recommended

Solved!

Unable to consistently boot ubuntu from a second drive


@Lil_Boy_Blue wrote:

So you haven't tried Windows and Ubuntu in Secure Boot mode? 

 


Yes. This was my first attempt. I first installed ubuntu with secure boot turned on in the BIOS. So during installation I was prompted of that.

Then I first experienced the problem, turned secure boot off, reformatted the drive and installed ubuntu again. Same result.

0 Kudos
Highlighted
New member
6 5 0 0
Message 6 of 11
593
Flag Post
HP Recommended

Solved!

Unable to consistently boot ubuntu from a second drive

I would like to update what my current situation is:

When I turn the computer on, the grub minimal bash screen almost always shows up.

To boot correctly, I figured out two ways:

  1. Press rapidly F9 and select ubuntu, which paradoxically is on top of the list.
  2. Press F10 to access the BIOS configuration and do nothing, and simply exit without saving changes.

If I'm not quick enough pressing then relevant key, then I type "reboot" and repeat. It ususally takes me two or three trials.

I cannot understand this behaviour, and is driving me crazy. My use of my new PC has mostly been trying to solve this problem.

I'm even considering getting rid of the Windows partition, despite I paid for it and I need Windows from time to time.

 

0 Kudos
Highlighted
Level 12
7,680 7,645 324 681
Message 7 of 11
578
Flag Post
HP Recommended

Solved!

Unable to consistently boot ubuntu from a second drive

Hi

I use the OpenSuSE version.

rEFIt  and  rEFInd are also possible contenders.

 

Obviously you know that the grub version is likely to create a faux MBR boot area, and if it does I would want that close to the beginning of the disk as practicable. So you have a Secure Boot EFI and an MBR.

 

https://www.reddit.com/r/archlinux/comments/8wwywr/creating_a_dual_boot_efi_grub/

 


A Nod Is As Good As a Wink...
Lil_Boy_Blue

Highlighted
New member
6 5 0 0
Message 8 of 11
549
Flag Post
HP Recommended

Solved!

Unable to consistently boot ubuntu from a second drive


@Lil_Boy_Blue wrote:

rEFIt  and  rEFInd are also possible contenders.

 


Thanks for your input. Yes. Maybe rEFInd deserves a trial.

If I use it I will get another level of indirection, right? refind will in turn call grub, correct?

0 Kudos
Highlighted
Level 12
7,680 7,645 324 681
Message 9 of 11
518
Flag Post
HP Recommended

Solved!

Unable to consistently boot ubuntu from a second drive

Yes.

 


A Nod Is As Good As a Wink...
Lil_Boy_Blue

0 Kudos
Highlighted
New member
6 5 0 0
Message 10 of 11
501
Flag Post
HP Recommended

Solved!

Unable to consistently boot ubuntu from a second drive

rEFInd worked like a charm.

A very nice piece of software.

I only had to type

sudo apt-get install refind

and that's it! It even stablished correctly the boot order.

I'm using 18.04 and refind is in the official repos. In case somebody uses an older version, she will need to add the ppa.

rEFInd added two ubuntus to the booting menu: one for grub (so that I can boot to grub correcly and consistently) and another one for the linux kernel (to boot directly to the mate desktop environment).


0 Kudos
Be alert for scammers posting fake support phone numbers on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation