How can I add storage drivers to BootCD?

Ask your support questions in here

Moderator: Moderator Team

Post Reply
User avatar
StereoLuigi99
Posts: 3
Joined: Sun Mar 16, 2025 12:14 am

How can I add storage drivers to BootCD?

Post by StereoLuigi99 »

I want to install ReactOS to my external SATA III SSD. I can boot BootCD with USB ramdisk but BootCD can't detect my SATA drives.
I remember Windows XP Integral Edition with Microsoft SATA drivers detecting my integral SSD at setup phase. NT didn't support external SSD installation back then. If that changed with ReactOS, I want to integrate Microsoft SATA drivers to BootCD. That way, I can install ReactOS to my external SSD. I have CSM (Legacy Support) enabled and Secure Boot disabled.

The problem is I can't find a good wiki page or a topic about it. I got my build environment and source code ready. Only thing I found was the slipstreaming drivers page that covered up the topic of installing drivers in first phase of setup. There were also some topics that required DVD-RW, SATA-AHCI settings in BIOS or PXE servers. Unfortunately I don't have any of them.

Here's my system information:

Laptop Model: HP 15-AY102NT
CPU: Intel Core i5-7200U
Integral GPU: Intel HD Graphics 620
External GPU: AMD Radeon R5 M330/M430
RAM: 1x8 GB DDR4
Illen
Posts: 64
Joined: Mon Feb 20, 2017 7:12 pm

Re: How can I add storage drivers to BootCD?

Post by Illen »

Here is an example on how to do it with Intel iaStor driver:
https://github.com/archeYR/reactos/comm ... b4fe31b3e4

Then you would need to drop iaStor.sys to modues\drivers then reconfigure and rebuild ISO.
StereoLuigi99 wrote: Sun Mar 16, 2025 12:52 am I want to install ReactOS to my external SATA III SSD.
What is meant by "external"? USB or eSATA drive?
StereoLuigi99 wrote: Sun Mar 16, 2025 12:52 am I want to integrate Microsoft SATA drivers to BootCD
If you are talking about MS storahci then this isn't going to work because ReactOS storport is not complete.
StereoLuigi99 wrote: Sun Mar 16, 2025 12:52 am CPU: Intel Core i5-7200U
Alternatively you could try to get it working with UniATA driver, find device ID for your AHCI controller and comment it out from this list:
https://github.com/reactos/reactos/blob ... devs.h#L40
User avatar
StereoLuigi99
Posts: 3
Joined: Sun Mar 16, 2025 12:14 am

Re: How can I add storage drivers to BootCD?

Post by StereoLuigi99 »

What is meant by "external"? USB or eSATA drive?
An Intenso SSD (SATA III 2.5") connected to my laptop with an SSD box. The SSD box is from Ugreen and I think the box has ASMedia ASM1153 in it.
The product looks like this.

[ external image ]
If you are talking about MS storahci then this isn't going to work because ReactOS storport is not complete.
I'm talking about Microsoft's genahci driver. Windows XP detected my internal SSD successfully with that driver. Not my external SSD though.
Alternatively you could try to get it working with UniATA driver, find device ID for your AHCI controller and comment it out from this list:
https://github.com/reactos/reactos/blob ... devs.h#L40
Thanks, I'll try it. I will notify the results.

EDIT: ReactOS saw my internal SSD successfully.
I think I will try ReactOS by cloning my Windows 10 setup to external SSD and setting up ReactOS to internal SSD.
Last edited by StereoLuigi99 on Thu Mar 20, 2025 10:56 pm, edited 2 times in total.
Illen
Posts: 64
Joined: Mon Feb 20, 2017 7:12 pm

Re: How can I add storage drivers to BootCD?

Post by Illen »

StereoLuigi99 wrote: Thu Mar 20, 2025 7:37 pm An Intenso SSD (SATA III 2.5") connected to my laptop with an SSD box. The SSD box is from Ugreen and I think the box has ASMedia ASM1153 in it.
The product looks like this.

[ external image ]
For that you need a driver for USB (xHCI) controller, not AHCI. There were some 3rd party Windows XP xHCI drivers that were modified to work with Intel xHCI controllers, or the backported Windows 8.x xHCI stack. You can try searching for them, I believe some of them could also be included in the XP Integral modification that you were using.

EDIT: I found this old change I had for slipstreaming the AMD xHCI XP driver modified to work with Intel controllers. Sadly the original link doesn't work anymore but it seems you can still find it by searching for the AMDXHCI_XP_FINAL package.
StereoLuigi99 wrote: Thu Mar 20, 2025 7:37 pm I'm talking about Microsoft's genahci driver. Windows XP detected my internal SSD successfully with that driver. Not my external SSD though.
From what I remember that was based on storahci, which is a storport miniport, so it is not going to work.
User avatar
StereoLuigi99
Posts: 3
Joined: Sun Mar 16, 2025 12:14 am

Re: How can I add storage drivers to BootCD?

Post by StereoLuigi99 »

Drivers actually work and I see it detected my external SSD. Unfortunately I get the error "The ReactOS Setup could not find a supported system partition on your system or could not create a new one. Without such a partition the Setup program cannot install ReactOS."

Weird that I can try to install ReactOS into the USB stick I'm booting from but not into my external SSD. The USB partition has a star at the beginning but SSD doesn't. Tried to make it MBR and FAT32, NTFS but didn't manage to make the error message go.
Illen
Posts: 64
Joined: Mon Feb 20, 2017 7:12 pm

Re: How can I add storage drivers to BootCD?

Post by Illen »

StereoLuigi99 wrote: Fri Mar 28, 2025 12:15 pm Drivers actually work and I see it detected my external SSD. Unfortunately I get the error "The ReactOS Setup could not find a supported system partition on your system or could not create a new one. Without such a partition the Setup program cannot install ReactOS."

Weird that I can try to install ReactOS into the USB stick I'm booting from but not into my external SSD. The USB partition has a star at the beginning but SSD doesn't. Tried to make it MBR and FAT32, NTFS but didn't manage to make the error message go.
Can you reproduce that problem in a VM with external USB SSD passed through? Maybe you could capture the debug output and create a ticket on Jira, or if you cannot reproduce the problem, complete the 1st setup stage on external USB SSD through VM and then continue the setup on your laptop.

On another note, if you want to boot from xHCI drive and you are using the AMD .inf files from my old xHCI branch, you should change the "StartType" values from 3 to 0.
User avatar
StereoLuigi99
Posts: 3
Joined: Sun Mar 16, 2025 12:14 am

Re: How can I add storage drivers to BootCD?

Post by StereoLuigi99 »

Illen wrote: Sat Mar 29, 2025 1:49 pm ...Maybe you could capture the debug output and create a ticket on Jira...
I opened my ticket on Jira. https://jira.reactos.org/browse/CORE-20070
Illen
Posts: 64
Joined: Mon Feb 20, 2017 7:12 pm

Re: How can I add storage drivers to BootCD?

Post by Illen »

StereoLuigi99 wrote: Sat Mar 29, 2025 10:57 pm I opened my ticket on Jira. https://jira.reactos.org/browse/CORE-20070
Unfortunately when I tried to boot ReactOS, it gave me a BSoD of 0x7B. Couldn't send any debug log from real hardware because it always stucks at loading mup.sys. VirtualBox successfully installs ReactOS too but doesn't see the drive anymore on reboot.
This probably is a problem with this specific xHCI driver, it may not handle USB boot well. You will probably have to try finding some other driver.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests