Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Windows missing in Grub2 Efi menu

  1. #1
    Join Date
    Nov 2008
    Location
    Denmark
    Posts
    54

    Default Windows missing in Grub2 Efi menu

    Hi
    Unfortunately I have to have keep a dualboot option with Leap 15.2 and Windows 10 on my desktop computer in order to use a certain slide-scanner software, that will not run in linux (despite efforts..).
    I have two SSDs in the computer; sda for Opensuse and sdb for Windows and It has worked until recently. Why the Windows option went missing I can not tell. It was not something that I did actively.

    I have read several posts to try to fix the issue myself and I have made these two commands to get info:

    Code:
    localhost:/home/soren # efibootmgr -v
    BootCurrent: 0002
    Timeout: 3 seconds
    BootOrder: 0002,0003,0000
    Boot0000* opensuse-secureboot   HD(2,GPT,cccf3b96-6829-4e45-bfd4-cbd7c095171c,0x4800,0xfa000)/File(\EFI\OPENSUSE\SHIM.EFI)
    Boot0002* opensuse      HD(2,GPT,cccf3b96-6829-4e45-bfd4-cbd7c095171c,0x6294000,0xfa000)/File(\EFI\OPENSUSE\GRUBX64.EFI)..BO
    Boot0003* opensuse      HD(2,GPT,cccf3b96-6829-4e45-bfd4-cbd7c095171c,0x4800,0xfa000)/File(\EFI\OPENSUSE\GRUBX64.EFI)..BO

    Code:
    localhost:/home/soren # blkid
    /dev/sda1: UUID="b77f8b28-87f7-44c2-a64b-61034cf97f55" TYPE="ext2" PARTUUID="69fa5493-7e7b-49cd-8b2c-1cab665e5140"
    /dev/sda2: SEC_TYPE="msdos" UUID="868A-6BDF" TYPE="vfat" PARTUUID="cccf3b96-6829-4e45-bfd4-cbd7c095171c"
    /dev/sda3: UUID="55566329-3db6-4fa4-8ea5-19015aada123" UUID_SUB="fa7466aa-eaa4-4771-93ff-2e091b2eea7e" TYPE="btrfs" PARTUUID="4d7cd186-2aa5-4e69-a76d-11efefd9f1ff"
    /dev/sda4: UUID="a13607c4-be9a-4356-8800-f6547cca46e4" TYPE="swap" PARTUUID="e262ba3b-27bd-42e9-8b0f-5cc619314c90"
    /dev/sda5: UUID="88f66972-9888-4b7a-a5a2-405d79ccb02c" UUID_SUB="0b7d4673-eb12-4ef9-9c7c-28237b7bca26" TYPE="btrfs" PARTUUID="64468fa7-13bc-424f-b0b2-100c4bb24bc8"
    /dev/sdb1: LABEL="Genoprettelse" UUID="1872FB1672FAF6FA" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="dc8b28d2-e254-43ad-b1ef-d450dd176d7e"
    /dev/sdb2: UUID="2004-0144" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="509772ac-8c8c-40d2-98be-38f1f541160d"
    /dev/sdb3: PARTLABEL="Microsoft reserved partition" PARTUUID="47b0e236-35ae-4fe9-9687-ca91836bf938"
    /dev/sdb4: UUID="08320F2B320F1CF6" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="505fb991-08b3-48aa-80a0-5ecbc43b400b"
    /dev/sdb5: UUID="10D42506D424EFA0" TYPE="ntfs" PARTLABEL="sdb1" PARTUUID="f78f7078-66ad-463f-bf8e-426e3f4da199"
    How do I get Windows back as an option in Grub"

    LABEL="Genoprettelse" means LABEL=Restore (in Danish)

    Thank You ind advance!

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,169
    Blog Entries
    15

    Default Re: Windows missing in Grub2 Efi menu

    Hi
    Likely unchecked the YaST2 bootloader entry to 'probe foreign os'? If you run the following command as root user;

    Code:
    os-prober
    Do you see the Windows entry appear?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Nov 2008
    Location
    Denmark
    Posts
    54

    Default Re: Windows missing in Grub2 Efi menu

    Code:
    os-prober
    creates an empty return..

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,169
    Blog Entries
    15

    Default Re: Windows missing in Grub2 Efi menu

    Quote Originally Posted by Tarp View Post
    Code:
    os-prober
    creates an empty return..
    Hi
    So if you look down in /boot/efi/EFI directory on /dev/sdb2 is there a MS directory?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Nov 2008
    Location
    Denmark
    Posts
    54

    Post Re: Windows missing in Grub2 Efi menu

    I cannot get access to dev/sdb2 - access denied - even as root.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,169
    Blog Entries
    15

    Default Re: Windows missing in Grub2 Efi menu

    Quote Originally Posted by Tarp View Post
    I cannot get access to dev/sdb2 - access denied - even as root.
    Hi
    It should be mounted?

    Code:
    ls -la /boot/efi/EFI
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Nov 2008
    Location
    Denmark
    Posts
    54

    Default Re: Windows missing in Grub2 Efi menu

    Code:
    localhost:/home/soren # ls -la /boot/efi/EFI
    totalt 40
    drwxr-xr-x 4 root root  8192 25 okt  2019 .
    drwxr-xr-x 3 root root 16384  1 jan  1970 ..
    drwxr-xr-x 2 root root  8192 28 aug 00:29 boot
    drwxr-xr-x 3 root root  8192  7 dec  2019 opensuse

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,169
    Blog Entries
    15

    Default Re: Windows missing in Grub2 Efi menu

    Quote Originally Posted by Tarp View Post
    Code:
    localhost:/home/soren # ls -la /boot/efi/EFI
    totalt 40
    drwxr-xr-x 4 root root  8192 25 okt  2019 .
    drwxr-xr-x 3 root root 16384  1 jan  1970 ..
    drwxr-xr-x 2 root root  8192 28 aug 00:29 boot
    drwxr-xr-x 3 root root  8192  7 dec  2019 opensuse
    Hi
    Looks like you will need to boot from the Windows media and fix booting. Now have you tried booting from the BIOS boot menu? Your sure that the windows install was UEFI boot and not legacy?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9
    Join Date
    Nov 2008
    Location
    Denmark
    Posts
    54

    Default Re: Windows missing in Grub2 Efi menu

    Thank You I will try that option - and no - I am not sure that Windows were installed in UEFI mode - I was probably not even aware of the possible issues at installation time.

  10. #10
    Join Date
    Sep 2012
    Posts
    6,130

    Default Re: Windows missing in Grub2 Efi menu

    Quote Originally Posted by malcolmlewis View Post
    Hi
    It should be mounted?

    Code:
    ls -la /boot/efi/EFI
    What makes you believe /boot/efi is /dev/sdb2 and not /dev/sda2?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •