You are not logged in.

#1 2017-03-27 00:04:41

kinker31
Member
From: Planet Earth (For Now...?)
Registered: 2017-03-26
Posts: 4
Website

UEFI Windows 10 Entry does not show up in the GRUB2 menu [SOLVED]

So I used grub-customizer and managed to find a Windows 10 entry (os-prober), so I saved to /etc/grub.d and ran grub-mkconfig, the terminal not showing any errors.
However, I cannot see my entry for Windows 10, as all I'm given is Arch and Arch (Advanced Options), along with not updating my color preferences/grub menu tune.
Any help on this situation you're able to give would be appreciated. Thanks!
EDIT: Also, sorry if I don't provide enough detail for you.
EDIT: Dual-link to my reddit post just in case
FINAL EDIT: I somehow manged to solve this as when i tried systemd-boot, the Windows Bootloader popped up and allowed me to acess Windows again.

Last edited by kinker31 (2017-03-29 19:28:27)

Offline

#2 2017-03-27 07:10:12

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: UEFI Windows 10 Entry does not show up in the GRUB2 menu [SOLVED]

kinker31 wrote:

So I used grub-customizer and managed to find a Windows 10 entry (os-prober), so I saved to /etc/grub.d and ran grub-mkconfig, the terminal not showing any errors.

Please post the full, exact content (and name) of whichever mystery file was added to /etc/grub.d and also provide the full, exact `grub-mkconfig` invocation that you used.

https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#3 2017-03-27 17:30:13

DarkCerberus
Banned
From: Holsworthy, Devon
Registered: 2011-12-31
Posts: 252

Re: UEFI Windows 10 Entry does not show up in the GRUB2 menu [SOLVED]

What about os-prober this should enable grub-mkconfig -o /boot/grub/grub.cfg to detect Windows partitions on your system....


Our enemies are your enemies, Nick. Disorder, war. It's just a matter of time before a dirty bomb goes off in Moscow, or an EMP fries Chicago.  ---  Alexander Pierce, Captain America: Winter Soldier
Access Denied! De-cryption failed, override denied all files sealed! --- Triskelion, Shield OS
-----
How to ask questions the smart way

Offline

#4 2017-03-27 18:42:33

kinker31
Member
From: Planet Earth (For Now...?)
Registered: 2017-03-26
Posts: 4
Website

Re: UEFI Windows 10 Entry does not show up in the GRUB2 menu [SOLVED]

Although it wasn't really a mystery file that was added to /etc/grub.d (at least not that I could find firsthand), i did use sudo grub-mkconfig itself and sudo grub-mkconfig -o /boot/grub/grub.cfg.

Full output of grub-mkconfg:

Generating grub configuration file ...
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="Windows Boot Manager (on /dev/sda2)"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

set menu_color_normal=black/blue
set menu_color_highlight=light-cyan/light-blue

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gp
t7 --hint-baremetal=ahci0,gpt7  c0b594f7-a14f-4522-a8bd-98e25b495fc6
else
  search --no-floppy --fs-uuid --set=root c0b594f7-a14f-4522-a8bd-98e25b495fc6
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=-1
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=-1
fi
play 480 440 1
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_grub-customizer_menu_color_helper ###
### END /etc/grub.d/01_grub-customizer_menu_color_helper ###

### BEGIN /etc/grub.d/10_linux ###

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober_proxy ###
Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi


### END /etc/grub.d/30_os-prober_proxy ###

### BEGIN /etc/grub.d/40_custom_proxy ###

# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

### END /etc/grub.d/40_custom_proxy ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/42_custom_proxy ###
menuentry "Windows Boot Manager (on /dev/sda2)" --class windows --class os $menu
entry_id_option 'osprober-efi-C098-8C05' {
        insmod part_gpt
        insmod fat
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-ef
i=hd0,gpt2 --hint-baremetal=ahci0,gpt2  C098-8C05
        else
          search --no-floppy --fs-uuid --set=root C098-8C05
        fi
        chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/42_custom_proxy ###

### BEGIN /etc/grub.d/43_os-prober_proxy ###
Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi
menuentry "Windows Boot Manager (on /dev/sda2)" --class windows --class os $menuentry_id_option 'osprober-efi-C098-8C05' {
        insmod part_gpt
        insmod fat
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  C098-8C05
        else
          search --no-floppy --fs-uuid --set=root C098-8C05
        fi
        chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/43_os-prober_proxy ###
done

Full output of sudo grub-mkconfig -o /boot/grub/grub.cfg:

Generating grub configuration file ...
Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi
Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi
done

Full output of os-prober:

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

Offline

Board footer

Powered by FluxBB