Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation of Windows 11 #2

Open
zap8600 opened this issue Jan 11, 2024 · 19 comments
Open

Installation of Windows 11 #2

zap8600 opened this issue Jan 11, 2024 · 19 comments

Comments

@zap8600
Copy link

zap8600 commented Jan 11, 2024

Are there any instructions on how to install Windows 11 on the Raspberry Pi 5? I'd use the Windows on Raspberry PE-based installer, but I'm not sure it'll work on the Raspberry Pi 5.

@333337lee
Copy link

How to install Windows 11 on a Raspberry Pi 5
https://youtu.be/haeYUq4RHbk

@huesie
Copy link

huesie commented Mar 19, 2024

With PCIe support in v0.3 - has @333337lee had any success in running from PCIe (I get as far as 'Invalid Boot Device' but am going to dig into it further in next few days) ... big fan of your videos btw!

@333337lee
Copy link

Not yet, I already had Windows 10 on an SSD from a while ago. I used this latest uefi boot on an sd card

windows 10, 11 Raspberry Pi 5. NEW UEFI boot update.
https://youtu.be/M7c3LhTM_8g

@JokerProTW
Copy link

First of all, many thanks to the creators for the fantastic “worproject”!

I want to install WIN11 on NVMe SSD via PCIe:

I have the same problem as @huesie, when I boot from NVMe then comes: 'INACCESSIBLE_BOOT_DEVICE'

  • RPi 5 8GB
  • windows11 version: 22621.1702
  • Install: worproject (RPi3) and then copied UEFI-RPi5
  • M.2 HAT Pineberry Pi 2023V2 Bottom
  • NVMe PCIe Gen 3+4 256GB "Pinedrive"
  • rpi-eeprom-update says: BOOTLOADER: up to date; CURRENT+LATEST: Mon Nov 20 19:40:17 UTC 2023 (1700509217)

Further:
If I boot W11 from USB or SD then everything is OK

  1. Try with Botspot wor-flasher:
  • the same problems
  • Installer says in the log: cannot initialize the disk

I think:
Windows cannot find the installation disk.
Is the problem with the HAT or the NVMe SSD?
Has anyone managed to install W11 on an NVMe SSD, with what hardware?
Does something need to be changed in the UEFI setup?
Is a driver missing?

Thank you

@mariobalanica
Copy link
Member

NVME and AHCI boot need these drivers: https://github.com/worproject/dldserv-mirror/releases/download/13%2F02%2F2024/storage_v4.zip

Copy them to \Windows\System32\drivers after taking ownership of the original files.

My Micron 2200S 256 GB worked fine, but some drives may not do, for unknown reasons.

image

@huesie
Copy link

huesie commented Mar 23, 2024

Thanks @mariobalanica that worked perfectly - exactly as you described!

For anyone else needing tips:

  1. Prepare small MicroSD FAT32 with UEFI v0.3 files + WoR Imager with the NVMe connected to a Windows PC - see @333337lee's video for all of this: https://youtu.be/haeYUq4RHbk - NB: RPi3 drivers (not RPI4) worked for me.

  2. Follow @mariobalanica's instructions for replacing the storahci.sys and stornvme.sys files before moving the NVMe to the Pi: Installation of Windows 11 #2 (comment)

  3. Booting from the small MicroSD UEFI v0.3 and with the NVMe in the Pi - it worked first time for me - hardware:

RPi5 8GB with latest firmware + old Sandisk 2GB uSD FAT32 for UEFI + Geekworm X1001 (the later version with just the 1× 'Activity' light) + Samsung PM981 256GB NVMe M.2 + GeeekPi Aluminium Case that included official active cooler. NB: I have no affiliation with any of these products - just thought it might help to know exact configuration that worked for me.

@JokerProTW
Copy link

Thanks @mariobalanica and thanks @huesie, yes it works now!
Annotation:
In step 2 you can immediately copy the UEFI v0.3 files into the boot partition of the NVMe. Then you don't need the SD card.
Step 3: boot directly from NVMe and install Windows.

It obviously works with many NVMe's, I tested it with:
-Samsung 970 EVO
-SanDisk Extreme PRO
(I also have no affiliation with any of these products)

My Widows version currently: 23H2, 22631.2861

@333337lee
Copy link

Request please,

640 x 480 and 1280 x 720 resolution

both provide a performance boost when running games. The Pi 4 had a selection option in uefi.

I have tried with config.txt but never had success

@Sorcroc
Copy link

Sorcroc commented Apr 12, 2024

Sorry to bump a rather closed topic but i have a question about your comment regarding "step 2" #2 (comment) @JokerProTW.
I want to boot with only 1 drive plugged in and my windows is already installed.
Does the boot partition need to be empty to paste the UEFI v0.3 files or do you just leave it at the root of the windows boot partition ?

Thank you

@JokerProTW
Copy link

Additionally copy the UEFI v0.3 files into the Windows boot partition (EFI partition), the existing Windows files remain there.

@dehrle0
Copy link

dehrle0 commented May 6, 2024

The updated drivers fixed the issue. Much Thanks!!!

@huesie
Copy link

huesie commented May 7, 2024

Windows 11 Update 23H2, automatically installed by Window Update, was hanging on reboot and starting 'Windows Automatic Recovery' which did not work. Several drivers had been updated including stornvme.sys. This was fixed for me by re-installing the RPi3 drivers - see: https://worproject.com/faq#how-can-i-update-the-drivers (edited to add this) AND repeating the steps in @mariobalanica post: #2 (comment)

@daniol
Copy link

daniol commented Jun 20, 2024

How can I install both Windows 11 and UEFI on the same SD card, without having an external drive?

@clennon81
Copy link

NVME and AHCI boot need these drivers: https://github.com/worproject/dldserv-mirror/releases/download/13%2F02%2F2024/storage_v4.zip

Copy them to \Windows\System32\drivers after taking ownership of the original files.

My Micron 2200S 256 GB worked fine, but some drives may not do, for unknown reasons.

image

These drivers dont seem to work with the new version of Windows 11 that was released, when I try to use them it says they are not digitally signed. How are they updaated?

@zipino
Copy link

zipino commented Jul 18, 2024

Hi everyone, is there a way to install Win 11 on Raspberry Pi 5 with NVMe PCIe M.2 thanks

@zipino
Copy link

zipino commented Jul 18, 2024

Grazie @mariobalanica ha funzionato perfettamente, esattamente come hai descritto!

Per chiunque altro abbia bisogno di consigli:

1. Preparare una piccola MicroSD FAT32 con file UEFI v0.3 + WoR Imager con NVMe collegato a un PC Windows - vedere @333337leeper tutto questo: [ https://youtu.be/haeYUq4RHbk ](https://youtu.be/haeYUq4RHbk) - NB: i driver RPi3 (non RPI4) hanno funzionato per me.

2. Seguire @mariobalanicaper sostituire i file storahci.sys e stornvme.sys prima di spostare NVMe sul Pi: [Installazione di Windows 11  #2 (commento) ](https://github.com/worproject/rpi5-uefi/issues/2#issuecomment-2016505218)

3. Avvio dalla piccola MicroSD UEFI v0.3 e con NVMe nel Pi - ha funzionato la prima volta per me - hardware:

RPi5 8GB con l'ultimo firmware + vecchio Sandisk 2GB uSD FAT32 per UEFI + Geekworm X1001 (la versione successiva con solo 1× luce "Attività") + Samsung PM981 256GB NVMe M.2 + Custodia in alluminio GeeekPi che include il dispositivo di raffreddamento attivo ufficiale. NB: non ho alcuna affiliazione con nessuno di questi prodotti, ho solo pensato che potesse essere utile conoscere la configurazione esatta che ha funzionato per me.
is this the tutorial?

@sebiiii1999
Copy link

Hello
I having Problem replacing the two files "stornvme.sys" and "storahci.sys" I have no permission to replace those two files in \Windows\System32\drivers.

@huesie
Copy link

huesie commented Aug 11, 2024

Hello
I having Problem replacing the two files "stornvme.sys" and "storahci.sys" I have no permission to replace those two files in \Windows\System32\drivers.

Mount it on Linux to do it, or on Windows you need to take ownership of those files and set Full Control.

@NibinNaug
Copy link

NVME and AHCI boot need these drivers: https://github.com/worproject/dldserv-mirror/releases/download/13%2F02%2F2024/storage_v4.zip

Copy them to \Windows\System32\drivers after taking ownership of the original files.

My Micron 2200S 256 GB worked fine, but some drives may not do, for unknown reasons.

Thank you so much : you saved what remains of my sanity ! I spent a day trying, it worked by itself on a SSD in a jMicron USB case, then suddenly seased and no way to boot from my NVMe hat and Samsung NVMe… Oo
You really deserve a Nobel ! ^^

(Geekworm X1003/Samsung MZALQ256B)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests