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 - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2018, 03:58 AM   #1
TYTA
Member
 
Registered: Dec 2017
Posts: 112

Rep: Reputation: Disabled
Leap 15 - Windows 10 is missing from Grub menu - please help.


Hi all,


I have made a new install of Windows 10 and then Leap 15 on my laptop. I have Leap 15 in the Grub menu but no Windows 10.

Here is what I get if I run:

Code:
efibootmgr -v

BootCurrent: 0003                                                                                                                                                                               
Timeout: 0 seconds                                                                                                                                                                              
BootOrder: 0000,3003,0004,0001,2001,2002,2004                                                                                                                                                   
Boot0000* opensuse-secureboot   HD(8,GPT,c9b74096-3d63-4da3-8ff4-1bd6a0a55589,0x32d34000,0x200000)/File(\EFI\opensuse\shim.efi)                                                                 
Boot0001* Windows Boot Manager  HD(2,GPT,bc479e7d-2cc1-40ad-beeb-b6d2457d2c3e,0xfa000,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...,................                                                                                                                    
Boot0004* openSUSE      HD(8,GPT,c9b74096-3d63-4da3-8ff4-1bd6a0a55589,0x32d34000,0x200000)/File(\EFI\opensuse\grubx64.efi)RC                                                                    
Boot2001* EFI USB Device        RC                                                                                                                                                              
Boot2002* EFI DVD/CDROM RC                                                                                                                                                                      
Boot3003* Internal Hard Disk or Solid State Disk        RC


Code:
sudo os-prober 

Returns: 

/dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi


Code:
sudo fdisk -l

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E81052E1-8A0B-44EA-9F39-8D922C3354AF

Device         Start       End   Sectors  Size Type
/dev/sda1       2048   1023999   1021952  499M Windows recovery environment
/dev/sda2    1024000   1228799    204800  100M EFI System
/dev/sda3    1228800   1261567     32768   16M Microsoft reserved
/dev/sda4    1261568 525549567 524288000  250G Microsoft basic data
/dev/sda5  525549568 735264767 209715200  100G Linux filesystem
/dev/sda6  735264768 840122367 104857600   50G Linux filesystem
/dev/sda7  840122368 852705279  12582912    6G Linux swap
/dev/sda8  852705280 854802431   2097152    1G EFI System

It would be nice to have Windows 10 listed in the Grub. Any help would be much appreicated.


Alex
 
Old 09-24-2018, 06:37 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,539

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
Your fdisk output shows that you have two EFI partitions (sda2 and sda8. That's wrong and may be at least part of the problem. Have you run grub-mkconfig to create a new grub menu after running os-prober?

Code:
grub-mkconfig -o /boot/grub/grub.cfg
Make sure your directory with grub files is actually named grub and not grub2 before running the command.
A guess at the problem is that you already had an efi partition with windows 10 (sda2) and created another (sda8) for Opensuse. You can easily verify this by booting Opensuse and mounting each of those partitions and taking a look at what files are in each.
 
Old 09-25-2018, 05:00 AM   #3
TYTA
Member
 
Registered: Dec 2017
Posts: 112

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Your fdisk output shows that you have two EFI partitions (sda2 and sda8. That's wrong and may be at least part of the problem. Have you run grub-mkconfig to create a new grub menu after running os-prober?

Code:
grub-mkconfig -o /boot/grub/grub.cfg
Make sure your directory with grub files is actually named grub and not grub2 before running the command.
A guess at the problem is that you already had an efi partition with windows 10 (sda2) and created another (sda8) for Opensuse. You can easily verify this by booting Opensuse and mounting each of those partitions and taking a look at what files are in each.

This has been fixed. Many thanks for yoru reply!
 
  


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 install menu.lst missing private_ryan0 Linux - Newbie 6 11-08-2011 07:41 PM
[SOLVED] lost grub menu after windows installation & forgot to backup menu.lst jesman1 Linux - Kernel 4 08-12-2010 11:57 PM
Grub Boot Menu Missing Graphics obnascar Linux - Software 3 09-11-2009 07:34 AM
xp home missing from grub menu coldsuns Linux - Newbie 8 11-29-2008 10:16 PM
Fedora Core 4 - Install, Missing Grub Menu crazibri Fedora 4 03-11-2006 06:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 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