ahci.sys

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
victor
Posts: 3
Joined: 29 Dec 2014 04:20

ahci.sys

#1 Post by victor » 29 Dec 2014 04:42

where can I download the dos cdrom driver ahci.sys ?
I can't find a link.

Reply:

I want to boot from dos because I use a dos tool.
I cannot boot from floppy because my usb floppy drive needs a windows driver.I must boot from cdrom.
Booting from cdrom succeeds but I can't read my cdrom.
I think windows 98 drivers will not work with dos.
I've already tried gcdrom.sys and xcdrom.sys but it didn't work.
I think I need the dos driver ahci.sys because i've detected my cdrom controller is a SATA AHCI controller.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: ahci.sys

#2 Post by foxidrive » 29 Dec 2014 04:52

There are many CDROM drivers for MSDOS.

Get a Windows 98 SE boot floppy disk and it will have several on it - boot it up to test if it works with your cdrom. It's very likely that it will.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: ahci.sys

#3 Post by foxidrive » 29 Dec 2014 05:54

victor wrote:I want to boot from dos because I use a dos tool.
I cannot boot from floppy because my usb floppy drive needs a windows driver.I must boot from cdrom.
Booting from cdrom succeeds but I can't read my cdrom.
I think windows 98 drivers will not work with dos.
I've already tried gcdrom.sys and xcdrom.sys but it didn't work.
I think I need the dos driver ahci.sys because i've detected my cdrom controller is a SATA AHCI controller.



Windows 98 SE drivers on the floppy disk are dos drivers, but one aspect you will find is that when you boot from CDROM the driver will reset the cdrom
and it can stop the boot process.

You can use a Virtualbox machine to run the dos file in - if you explain the process then you may get better options.

Squashman
Expert
Posts: 4465
Joined: 23 Dec 2011 13:59

Re: ahci.sys

#4 Post by Squashman » 29 Dec 2014 07:52

Did you try looking at bootdisk.com or allbootdisks.com

victor
Posts: 3
Joined: 29 Dec 2014 04:20

Re: ahci.sys

#5 Post by victor » 29 Dec 2014 14:19

I've looked add the windows 98 SE floppy image of the site allbootdisks and it contains several cdrom drivers:
oakcdrom.sys (for ATAPI cdrom)
different aspi drivers for SCSI cdrom's
btdosm.sys (for multimaster SCSI cdrom)
btcdrom.sys

but no ahci.sys

I've also looked to the windows98 image of another site w/o success

ShadowThief
Expert
Posts: 1160
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: ahci.sys

#6 Post by ShadowThief » 29 Dec 2014 15:23

ftp://ftp.hp.com/pub/softpaq/sp39501-40000/sp39596.exe looks promising.

TITLE: SATA Compatible AHCI Driver

VERSION: 1.0.0.0 Rev. A
DESCRIPTION:
This package contains a utility to provide the SATA compatible AHCI driver and
supporting files that are necessary for Drive Letter Access (DLA) when booting
from a SATA optical drive. It can be used with the supported workstation models
and operating systems.

This package creates a bootable HP USB Flash Key or boot image on a diskette
(floppy) that contains the files that can be used for SATA DOS boot with Drive
Letter Access (DLA).

PURPOSE: Routine
SOFTPAQ NUMBER: SP39596
SUPERSEDES: None
EFFECTIVE DATE: June 1, 2009
CATEGORY: Utility - Tools
SSM SUPPORTED: No

PRODUCT TYPE(S):
Workstations

HARDWARE PRODUCT MODEL(S):
HP xw4600 Workstation: All Models
HP xw6400 Workstation: All Models
HP xw6600 Workstation: All Models
HP xw8400 Workstation: All Models
HP xw8600 Workstation: All Models

SOFTWARE PRODUCT(S):
None

OPERATING SYSTEM(S):
FreeDOS
Microsoft Windows Vista Business 32 Edition
Microsoft Windows Vista Enterprise 32 Edition
Microsoft Windows XP Professional

LANGUAGE(S):
Global

ENHANCEMENTS:
- Adds support for Microsoft Windows Vista Enterprise Edition Operating
Systems.

PREREQUISITES:
None

INSTALLATION INSTRUCTIONS:
1. Using a 32-bit operating system, download the SoftPaq .EXE file to a
directory on your hard drive.

2. Extract the package to the default location, which is:
c:\swsetup\sp39596

3. Run autoexec.bat from the sp39596 directory.

4. Follow the online (prompt) instructions. The Command window closes
automatically when finished.

5. If making a bootable USB key, use the Microsoft Windows "Safely Remove
Hardware" utility in the system tray to ensure the drive is synchronized before
removing.

Files included in this folder are:
Readme.txt (this file)
files\ahci.sys
files\autoexec.bat
files\config.sys
files\SataDosBoot_MWP.pdf
files\shcdx86.com
freedos\kernel.sys
freedos\freedos_source.zip
freedos\command.com
autoexec.bat
choice.com
copydisk.exe
diskimag.img
hpusbf.exe
mkflpy.cmd
mkusb.cmd


Copyright (c) 2008-2009 Hewlett-Packard Development Company, L.P.

Squashman
Expert
Posts: 4465
Joined: 23 Dec 2011 13:59

Re: ahci.sys

#7 Post by Squashman » 29 Dec 2014 16:02

Just did a Google search for the file you were looking for. Seems to be plenty of options for getting it.

ShadowThief
Expert
Posts: 1160
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: ahci.sys

#8 Post by ShadowThief » 29 Dec 2014 16:26

Squashman wrote:Just did a Google search for the file you were looking for. Seems to be plenty of options for getting it.

Almost every single link I found for it was the same dead hp.com link.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: ahci.sys

#9 Post by foxidrive » 30 Dec 2014 00:25

This is another option it seems. Google for gcdrom.sys

http://help.fdos.org/en/hhstndrd/base/gcdrom.htm

I wasn't aware that the SATA interface would be an issue - sorta thought the BIOS would translate it.

victor
Posts: 3
Joined: 29 Dec 2014 04:20

Re: ahci.sys

#10 Post by victor » 30 Dec 2014 05:00

Hi ShadowThief,

Thanks for your link to HP.I've downloaded ahci.sys and it works!

mwstroberg
Posts: 2
Joined: 19 May 2022 17:21

Re: ahci.sys

#11 Post by mwstroberg » 19 May 2022 17:52

I just downloaded and tried out ahci.sys in order to try to get a SATA optical drive to be readable in DOS. However, there does not seem to be any documentation as to its command line parameters. When I run it with just the /D:CDROM argument, it apparently only looks at the ports on the first SATA controller, and does not see the optical drive, which is on a port on the second controller. Is there a way to tell it to look at a controller other than the first, using a command line argument similar to the /Cx argument for gcdrom.sys? Any help would be appreciated.

penpen
Expert
Posts: 1991
Joined: 23 Jun 2013 06:15
Location: Germany

Re: ahci.sys

#12 Post by penpen » 24 May 2022 09:15

I don't remember any driver named "AHCI.SYS", but i think i remember one named "AHCICD.SYS", so no guarantees for the following:
If i remember right, then the "AHCICD.SYS" has an optional parameter "/C:<#AHCI-Controller>", where "<#AHCI-Controller>" is a digit from 0 to 9.
If you leave out that parameter, it typically only searched the first AHCI-Controller.

So the line in your "config.sys" might be the following:

Code: Select all

DEVICE=AHCI.SYS /D:CDROM /C:1

penpen

mwstroberg
Posts: 2
Joined: 19 May 2022 17:21

Re: ahci.sys

#13 Post by mwstroberg » 02 Jun 2022 22:54

Hi penpen. I had already tried /C:<#AHCI-Controller>, but no matter what number I used, it only scanned the first controller (0). There must be documentation on this somewhere, but I simply cannot find it. Thanks for trying.

Post Reply