LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2018, 07:21 PM   #1
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 513

Rep: Reputation: 39
Question restore grub after windows update


Hello,
latest threads are back to 2012. I figured i'll try my luck with a new thread.

Situation:
dual boot with ... not sure what windows ..10, probably.. and Fedora 28. After allowing win to update itself i don't get the linux's boot manager.

this thread seemed to be what i need to do, but :
Code:
fdisk -l
Disk /dev/sda: 953.9 GiB, 1024209543168 bytes, 2000409264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 401E0122-4DC1-4213-8B97-85C4E2A1BE64

Device          Start        End   Sectors   Size Type
/dev/sda1        2048    1026047   1024000   500M EFI System
/dev/sda2     1026048    1288191    262144   128M Microsoft reserved
/dev/sda3     1288192  453661892 452373701 215.7G Microsoft basic data
/dev/sda4  1928222720 1929969663   1746944   853M Windows recovery environment
/dev/sda5  1929969664 1953521663  23552000  11.2G Windows recovery environment
/dev/sda6   453662720  455759871   2097152     1G Linux filesystem
/dev/sda7   455759872 1415935999 960176128 457.9G Linux LVM

Partition table entries are not in disk order.
the sda1 is EFI and i'm not sure what the implications of "grub-install --root-directory=/mnt/ /dev/sda" ( i suspect the author meant sda1)
Please advise. thank you

P.S. I can boot into Linux if i get the F10/one time BIOS loader to popup.

Last edited by DBabo; 10-26-2018 at 07:22 PM.
 
Old 10-26-2018, 07:38 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,472

Rep: Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085Reputation: 3085
The Win10 update changed the default boot entry - with UEFI, there is no need to re-install grub. Simply boot into Fedora, go get efibootmgr and run it - it will list all the NVRAM entries - use it to make Fedora the default.

Done.
 
1 members found this post helpful.
Old 10-26-2018, 07:58 PM   #3
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 513

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by syg00 View Post
The Win10 update changed the default boot entry - with UEFI, there is no need to re-install grub. Simply boot into Fedora, go get efibootmgr and run it - it will list all the NVRAM entries - use it to make Fedora the default.

Done.
Code:
efibootmgr 
BootCurrent: 0007
Timeout: 1 seconds
BootOrder: 0008,0007,0006,0009
Boot0000* test
Boot0001  Fedora
Boot0002  Fedora
Boot0003  Fedora
Boot0004  Fedora
Boot0005  Fedora
Boot0006* UEFI: SATA SSD
Boot0007* Fedora
Boot0008* Windows Boot Manager
Boot0009* UEFI:  PMAP


[root@dell5000 ~]# efibootmgr -o 0007,0006,0009
BootCurrent: 0007
Timeout: 1 seconds
BootOrder: 0007,0006,0009
Boot0000* test
Boot0001  Fedora
Boot0002  Fedora
Boot0003  Fedora
Boot0004  Fedora
Boot0005  Fedora
Boot0006* UEFI: SATA SSD
Boot0007* Fedora
Boot0008* Windows Boot Manager
Boot0009* UEFI:  PMAP

DONE.

Thank you!

Last edited by DBabo; 10-26-2018 at 08:00 PM.
 
  


Reply

Tags
dual boot, grub


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Dual boot Linpus and Windows XP - restore grub? Revolut Linux - Newbie 5 06-10-2012 07:24 AM
Restore GRUB after installing Windows 7 tron_thomas Linux - Software 11 11-20-2010 09:52 AM
[SOLVED] 911 Emergency - Remove Grub and Restore Windows 7 Boot loader anoopch Linux - General 8 10-26-2010 05:23 AM
ubuntu: windows took over MBR and can't restore grub eantoranz Linux - Software 3 02-03-2006 09:29 PM
How to remove Linux and restore Windows on Dual boot using Grub TheBaffledKing Linux - Newbie 13 04-14-2004 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration