Can't boot after installing new PCI Sata Controller Card

srayhan6

Distinguished
Nov 3, 2014
23
0
18,510
Greetings,

I own a HP Pavillion p6404y Desktop PC. Recently the onboard SATA controller gave out. I purchased a USB to SATA adapter from amazon (description can be found here) to test if the hard drive failed. I was able to access files from the hard drive, therefore I assume the drive is still good, thus my conclusion that the on board SATA controller failed, because even when I entered the bios it did not recognize the hard drive or the CD drive.

I then bought a PCI SATA controller card from amazon (description can be found here) and installed it onto the PCI port and connected the drive directly onto the SATA Controller card's internal SATA port. However, my computer i still not bootable. when I enter the bios I can again see the hard drive. however when the Windows logo starts to load, the computer shuts down. I tried running the windows start up diagnostic tool and opened command prompt from that. I then ran diskpart and then typed "listdisk" to see a list of the hard drives. and again it looks like the hard drive is not listed. But the hard drive is listed in the bios.

I assume this is because the driver for the SATA Controller card is not installed on the already installed OS in the HDD, but how can I install the driver onto the OS in the HDD if I cant even load the OS to begin with?

Can anyone please help?

Thank you,
Sayeed
 
Solution
So, if you're at the stage where you are doing a complete fresh Install of Windows on your HDD and NOT planning to save ANYTHING that was on that HDD, there is an important step you need. However, BEFORE doing that, if you are not SURE that you need nothing from the HDD, make a clone copy of it to another HDD. Then you can use that to copy over old files to the old drive after you have done the new Install.

When doing a new Install of Windows, right after you have chosen a drive unit for the Install to go to, watch for a prompt asking whether you wish to install any extra device drivers. It will tell you to push the "F10" key to install extras. If you don't see this or ignore it, after a time-out it will disappear. So push F10. Now it...

Paperdoc

Polypheme
Ambassador
This MAY be a driver issue, or it might just be a matter of boot priority order.

In order to boot from any HDD, Windows must have a driver for that device and its controller "built in". Up to Win XP it had such drivers for floppy disk, PATA HDD's and ATAPI optical disk, but not for AHCI devices (which is what a SATA HDD is). Beginning with Vista, though, Windows added the built-in driver for AHCI devices. So, IF your Windows is Vista or later, it should have a driver for this type of device and its controller. To check for sure, contact Tech Support at SYBA and ask exactly what driver is required and whether your Windows should have it already. Also ask specifically whether your system should be able to BOOT from a SATA unit attached to this card in a PCI slot. I saw some information for SOME Syba cards indicating that they are bootable and that recent Windows has a driver already, but those were not specifically for the card you have.

Even if all that is OK, you still can have a problem with drivers if they are confused, and if your boot priority is not set right.

First, the Windows you have already installed on your HDD is expecting that a HDD will be found to boot from connected to a particular SATA port of the mobo. That is no longer that case. So, as a first step, I suggest you try to force the system to find your HDD in the new location, and the best start is to deprive your system of any storage device so it will forget the previous information. Try this sequence.
(a) Shut down and disconnect your HDD, your optical drive, and remove the Syba PCI card. Turn on the machine and let it fail to find any way to boot.
(b) Shut down. Install the Syba card and your optical drive only. Boot up and go immediately into BIOS Setup. Check that the BIOS sees that optical drive. Next, look closely at the SATA ports of the mobo. Is there any option to DISable them? If so, do that so the BIOS will ignore them and look only at other options. Now go to where you set the Boot Priority Sequence, and specify the optical unit as the first and only boot device. SAVE and EXIT, and the machine should try to boot from that optical drive. Unless you have a bootable disk in there (like a Windows Install disk or some diagnostic utility disk) it will fail, but you should be able to tell whether it tried to boot from the optical drive. If it did, then the system was able to direct the boot process to the Syba card and its attached optical unit. This initial phase of booting is entirely done by the BIOS, and does not involve Windows.
(c) Shut down and now connect your HDD to the Syba card. If I understand correctly, that card has only one SATA port, so you will not be able to leave your optical unit connected. Boot directly into BIOS Setup again, and check that the HDD is detected. Go to Boot Priority Sequence and set the HDD as the only boot device, then SAVE and EXIT. The machine should try this time to boot from the HDD attached to the card. If it does, and IF Windows has a built-in driver for this card and its SATA HDD unit, is should work. Watch very carefully for indications whether the system does try to boot from the HDD, and any possible error messages. Even a Windows logo followed by a failure would tell you that it did try to boot there.

Let us know what results you get from this. Good luck!
 

Paperdoc

Polypheme
Ambassador
My guess from the original post is that OP can't get it to boot from a bootable CD because even the optical drive is not working now. I was hoping that my suggestion for getting rid of all traces of the mobo SATA controller system might get the optical unit to work when connected to the new card. If it does, that's progress. Putting a known BOOTABLE disk in the optical drive, like a Windows Install disk, would be a good test of that.
 

srayhan6

Distinguished
Nov 3, 2014
23
0
18,510


Now here is an interesting fact. when I connect the HDD or the Optical drive to the MOBO via the PCI card, I see the HDD or the Optical drive (depending on which one is connected) in the bios in the boot order group priority where it lists which device is in that boot group.

-I went into the bios and then disabled each of the 4 on-board SATA ports.
-Then I disabled the on-board SATA controller itself.
-I then connected the PCI card and the Optical drive to it,. (since the PCI card has only 1 SATA port no HDD was connected)
-I then had a linux mint bootable CD lying around the house so I poped that into the CD ROM drive and set the boot order to boot from CD first (there is no option in the bios to disable all the other boot groups)

The result:
During the pre bios diagnostics screen I did not see the Optical drive listed, however but after bios loads then there is another screen which shows the bios version of the PCI card and there it lists the Optical Drive as device one. (I have tried pressing F1-F12 to try to get into this bios of the PCI card, but it did not do anything)

However, it never loads linux mint and just gets stuck at that screen

Now I have tried the same thing with connecting the HDD instead and same thing happens, but the only difference is that with the HDD the windows logo starts to come up but before it is fully visible the computer gives an error that windows failed to load, and gives the following options:
1. I want to do start up repair
2. I want to try to load windows normally

I selected start up repair and was able to launch command prompt from there, and then went into the "DISK PART" utility and tried to list all the devices, but it does not list the HDD which is connected via the PCI card.
 

Paperdoc

Polypheme
Ambassador
Interesting info. I don't quite understand why it would not load Linux from what you believe is a bootable CD. But the performance with your HDD connected tells me that the BIOS successfully directed the boot process to the storage device connected to your card, but then Windows could not load from that HDD. I suspect again that the root of this problem is that the Windows installed on your HDD does not have the correct driver installed to access the HDD when connected to that controller. Very likely your Windows has the built-in driver for the mobo's SATA ports installed and is still trying to use that, and those hardware resources.

I can make one suggestion, BUT this involves making changes to your Windows installation on the HDD. If that goes wrong, you could make that unit unusable. So IF you want to try this, give serious though to making a clone of your HDD first, even if only to a different HDD that is used only temporarily for this. Then you could always restore to the original if this does not work.

So, the process I suggest here uses a standard Windows Install disk tool called Repair Install. Its function is to NOT do a normal Windows Install on your HDD. Instead it surveys the hardware currently in your system and the drivers currently installed under Windows on the boot device (HDD). Then it tries to resolve any mis-matches by replacing unused device drivers with the ones that are necessary but missing. When the process is finished you exit out of the Install routines, remove the CD from the optical drive, and reboot.

The big practical problem here is that you need both a HDD and an optical drive attached and working, and you have only one SATA port on the new card. Now, that card also has an eSATA port, and I presume that both ports can be active simultaneously. Further, although there are a few differences between the signals from an eSATA port and a "normal" SATA port, most SATA devices can work with both signal systems. The smaller problem is that the connectors for the eSATA port are not the same as a standard internal SATA cable. So, if you can arrange to connect one of your two devices to the eSATA port of the card, you may be able to get both of them working and available as bootable devices.

Then you need your original Windows Install CD, or at least CD with the same version of Windows on it. You place that disk in the optical drive and boot immediately into BIOS Setup, where you go to the Boot Priority sequence and set it to boot from the optical unit first, and the HDD second. Then SAVE and EXIT, and the machine should boot from the Install CD in the optical drive. Do NOT run a normal Install! Find the Repair Install option and run that to resolve driver problems. At the time this is done, you should already have DISabled the mobo SATA controllers and ports, which you have done, I believe. That way only the Syba added card in the PCI slot will exist for Windows Install to "see".

