#[SOLVED] Grub broke - Arch + Win10 dualboot set up
53 messages · Page 1 of 1 (latest)
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
grub-mkconfig -o /boot/grub/grub.cfg
run this in chroot
yes
how about we understand the source of the problem before running a bunch of commands?
rn - the last screenshot - tried booting the drive, one sec imma hook up into the iso again
alright go into the arch iso
grub is not installed properly
i understand the situation completely
gimme a moment, i'll ssh into the archiso from my laptop
You literally told them their installation is bricked
so i can copy in/out puts
just chill out for a sec
set up mounts then
arch-chroot /mnt
grub-mkconfig -o /boot/grub/grub.cfg```

and then try to boot
if you're using ssh then run the bottom 2 commands
if the first one doesnt work then you are on bios
alright im in the iso
set up mounts
on it
then arch-chroot /mnt
then run the bottom 2 commands listed here
https://wiki.archlinux.org/title/Chroot
if u dont know how to chroot heres a guide
already know how to do that
awesome
alright, ran them seems fine on this end
[root@archiso /]# grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=grub Installing for x86_64-efi platform. Installation finished. No error reported. [root@archiso /]# grub-mkconfig -o /boot/grub/grub.cfg Generating grub configuration file ... Found theme: /usr/share/grub/themes/XeroLayan/theme.txt Found linux image: /boot/vmlinuz-linux Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img Found fallback initrd image(s) in /boot: intel-ucode.img initramfs-linux-fallback.img Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. Adding boot menu entry for UEFI Firmware Settings ... done
now try to boot
ur welcome
now from within the pc i should be able to add the windows to grub
ur going to have to manually add the entry
no
just enable os-prober in the grub config and mount the windows partition that contains the windows bootloader
and then run grub-mkconfig again
it will add it automatically
heres a tutorial
alright i got it to detect it
~ sudo os-prober /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
... solved
#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
one sec i think i got it now, just last test, and it should
YEA
[SOLVED] Grub broke - Arch + Win10 dualboot set up
(Got a blank grub screen) might be slightly whacky boot order in the bios) but Linux loaded fine and I did for a smidge of another reboot see the windows option when it loaded up once before
Is all okay or do you need more help?
What's the problem
Okay cool 👍