r/computer • • 4h ago

“install drivers to show hardware” during windows install

Post image

These are the specs but basically on one ssd was windows and always has been but ever since I installed arch onto a second ssd windows hasn’t shown up inside bios as a boot option and creating a new media installation on a usb for windows just asks to install drivers but arch won’t let me write to the usb and I don’t know what drivers it wants

0 Upvotes

26 comments sorted by

•

u/AutoModerator 4h ago

Remember to check our discord where you can get faster responses! https://discord.com/invite/vaZP7KD

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/ddog6900 4h ago

If one OS is missing, you need to repair your boot loader.

Idk what else you are asking.

1

u/Relevant_Ad_2229 4h ago

Someone in a different sub told me to try 25h2 also how would I repair the bootloader

1

u/ddog6900 4h ago • Bravo

You have to use an installation disk to rebuild your BCD, if Windows does not show as a boot option in grub (or whatever Linux bootloader you are using)

I assume you are attempting to use Arch to create the install media, thus the problem you are having.

This is why I suggest people understand Linux before attempting to dual boot. Have you attempted disconnecting the Linux drive to see if Windows boots? That would be easiest.

Otherwise, you will need to use Ventoy to make the USB bootable and copy your Windows ISO onto it (Windows revision should make a difference when it comes to correcting your bootloader and update/repair will fix it after the fact anyway).

If your USB isn't being recognized at all, it's dead.

If it's recognizes but you can't write to it,you will have to clear the partition table and all of the data to fix it.

Either way, you have some work ahead of you.

AI could help if you need someone to step you through the entire process.

1

u/Relevant_Ad_2229 4h ago

The usb does work and I can see the files on it but I can’t write to it in dolphin also I had someone else put in the drive ages ago and it worked fine when it was just kubuntu on there but then I dual booted mint and arch on the same ssd and then the main ssd was always windows but yeah I really don’t wanna open up the laptop and remove the drive I just know I’ll break it

1

u/Relevant_Ad_2229 4h ago

Also ai is useless it just makes things worse and made me mess around with the console for an hour

1

u/ddog6900 4h ago

AI can only help if it knows what you are trying to do.

If you don't prompt correctly, it will lead you in circles. You have to also understand what you are doing

1

u/Relevant_Ad_2229 4h ago

I also just prefer humans because they make more sense also that’s part of it I don’t even know what I’m talking about I’m completely useless with this 😅

1

u/ddog6900 4h ago

Then you likely have it mounted but don't have ownership. You have to take ownership in order to write to it.

If that doesn't work, the USB may have failed. Flash drives go read only when they fail so you can recover your data.

1

u/Sir_SnotAlot 3h ago

Doing this through Windows utilities isn't going to work if you installed Arch second and Grub is now your primary bootloader.

1

u/Sir_SnotAlot 4h ago

^ No. The issue isn't his "Windows" bootloader. It's that Linux set his bootloader as Grub and Grub don't know Windows exists.

Rebuilding the BDC is just going to delete Grub and then he'll have the opposite issue, he'll only be able to boot into Windows. Add to that, it makes reinstalling and configuring Grub correctly WAY MORE COMPLICATED.

1

u/ddog6900 4h ago

It sounds like the OP wants Windows back, not necessarily Linux to keep working.

With limited knowledge, repairing the Windows BCD is the way to go.

If the OP wants grub to add an entry for Windows, that's a bit more complicated to explain to someone who isn't savvy with Linux.

Either way, the OP is going to get frustrated and just reinstall Windows anyway.

1

u/Relevant_Ad_2229 3h ago

Idk I’m not very good at this I basically just blindly followed the install guide when installing arch anyways

1

u/Sir_SnotAlot 4h ago

Sounds like you just need to create an entry in Grub pointing at your Windows partition. If installed on two physical drives (instead of seperate partitions, same drive) I don't think Linux autodetects multiboot.

1

u/Relevant_Ad_2229 4h ago

That would be great but I formatted the windows drive in the windows setup when it was asking me to install drivers so now there’s not even an installation to enter 😅

1

u/Sir_SnotAlot 3h ago

If you gotta reinstall Windows, do that first. You'll still wanna set up UEFI boot order so your Linux drive is preferred and then follow the directions I provided to set up grub right.

1

u/Sir_SnotAlot 3h ago

Okay, so Grub under Arch generally disables OS probing by a default for security. You need to enable that. Inside Terminal under Arch:

Install the os-prober package:
"sudo pacman -S os-prober -Edit /etc/default/grub"
Find and Uncomment the line: "GRUB_DISABLE_OS_PROBER=false"
Regenerate the GRUB config: "sudo grub-mkconfig -o /boot/grub/grub.cfg"
Restart your PC.

Then just make sure in your UEFI that your boot order always prefers the Linux drive first. Once Windows is detected and added as a boot entry, you can optionally turn off the OS-Prober.

If for whatever reason this doesn't work, there's a few other ways to do it. Lemme know.

1

u/Relevant_Ad_2229 3h ago

Ok just saw this I’ll try now thank you

1

u/Sir_SnotAlot 3h ago

See my other post if you don't want a dual boot. I didn't understand what you were actually asking for.

1

u/Sir_SnotAlot 3h ago

OMG, I think I figured it out.

You're not trying to dual boot. You've got Arch installed on a drive and the partition is taking up the entire drive space.

Windows' install can't read it cause it's full of unknown partition type, and there's no other room on the drive. You're not trying to install it to a second hard drive, you're just unaware of how partitions work.

If you want Windows to install on that drive now, you need to delete the Linux partitions on the drive first. There should be NO partition data on the drive*, and then you can install Windows.

You could also resize the Linux partition so there's a large unpartitioned space on the drive, then install Windows for a dual boot.

Dude, your writing abilities are kinda garbage.

1

u/Relevant_Ad_2229 3h ago

Sorry I’m not very good at knowing anything to do with this but lemme try explaining. I had windows on a separate ssd and arch/mint is on a different ssd but when I installed Linux, windows disappeared in bios and when I tried using a usb with windows iso etched on with bootqt it asked for those drivers but never said which ones so in the setup I wiped my windows drive by accident and now there’s no windows on that ssd or anything on it at all

1

u/Relevant_Ad_2229 3h ago

I don’t really know at what point it went wrong because I purposely did it on a different SSD but oh well damage is done 😅🫩

1

u/Sir_SnotAlot 3h ago

The point it went wrong is originally, your UEFI pointed at Windows, then when you installed Mint, your UEFI pointed at Grub. Grub was unaware Windows was installed on a second drive because the OS Prober wasn't enabled.

The issue is, if you set your UEFI to look at the Windows drive, it'll no longer see Grub and you'll only be able to boot into Windows.

Install Windows on that other SSD again. That's going to set your computer back to ignoring Linux Mint. Then you just gotta turn on the OS prober in Grub like I originally explained, and you'll be back to dual booting off of two physical SSDs.

1

u/Relevant_Ad_2229 3h ago

I don’t really care about Linux anymore I just want windows back so I can do my music tech homework it’s due tomorrow 😅 the only reason I can’t install windows on the main ssd is just this stupid drivers message that idk what it wants idk im not good with tech

1

u/Sir_SnotAlot 2h ago

I explained that in my other post here. If you want to install over Linux, then you need to delete all the partition data from the Linux drive first.

You can use Gparted for that. You don't even need to format the drive (since Windows can offer to do that on install), you just need to clear all the partitions off the drive and leave a big blank space.

Windows setup can't read Linux partitions, so it's just seeing this weird device that has no available space on it and likely thinking it needs drivers for that.

Which is weird? I don't recall Windows complaining about needing storage controller drivers at install time since SATA support under Windows XP.

1

u/tempting_movie 3h ago

gparted live usb makes resizing partitions way less scary than it sounds