• Dual boot - windows hangs sometimes


    Set up a dual boot system with Antergos and Win 10 on separate drives. The windows10 installation was working prior to the dual boot.
    However now when I press enter to select to boot to windows it hangs sometimes and just freezers, sometimes it boots up.
    What are the potential causes of this? Antergos boots perfectly.

  • @Fenwick17
    How did you install the dual boot?
    If you remove the Antergos disk, are there still problems with windows boot ?

  • Hi @manuel did the dual boot following the instructions from the thread we spoke in yesterday. I have tested with just windows, but I’ll do that now
    It has booted to window before upon selection. Just sometimes it freezes

  • With just the windows drive installed it goes into grub rescue. If I set windows SSD as the primary boot drive it is fine.
    And I have just tested twice now with Antergos as primary and fast boot disabled and windows boots up fine. Could fast boot be an issue with a grub boot?

  • @Fenwick17

    would be so kind to put the result of fstab
    cat /etc/fstab

  • @judd Since turning off fast boot in the bios booting to windows has worked twice, and failed twice.

    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    #
    UUID=80fb65b9-4215-4ec0-a16a-017e57c0c226 /boot ext4 defaults,noatime,discard 0 0
    UUID=64094c90-b88b-4001-8328-afbc9b684736 / ext4 defaults,noatime,discard 0 1
    UUID=b73febc8-572b-43f6-9ade-6f420051b2ec swap swap defaults 0 0
    

    Bonus lsblk

    sda      8:0    0   1.8T  0 disk 
    └─sda1   8:1    0   1.8T  0 part 
    sdb      8:16   0 232.9G  0 disk 
    ├─sdb1   8:17   0   255M  0 part /boot
    ├─sdb2   8:18   0 220.9G  0 part /
    ├─sdb3   8:19   0     1K  0 part 
    └─sdb5   8:21   0  11.7G  0 part [SWAP]
    sdc      8:32   0 232.9G  0 disk 
    ├─sdc1   8:33   0   500M  0 part 
    └─sdc2   8:34   0 209.1G  0 part 
    

    sdc is my windows drive
    0_1509534363299_Screenshot from 2017-11-01 11-05-47.png

  • @Fenwick17
    Could you show the output of command

    find /boot -iname \*.efi -exec ls -l {} \;
    

    and the Windows menuentry in file /boot/grub/grub.cfg?

  • @manuel find /boot -iname \*.efi -exec ls -l {} \; returns nothing.

    grub.cfg does seem to have something related to windows.

    #
    # 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 ext2
    set root='hd1,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  64094c90-b88b-4001-8328-afbc9b684736
    else
      search --no-floppy --fs-uuid --set=root 64094c90-b88b-4001-8328-afbc9b684736
    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_GB
      insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  80fb65b9-4215-4ec0-a16a-017e57c0c226
    else
      search --no-floppy --fs-uuid --set=root 80fb65b9-4215-4ec0-a16a-017e57c0c226
    fi
    insmod gfxmenu
    loadfont ($root)/grub/themes/Antergos-Default/ascii.pf2
    loadfont ($root)/grub/themes/Antergos-Default/rlwy14.pf2
    loadfont ($root)/grub/themes/Antergos-Default/rlwy16.pf2
    insmod png
    set theme=($root)/grub/themes/Antergos-Default/theme.txt
    export theme
    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_antergos ###
    menuentry 'Antergos Linux' --class antergos --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-64094c90-b88b-4001-8328-afbc9b684736' {
    	load_video
    	set gfxpayload=keep
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='hd1,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  80fb65b9-4215-4ec0-a16a-017e57c0c226
    	else
    	  search --no-floppy --fs-uuid --set=root 80fb65b9-4215-4ec0-a16a-017e57c0c226
    	fi
    	echo	'Loading  linux kernel ...'
    	linux	/vmlinuz-linux root=UUID=64094c90-b88b-4001-8328-afbc9b684736 rw  quiet resume=UUID=b73febc8-572b-43f6-9ade-6f420051b2ec
    	echo	'Loading initial ramdisk ...'
    	initrd	/intel-ucode.img /initramfs-linux.img
    }
    submenu 'Advanced options for Antergos Linux' $menuentry_id_option 'gnulinux-advanced-64094c90-b88b-4001-8328-afbc9b684736' {
    	menuentry 'Antergos Linux' --class antergos --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-64094c90-b88b-4001-8328-afbc9b684736' {
    		load_video
    		set gfxpayload=keep
    		insmod gzio
    		insmod part_msdos
    		insmod ext2
    		set root='hd1,msdos1'
    		if [ x$feature_platform_search_hint = xy ]; then
    		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  80fb65b9-4215-4ec0-a16a-017e57c0c226
    		else
    		  search --no-floppy --fs-uuid --set=root 80fb65b9-4215-4ec0-a16a-017e57c0c226
    		fi
    		echo	'Loading  linux kernel ...'
    		linux	/vmlinuz-linux root=UUID=64094c90-b88b-4001-8328-afbc9b684736 rw  quiet resume=UUID=b73febc8-572b-43f6-9ade-6f420051b2ec
    		echo	'Loading initial ramdisk ...'
    		initrd	/intel-ucode.img /initramfs-linux.img
    	}
    	menuentry 'Antergos Linux - Fallback' --class antergos --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-64094c90-b88b-4001-8328-afbc9b684736' {
    		load_video
    		set gfxpayload=keep
    		insmod gzio
    		insmod part_msdos
    		insmod ext2
    		set root='hd1,msdos1'
    		if [ x$feature_platform_search_hint = xy ]; then
    		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  80fb65b9-4215-4ec0-a16a-017e57c0c226
    		else
    		  search --no-floppy --fs-uuid --set=root 80fb65b9-4215-4ec0-a16a-017e57c0c226
    		fi
    		echo	'Loading  linux kernel ...'
    		linux	/vmlinuz-linux root=UUID=64094c90-b88b-4001-8328-afbc9b684736 rw  quiet resume=UUID=b73febc8-572b-43f6-9ade-6f420051b2ec
    		echo	'Loading initial ramdisk ...'
    		initrd	/intel-ucode.img /initramfs-linux-fallback.img
    	}
    }
    
    ### END /etc/grub.d/10_antergos ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 10 (on /dev/sdc1)' --class windows --class os $menuentry_id_option 'osprober-chain-969687AA96878A07' {
    	insmod part_msdos
    	insmod ntfs
    	set root='hd2,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  969687AA96878A07
    	else
    	  search --no-floppy --fs-uuid --set=root 969687AA96878A07
    	fi
    	parttool ${root} hidden-
    	drivemap -s (hd0) ${root}
    	chainloader +1
    }
    ### 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 ###
    
  • @Fenwick17 said in Dual boot - windows hangs sometimes:

    find /boot -iname \*.efi -exec ls -l {} \;
    

    returns nothing.

    No wonder it doesn’t boot! ;)
    Are you sure you wrote it properly?

    You could try mount the EFI (temporarily):

    sudo mount /dev/sdc1 /mnt
    find /mnt -iname \*.efi -exec ls -l {} \;
    umount /mnt
    
  • @manuel As far as im aware I have.
    0_1509560001610_Screenshot from 2017-11-01 18-13-02.png
    What confuses me the most is how sometimes it will boot, and sometimes it won’t.

  • I found an option in my BIOS under secure boot which was the boot mode. Which was “Windows UEFI” and I have changed that to “Other OS” and it booted. But due to it sometimes booting before, not sure if that is a fix.

  • @Fenwick17
    You have Secure boot enabled?

  • @manuel Does secure boot need to be disabled? Currently its enabled, and is a pain to disable with an Asus Maximus VIII but I can go ahead and to that if you feel it will help? OS Type is set to Other OS

  • @Fenwick17
    I believe Secure boot is not supported by Antergos, at least it seems that both Arch and Antergos wikis recommend disabling secure boot.
    But naturally it is your choice. If your systems work with secure boot, then probably there is no need to change that.

windows42 dual19 hangs16 boot175 Posts 14Views 248
Log in to reply