You are not logged in.

#1 2018-05-14 14:48:34

dmrx921
Member
Registered: 2018-05-14
Posts: 8

Grub does not recognize Windows 10 [SOLVED]

Hi, before I had installed antergos and windows and could enter both, now after installing the file where I was antergos and not touching windows the grub does not recognize windows.

Try to recover the windows start with the windows 10 cd and if it entered windows but it did not have grub.

I do not know what I can be doing wrong because I'm following the file installation guide and the grub installation guide (all from the arch forums).

It is worth mentioning that I am working with a lenovo ideadpad 300 (laptop) and from the first day I have it in legacy.

regards

Last edited by dmrx921 (2018-05-14 21:09:15)

Offline

#2 2018-05-14 17:43:37

c00ter
Member
From: Alaskan in Washington State
Registered: 2014-08-28
Posts: 421

Re: Grub does not recognize Windows 10 [SOLVED]

Ask the folks at Antergos for help. These forums are for the support of Arch Linux only:  https://bbs.archlinux.org/misc.php?action=rules


UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn

Offline

#3 2018-05-14 18:58:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: Grub does not recognize Windows 10 [SOLVED]

Indeed.

Closing. -- For deletion.

Clarified over email, this is intended to be an Arch install.

Please post more information on your partition layout, the exact commands used to install GRUB and the grub.cfg

Last edited by V1del (2018-05-14 20:04:24)

Offline

#4 2018-05-14 20:46:39

dmrx921
Member
Registered: 2018-05-14
Posts: 8

Re: Grub does not recognize Windows 10 [SOLVED]

My grub.Cfg

#
# 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="0"
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
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod xfs
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos2' --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  fac33b9f-0956-4852-937a-4ade714855da
else
  search --no-floppy --fs-uuid --set=root fac33b9f-0956-4852-937a-4ade714855da
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=es_ES
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fac33b9f-0956-4852-937a-4ade714855da' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod xfs
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da145bc7-3fa9-4f4c-b56a-3e258b3d7d4c
        else
          search --no-floppy --fs-uuid --set=root da145bc7-3fa9-4f4c-b56a-3e258b3d7d4c
        fi
        echo    'Loading Linux linux ...'
        linux   /vmlinuz-linux root=UUID=fac33b9f-0956-4852-937a-4ade714855da rw  quiet
        echo    'Loading initial ramdisk ...'
        initrd  /intel-ucode.img /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-fac33b9f-0956-4852-937a-4ade714855da' {
        menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-fac33b9f-0956-4852-937a-4ade714855da' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_msdos
                insmod xfs
                set root='hd0,msdos1'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da145bc7-3fa9-4f4c-b56a-3e258b3d7d4c
                else
                  search --no-floppy --fs-uuid --set=root da145bc7-3fa9-4f4c-b56a-3e258b3d7d4c
                fi
                echo    'Loading Linux linux ...'
                linux   /vmlinuz-linux root=UUID=fac33b9f-0956-4852-937a-4ade714855da rw  quiet
                echo    'Loading initial ramdisk ...'
                initrd  /intel-ucode.img /initramfs-linux.img
        }
        menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-fac33b9f-0956-4852-937a-4ade714855da' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_msdos
                insmod xfs
                set root='hd0,msdos1'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  da145bc7-3fa9-4f4c-b56a-3e258b3d7d4c
                else
                  search --no-floppy --fs-uuid --set=root da145bc7-3fa9-4f4c-b56a-3e258b3d7d4c
                fi
                echo    'Loading Linux linux ...'
                linux   /vmlinuz-linux root=UUID=fac33b9f-0956-4852-937a-4ade714855da rw  quiet
                echo    'Loading initial ramdisk ...'
                initrd  /intel-ucode.img /initramfs-linux-fallback.img
        }
}

### 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 ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# 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 ###

### 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 ###

Last edited by dmrx921 (2018-05-14 21:08:26)

Offline

#5 2018-05-14 20:50:13

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Grub does not recognize Windows 10 [SOLVED]

Please use code tags for commands and their outputs.  Was the os-prober package installed when that config was generated?

Offline

#6 2018-05-14 20:50:51

dmrx921
Member
Registered: 2018-05-14
Posts: 8

Re: Grub does not recognize Windows 10 [SOLVED]

It is not intended to be an installation of archlinux, archlinux is already installed next to grub, I followed the installation guide here.

Sorry for my bad English.

Offline

#7 2018-05-14 21:01:49

dmrx921
Member
Registered: 2018-05-14
Posts: 8

Re: Grub does not recognize Windows 10 [SOLVED]

Solved It was the os-prober package, I installed it and reconfigured grub. And I already have windows

TXX VERY MUCH

Offline

#8 2018-05-14 21:03:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Grub does not recognize Windows 10 [SOLVED]

Fix your post with code tags, as asked.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2018-05-14 21:05:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: Grub does not recognize Windows 10 [SOLVED]

And mark the thread as [SOLVED] by editing the title in your first post.

https://wiki.archlinux.org/index.php/Co … ow_to_post

Offline

Board footer

Powered by FluxBB