#Grub won't find windows bootloader when trying to dual boot

1 messages · Page 1 of 1 (latest)

exotic bronze
#

When I rebooted grub gave arch linux as the only bootable option

clear sigil
#

well os-prober is tricky

exotic bronze
#

So what can I do about this

clear sigil
#

just add the win entry manually to ur grub config

#

i do this to avoid using os prober which is a pain in the ass

exotic bronze
clear sigil
#

whats ur windows esp?

exotic bronze
#

Sorry this is my first time installing arch on a physical machine

clear sigil
#

no worry

exotic bronze
clear sigil
#

ill explain for ur understanding

#

Efi System Partition

exotic bronze
clear sigil
#

like nvme...?

exotic bronze
#

nvme0n1p1 I think

clear sigil
#

yes it is i think

#

first of all

#

sudo mount -v -t vfat -o ro /dev/nvme0n1p1 /mnt

#

then u have to search the windows bootloader

#

to know its path

#

do u have it mounted?

exotic bronze
#

Wait a sec

clear sigil
#

alright

exotic bronze
#

@clear sigil

clear sigil
#

alright i was about to search its path manually but its ok

#
if [ "${grub_platform}" == "efi" ]; then
    menuentry "Windows 11" {
        insmod part_gpt
        insmod fat
        insmod chain
        search --no-floppy --fs-uuid --set=root (ur uuid)
        chainloader /efi/Microsoft/Boot/bootmgfw.efi
    }
fi
#

u should add something like this in ur grub.cfg

#

u must modify (ur uuid)

#

with the uuid of the windows esp

#

to find this just do

#

sudo blkid /dev/nvme0n1p1

#

copy the filesystem uuid

#

and paste it there without ()

exotic bronze
#

Ok ty

clear sigil
#

like: search --no-floppy --fs-uuid --set=root F1212-1212

#

this will chainload the efi executable of the windows bootloader (windows boot manager)

#

test it, if it works and its ok for u mark this as solved

#

... solved

ocean drumBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you

exotic bronze
#

Is this good?

#

@clear sigil

#

Booting into windows manually from bios works just fine

#

After installing nvidia package i now get a black screen when trying to load up plasma in wayland

#

Fixed dual boot

#

Now I have to worry about nvidia drivers on arch

#

I have a 4060 ti

clear sigil
#

this is caused cause u probably didnt enable drm

#

@exotic bronze

exotic bronze
#

i fixed everything

#

i just use xorg

#

instead of wayland

clear sigil
#

ok

clear sigil
#

... solved

ocean drumBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you

somber cypress