LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-06-2017, 03:16 PM   #1
pete173mint
LQ Newbie
 
Registered: Jun 2016
Posts: 15
Blog Entries: 1

Rep: Reputation: Disabled
Recent update causes problems. HP laptop 15 won't boot to grub.


After a recent update my HP laptop 15 with Linux Mint 18 won't boot into the grub. I have to press ESC and go to bios and then pick uefi then pick the grub. Everything works fine after that. However then after I shut down I have to go through all that to boot up again. What should the TPM settings be ?
 
Old 04-06-2017, 03:34 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Was the update hardware or software? I have a similar issue with my first SSD. Although this system seems to be quirky about that relative to GPT and DOS partitioning schemes. At the moment I boot a usb to boot the SSD, even though grub is on the SSD (in the MBR, but GPT partitioned).
 
Old 04-06-2017, 03:49 PM   #3
pete173mint
LQ Newbie
 
Registered: Jun 2016
Posts: 15

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
The update was the ones that come from Linux, that shows up in the Shield icon in the system tray.
 
Old 04-06-2017, 08:06 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Did you have to do anything with copying files in /boot/efi when you installed to get it to boot linux?
 
Old 04-06-2017, 09:07 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
As at happens, I had a HP laptop with a Mint update waiting, so I just ran it - it did have a grub update, and popped a confirmation screen to add new (grub) components. Worked fine for me.

From a terminal run "sudo efibootmgr" and post the output (install efibootmgr in need).

Last edited by syg00; 04-06-2017 at 09:09 PM. Reason: removed commands - need to check for UEFI.
 
Old 04-07-2017, 10:18 PM   #6
pete173mint
LQ Newbie
 
Registered: Jun 2016
Posts: 15

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Here is the results.

BootOrder: 0000,9998,9999
Boot0000* Windows Boot Manager
Boot0001* USB Drive (UEFI) - CD/DVD Drive
Boot0002* USB Drive (UEFI) - Hard Drive
Boot9998* Internal CD/DVD ROM Drive(UEFI)
Boot9999* USB Drive (UEFI)
 
Old 04-08-2017, 05:53 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Was this supposed to be a dual-boot with Windows, or did you delete Windows ?. It looks like the latter. You should have a ubuntu entry in there as well - yes (also) Mint uses that label.

I deliberately broke a laptop so it was similar to you - a simple "grub-install /dev/sda" fixed things. I was concerned it wouldn't handle the EFI partition properly, but it did. For some reason took 2 re-boots to get the touchpad working - may have been coincidence.
 
Old 04-09-2017, 04:29 PM   #8
pete173mint
LQ Newbie
 
Registered: Jun 2016
Posts: 15

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Question

Quote:
Originally Posted by syg00 View Post
Was this supposed to be a dual-boot with Windows, or did you delete Windows ?. It looks like the latter. You should have a ubuntu entry in there as well - yes (also) Mint uses that label.

I deliberately broke a laptop so it was similar to you - a simple "grub-install /dev/sda" fixed things. I was concerned it wouldn't handle the EFI partition properly, but it did. For some reason took 2 re-boots to get the touchpad working - may have been coincidence.
Yes I wiped out Win 10. The "Ubuntu" option comes up then the grub option. So you are saying to install grub again ? What would be the exact terminal input for that command ?
 
Old 04-14-2017, 03:52 AM   #9
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Quote:
Originally Posted by pete173mint View Post
Here is the results.

BootOrder: 0000,9998,9999
Boot0000* Windows Boot Manager
Boot0001* USB Drive (UEFI) - CD/DVD Drive
Boot0002* USB Drive (UEFI) - Hard Drive
Boot9998* Internal CD/DVD ROM Drive(UEFI)
Boot9999* USB Drive (UEFI)
Ok, then you should simply add your grub entry to this list of boot loaders. You have a UEFI booting system, so a simple grub-install on /dev/sda will not work.

Just check the location of your grub boot loader on the EFI partition (mounted at /boot/efi/). It is usually
Code:
/boot/efi/ubuntu/grubx64.efi
Well, just verify that and register the UEFI binary (.efi file) into the list of UEFI boot loaders:
Code:
modprobe efivars
modprobe efivarfs
efibootmgr -c -g -d /dev/sda -p 2 -w -L "GRUB" -l '\EFI\ubuntu\grubx64.efi'
The above example assumes that the EFI partition is /dev/sda2, this is why you have "-d /dev/sda -p 2". Just replace with the parameters from your system.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub not showing after Windows update to 8.1. Boot Repair won't fix it. youbunto0 Linux - Newbie 3 11-07-2014 02:42 AM
GRUB won't display recent installs jdtiede Ubuntu 1 03-09-2012 09:08 AM
Ubuntu 7.04/7.10 GRUB won't boot anything after install with Intel SATA on laptop r00tb33r Linux - Software 6 03-22-2008 06:41 PM
GRUB won't boot Windows after Linux update The_Nerd Linux - Software 3 07-15-2004 12:15 AM
Grub boot list won't update kmsayre1 Linux - Software 3 03-15-2002 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration