You are not logged in.
EDIT: I installed MBR instead of UEFI lmao. Sorry guys and thanks for the help!
Hello
Just did a clean install of Arch Linux and Windows 10 doesn't show up in GRUB.
What I've done so far:
* Installed os-prober
* Uncommented GRUB_DISABLE_OS_PROBER=false
* Installed ntfs-3g
* Run mkconfig -o /boot/grub/grub.cfg command
I've read somewhere that I have to mount my Windows partition and then run the commands again etc. How do I do that?
Thanks in advance
c
Last edited by casperh (2022-05-11 22:15:55)
Offline
Online
If you are on an EFI install then it will be sufficient to have the ESP mounted when generating the config and os-prober should not be necessary for detecting the kernel on the actual system you are running the installation from.
Which exact grub-install command and which exact output did you get from running grub-mkconfig (post the grub.cfg file) and possibly
lsblk -f
Offline
Thanks for the replies. I hope I've formatted my reply correctly.
I tried mounting like this:
sudo mount -t ntfs /dev/nvme0n1p3 /mnt
@V1del
I used:
łsudo grub-mkconfig -o /boot/grub/grub.cfg
This is output of
lsblk -f
Output of
sudo grub-mkconfig -o /boot/grub/grub.cfg
grub.cfg file:
Offline
Your Arch install is detected by the normal default means without os-prober as is intended,
You need to mount the ESP as in /dev/nvme0n1p1 as that is the location that Windows stores it's boot files. This is mentioned in the first sentence of https://wiki.archlinux.org/title/GRUB#MS_Windows
Last edited by V1del (2022-05-10 15:58:35)
Offline
Your Arch install is detected by the normal default means without os-prober as is intended,
You need to mount the ESP as in /dev/nvme0n1p1 as that is the location that Windows stores it's boot files. This is mentioned in the first sentence of https://wiki.archlinux.org/title/GRUB#MS_Windows
Thanks for the reply.
I tried mounting /dev/nvme0n1p1 in /boot and ran the grub-mkconfig command and got this:
/usr/bin/grub-mkconfig: line 261: /boot/grub/grub.cfg.new: No such file or directory
Offline
not in /boot that's where you generate your config, anywhere else, pick /mnt
Offline
not in /boot that's where you generate your config, anywhere else, pick /mnt
Okay. I've mounted in /mnt and ran the grub-mkconfig command. Still no luck :-(
Offline
Was the ntfs partition still mounted? Make sure you don't have two mounts on the same mount point. What files are under /mnt now?
ls -l /mnt /mnt/EFI /mnt/EFI/Microsoft
all of these should exist
Offline
Was the ntfs partition still mounted? Make sure you don't have two mounts on the same mount point. What files are under /mnt now?
ls -l /mnt /mnt/EFI /mnt/EFI/Microsoft
all of these should exist
Seems like they're mounted correclty.
Offline
And the grub-mkconfig output (the file and the output you see on the terminal?)
lsblk -f
again?
Offline
grub-mkconfig output:
file:
lsblk -f
Offline