You are not logged in.
So I've installed both Arch and Windows 10 (installed win first), but I can't manage to add Windows to grub. As I read on the wiki/other forum posts, I should mount the windows boot partition to /mnt/windows, after having created the folder ofc. But I can't do that because Windows is hybernated apparently (and not like turned off completely), and the output that I get when I execute mount /dev/sda2 /mnt/windows is:
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only)
I read that to fix this I have to disable fast startup, but I cant log on Windows. Are there any solutions?
My current partition set is this (yes the EFI partition is in common between win and arch):
Device Size Type
/dev/sda1 16M Microsoft reserved
/dev/sda2 332.2G Microsoft basic data
/dev/sda3 2G EFI System
/dev/sda4 509M Windows recovery environment
/dev/sda5 302.8G Linux filesystem (root)
/dev/sda6 293.9G Linux filesystem (home)
Last edited by Lucad (2022-01-21 22:57:42)
Offline
mount /dev/sda2 /mnt/windows
For a UEFI system the EFI system partition (/dev/sda3) should be mounted so that os-prober can find the Windows EFI loader (bootmgfw.efi).
FWIW this should add a menuentry for Windows without needing to use os-prober:
menuentry 'Windows' {
search.fs_uuid $uuid
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
Replace $uuid with the actual UUID of the EFI system partition and place that file at /boot/grub/custom.cfg or add the stanza to the end of /etc/grub.d/40_custom (the latter location will require running grub-mkconfig to add it to grub.cfg).
Last edited by Head_on_a_Stick (2022-01-22 00:23:12)
Offline