IF this works, it may install the proper driver for the Syba card and set Windows properly to find your HDD on the SATA port on that card. Then it might actually boot from that system.
 

srayhan6

Distinguished
Nov 3, 2014
23
0
18,510
Here is a quick update. So I decided that I would just forget about the data on the hard drive and just try a fresh install.

-So I went into the System Recovery by Pressing "F11" during start up.
-Then I selected "Load Drivers"

(since I had to choose between an optical drive and the HDD, I copied the drivers for the PCI card which came in a CD onto a USB drive)

-I browsed to the appropriate driver and selected it.
-After a few moments when the "SystembRecovery environment" loaded the drivers, I saw the Operating System section get populated with the operating system on the hard drive.

(I thought this was really great news because after the drivers got added the "System Recovery Options" saw the Operating System that was installed.)

-From there, I selected the following Radio button:
"Restore your computer using a system image that you created earlier"
(There were 2 options:
1. "Use recovery tools that can help fix problems starting Windows. Select an operating system to repair"
2. "Restore your computer using a system image that you created earlier")

-Clicked "Next"

There I got an error pop-up:
"Windows cannot find a system image on this computer

Attach the backup hard disk or insert the final DVD from a backup set and click Retr. Alternatively, cloe this dialog for more options."

-I clicked "Cancel"
-The I landed on a menu where it said This computer will be restored using the ystem image. Everything on this computer will be replaced with the information in the system image."

and the only option available was a radio button that read: "Select a system image"
-So I selected that and clicked "Next"

There I was prompted to specify where the system image was located and there was also an "Advanced" button present.

-I clicked the "Advanced" button.

I then got a pop-up with 2 options:
1. Search for a system image on the network
2. Install a driver

-I selected "Install a driver"
and again I browsed to the USB Flash drive with the Driver for the PCI card and installed it.
Unfortunately there was still no Image found and I had to cancel out of that. However this landed me back in the main screen for "System Recovery"
From here I ran the command prompt again and ran diskpart and saw that the hard drive was listed as Disk 5. Disk 0-3 where "No Media", Disk 4 was the USB with the driver and Disk 5 was the HDD.

So I exited the command prompt which landed me back in the main screen for "System Recovery"
From there I ran "Startup Repair"
This brought up the HP Recovery Manager tool.

From here I selected "System Recovery" and went through with the entire process of wiping everything on the hard drive and reinstalling the factory vanilla image.

After which the system rebooted (so I thought this should be good because now the OS got installed with the PCI card installed.) However, when it did reboot again it does the same thing.

The Windows logo comes up but before it could fully load the the system reboots itself.
 

Paperdoc

Polypheme
Ambassador
So, if you're at the stage where you are doing a complete fresh Install of Windows on your HDD and NOT planning to save ANYTHING that was on that HDD, there is an important step you need. However, BEFORE doing that, if you are not SURE that you need nothing from the HDD, make a clone copy of it to another HDD. Then you can use that to copy over old files to the old drive after you have done the new Install.

When doing a new Install of Windows, right after you have chosen a drive unit for the Install to go to, watch for a prompt asking whether you wish to install any extra device drivers. It will tell you to push the "F10" key to install extras. If you don't see this or ignore it, after a time-out it will disappear. So push F10. Now it will ask you where that driver might be located. In Windows up to XP your only choice was it had to be on a floppy disk. But you probably will have the option to choose your USB stick that has the device driver(s) for the added Syba card, so point it there. It will ask for what driver file you want to add, and you tell it, and it does that. Then it will loop back and ask if you have others to install. If you do (for example, if Syba's instructions say there is more that one driver required), tell it about that, too. Repeat until all added drivers have been installed, then use the option to exit this process and continue with the normal Install. This process makes those extra drivers you add into "built-in" ones for this custom version of Windows so that it can use that device both for file access and to BOOT from it.

When this fresh Install of Windows is complete you should be able to remove the Install disk and boot from the HDD. Once that works, you will need to re-Install all your application software. The new Windows has an empty set of Registry files that know nothing about any software. The respective application software Install processes write the necessary info into the Registry files so those apps can be used. AFTER that is done, you can copy user files from that backup clone copy of your old HDD onto the "fresh" old HDD so that everything is there.
 
Solution