You are not logged in.

#1 2024-11-07 00:10:18

Omarz2012
Member
From: Oshawa, Canada
Registered: 2024-10-19
Posts: 139
Website

Windows is not detected on other SSD

I have recently installed arch linux on a 1tb ssd and windows is pre-installed on a 512gb one, when i ran grub-mkconfig with DISABLE_OS_PROBER set to false. It did not detect, someone told me i had to mount the windows boot partition somewhere so i mounted it to a folder i created especially for this occasion in my main accounts home directory but when i ran it again it still didn't work. should i mount it to an empty folder on root or what is the problem?

Offline

#2 2024-11-07 01:48:26

cryptearth
Member
Registered: 2024-02-03
Posts: 2,166

Re: Windows is not detected on other SSD

first of all: for os-prober you don't have to mount anything anywhere - where you got this wrong info from?
second: if grub-mkconfig doesn'T result in what you expect - just run os-prober on its own:

sudo os-prober

for windows uefi the output should look similar to this:

/dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

if it doesn't show up you can

lsblk -f

to look if the ESP in question even comes up
if so you can mount it and examine its content
if <ESP>/EFI/Microsoft is missing you likely formatted it during setup and wiped it (can be resotred by a windows install media or PE)
otherwise you first have to solve why the drive or the ESP doesn'T show up which can be a variety of reasons

if you go with one ESP overall or one ESP per drive is up to personal preference - although with two ESP I recommend using the uefi boot selector to switch between the OS instead of try to chain one off the other (which is possible but can come with a few pitfalls)

Last edited by cryptearth (2024-11-07 01:50:43)

Offline

Board footer

Powered by FluxBB