• Win10 Dual Boot


    I am having some issues with dual booting Antergos and Win10 (running on separate ssds). Initially, I had ubuntu and Win10 working just fine together but I replaced Ubuntu with Antergos and now I cannot boot into windows at all. Os-prober doesn’t seem to pick it up, and I’ve tried to modify /etc/grub.d/40_custom as I’ve seen on other forums but still not able to boot into it.
    Below are my blkid and fdisk -l outputs, Antergos lives on sda and Win10 lives on sdc. Can anyone help me out or point me in the right direction?

    /dev/sda1: UUID=“85768aa6-028c-4274-a428-fc8597cb10c2” TYPE=“ext4” PARTUUID=“cbd8d91c-c08b-41a1-8f2a-53105538c894”
    /dev/sda2: UUID=“1200d8ae-9e71-4306-acb9-c43166de2c76” TYPE=“swap” PARTUUID=“79796f67-dd4e-48b5-9d43-318ca5d24b0a”
    /dev/sda3: UUID=“b32a72e4-43cc-427f-8a69-1e423d3bdfef” TYPE=“ext4” PARTUUID=“a07cfbbd-6835-4115-99a3-8db81529e7be”
    /dev/sdb1: PARTLABEL=“Microsoft reserved partition” PARTUUID=“0f17599c-aa8f-11e5-824f-305a3a7c5672”
    /dev/sdb2: LABEL=“HDD” UUID=“7884B43B84B3F9A8” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“be0b40ec-1ab6-4282-9c0b-e2ff29c0ff7e”
    /dev/sdc1: PARTLABEL=“Basic data partition” PARTUUID=“41463f72-d045-4e7e-9b79-225814276935”
    /dev/sdc2: UUID=“9C8D-3E9B” TYPE=“vfat” PARTLABEL=“ESP” PARTUUID=“af8e0c5c-21a0-4d2f-ac5d-c5d2bd01d171”
    /dev/sdc3: PARTLABEL=“Microsoft reserved partition” PARTUUID=“3f6b50c6-000f-4ea6-9ca1-2eb0521e84bc”
    /dev/sdc4: UUID=“8C9E30AA9E308EA8” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“5a150a73-dcbf-4acd-8616-119e163af372”
    /dev/sdd1: LABEL=“CLOUD” UUID=“0AA8-1CE7” TYPE=“vfat” PARTUUID=“507bc4ff-01”

    Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: A9855DDF-CF82-4C59-94B3-6B660EAFA1F4

    Device Start End Sectors Size Type
    /dev/sda1 2048 48830172 48828125 23.3G Linux filesystem
    /dev/sda2 48830173 64455172 15625000 7.5G Linux filesystem
    /dev/sda3 64455173 488397134 423941962 202.2G Linux filesystem

    Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 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: 685072B7-DAD1-47C3-9DDB-761701897C2C

    Device Start End Sectors Size Type
    /dev/sdb1 34 262177 262144 128M Microsoft reserved
    /dev/sdb2 264192 1953523711 1953259520 931.4G Microsoft basic data

    Partition 1 does not start on physical sector boundary.

    Disk /dev/sdc: 111.8 GiB, 120034123776 bytes, 234441648 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: BD787A64-E68D-11E6-91FD-C4F7AEAAB270

    Device Start End Sectors Size Type
    /dev/sdc1 2048 614399 612352 299M Microsoft basic data
    /dev/sdc2 614400 819199 204800 100M EFI System
    /dev/sdc3 819200 1081343 262144 128M Microsoft reserved
    /dev/sdc4 1081344 234440703 233359360 111.3G Microsoft basic data

    Disk /dev/sdd: 465.8 GiB, 500107860992 bytes, 976773166 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x507bc4ff

    Device Boot Start End Sectors Size Id Type
    /dev/sdd1 * 2 976773165 976773164 465.8G b W95 FAT32

  • @mrt
    What happens if you put the following lines:

    menuentry "Windows 10" {
      savedefault
      set file=/EFI/Microsoft/Boot/bootmgfw.efi
      insmod fat
      search --set=root --file $file
      chainloader $file
    }
    

    to /boot/grub/custom.cfg and reboot? You should see a new Windows 10 entry, try that.

    A tool for sending logs: https://forum.antergos.com/topic/10586/eat-logs
    Install eat: wget -q https://github.com/manuel-192/eat/raw/master/PKGBUILD && makepkg -sic

  • @manuel I get the following errors:

    error: no such device /EFI/Microsoft/Boot/bootmgfw.efi
    error: file /EFI/Microsoft/Boot/bootmgfw.efi not found

  • @mrt
    OK. If you do (as root)

    mount /dev/sdc2 /mnt
    find /mnt -iname \*.efi -exec ls -l {} \;
    

    what does is show?
    EDIT: after that you can

    umount /mnt
    

    A tool for sending logs: https://forum.antergos.com/topic/10586/eat-logs
    Install eat: wget -q https://github.com/manuel-192/eat/raw/master/PKGBUILD && makepkg -sic

  • menuentry "Windows 10" {
        insmod ntfs
        insmod chain
        search -u UUID
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    }
    
  • @manuel

    I get this:

    -rwxr-xr-x 1 root root 127488 Nov 23 17:50 /mnt/EFI/antergos_grub/grubx64.efi
    total 125
    -rwxr-xr-x 1 root root 127488 Nov 23 17:50 grubx64.efi
    -rwxr-xr-x 1 root root 127488 Nov 23 17:50 /mnt/EFI/BOOT/BOOTX64.efi/grubx64.efi
    total 125
    -rwxr-xr-x 1 root root 127488 Nov 23 17:50 grubx64.efi
    -rwxr-xr-x 1 root root 127488 Nov 23 17:50 /mnt/EFI/Microsoft/Boot/bootmgfw.efi/grubx64.efi
    -rwxr-xr-x 1 root root 127488 Nov 25 20:16 /mnt/EFI/Antergos-grub/grubx64.efi
    
  • @mrt
    For some reason Windows 10 bootfile is missing. Probably it can be fixed by using the Windows 10 install or rescue disk/stick.

    To find out what caused this:
    How did you uninstall Ubuntu?
    How did you install Antergos?

    A tool for sending logs: https://forum.antergos.com/topic/10586/eat-logs
    Install eat: wget -q https://github.com/manuel-192/eat/raw/master/PKGBUILD && makepkg -sic

  • @mrt
    Change the boot entry in /boot/grub/custom.cfg to this:

    menuentry "Windows 10" {
      savedefault
      set file=/bootmgr
      search --set=root --file $file
      ntldr $file
    }
    

    If that doesn’t work, then I think you need to fix/rescue Windows booting.

    A tool for sending logs: https://forum.antergos.com/topic/10586/eat-logs
    Install eat: wget -q https://github.com/manuel-192/eat/raw/master/PKGBUILD && makepkg -sic

boot256 dual33 win104 Posts 8Views 541
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.