[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 638
  • Last Modified:

restore xp image to a new system setup with raid0

I have an XP Image which i have pushed out to a HP workstation using Altiris DS 6.9 sp1. I am using Linux Managed PXE boot.  The workstation has 2 sata HDD setup as Raid0. When i do the image restore, that is succesfull, but when it tries to boot to windows from that new image restore it errors with invalid disk error.
i have gone into the bios and set the sata emulation to Raid/AHCI and that has brought no joy.  I think it maybe with the device drivers when i created the Altiris boot disk but i am sure i have included all raid and sata controller driver. Please if anyone has any light on this.

thanks
0
symbian1942
Asked:
symbian1942
  • 6
  • 5
  • 3
  • +1
2 Solutions
 
RandyReichertCommented:
Not sure if this is the cause....

but XP does not support software raid.
0
 
sifueditionCommented:
Try doing a repair install and supplying the appropriate drivers.  If that resolves the issue, then the root cause lies in the drivers not loading properly from the image.  That image may need to be created on the same hardware setup in order for the registry entries to work correctly on first boot.
0
 
RandyReichertCommented:
Windows XP images are HAL specific. You have to put them on machines that are nearly identical to the one that it was made from. Sifuedition is correct about having to create it on the same hardware set-up.
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
symbian1942Author Commented:
Pushing the xp image on the same machine with only 1 sata HDD has worked. Its only when 2 HDD were added as a raid0 that it doesn't boot up. i have done a fresh install of windows xp on the 2 HDD with raid0 and that works but what i want to be able to do is to use the image that that has already been created.
0
 
sifueditionCommented:
Have to attempted to create the image from the 2 drive setup?  If the image is created from that type of install, it should work.  If the image is created from the single drive setup and then applied to the 2 drive setup, the hal and the registry may not be compatible.

If you are trying to have a single image for both single drive installs and the 2 drive installs, I am not sure this will work.  You will probably need two different images if you have two configurations in your environment.

I have not used it, but I hear that Acronis True Image has a Restore to Dissimilar Hardware option that may work for applying images to a moderately different hardware set.
0
 
RandyReichertCommented:
Why can't you add the second drive after you push the image?
0
 
sifueditionCommented:
That is an interesting point.  The question would be what kind of raid is being implemented?  If this is hardware raid, it will have to be setup prior to the install.  If this is Windows dynamic disks, it could be donw after the install.  This could probably even be scripted and applied via GPO.
0
 
symbian1942Author Commented:
I didnt created the orignal image, but i am sure that the image was created from a machine with a RAID0 setup. I have set the 2 hard disks as a RAID before any image has been pushed out so it may be a hardware raid. So what I have is 2 HDD and i want them to behave as 1 big drive, hence the RAID0. So pushing the image out onto 1 disk and then adding the second disk after will not work as i have to first setup the RAID with the 2 disk installed before hand.
0
 
sifueditionCommented:
It sounds like the image may be using the wrong raid driver.  I am basing this on the fact that your process should be correct, as you described it.  The image was created on the same hardware and configuration.  The hardware array was configured prior to OS install.  If this works on a stand-alone install, I have to assume that you used the correct driver.  Since you did not create the image, however, I hate to assume that whoever did was as diligent as yourself, since we are having this issue.

Alternatively, there is another possible root cause.  Most client machines don't use a proper hardware raid.  They will usually use a software raid or what I call a "hybrid" raid.  The hybrid raid is a driver based raid that has a minimal pre-boot element to attempt to trick the boot.ini to look to both disks rather than just the one that is configured.  
This kind of array can be implemented in a large variety of ways just depending on the manufacturer.  They may even have some kind of software/driver/config/registry entry that records information specific to that instance of the raid.  For instance, when the image was created, the raid setup on that system reported abc123 as the raid instance to the driver.  Now, this machine creates an array with an id of def456 on the raid instance and they don't match.

What hardware are we working with for the raid?
0
 
symbian1942Author Commented:
The image works fine when pushed out to a stand alone PC with 1 Hard Disk.

The machine is HP XW6600 which has 2 seagate barracuda 7200 SATA 500GB HDD. i created the raid using The IntelĀ® Matrix Storage solution.
0
 
gardmanITCommented:
Hi,

If the machine is doing hardware RAID 1 (i.e. you follow a prompt at POST to enter the hardware raid screen that comes up before you see windows starting) then you MAY be able to add the second disk and make it RAID 1 after you have imaged back to a single disk. It depends on the functionality of your raid controller. Some instist on you creating a raid 1 set first some will let you add a second disk to the first and make a raid 1 set by copying the data already on the first disk as Raid 1 just mirrors the data onto the second disk.

If its software RAID 1 done through windows dynamic disks again you should be able to image back to a single disak and add the software raid onto the second disk once added later.

Only if your hardware is doing some wierd form of hybrid raid 1 that is configured after windows is at least partly started or if you hardware cointroller does not support adding a disk and mirroring them (raid1) should this be a problem.

If is Hardware raid do the following.

take your failed install onto the mirroed pair and play with it.
1. pull the second disk and re-boot into the raid controller, it should show the radi1 set a degraded. There should be an option to break the mirrored pair (leaving a single disk).
2. Out of interest does it boot now? If it does Re-Install the second disk and follow the rest of the instructions from 3 below, if not follow all of the instructions below.

1. Install 1 disk you obviously wont be able to set raid on this
2. Image back to the PC (You state this worked).
3. Install the second drive.
4. Boot the PC and take the hardware raid controllers POST prompt to enter the configuration manager for RAID,
5. Tell it to add the second disk to the first as a raid 1 set.

if its windows software raid do the following.

1. Image to a single disk.
2. Boot and right click my computer , select manage, disk manager, right click the disk and convert to dynamic.
3. Install second disk and boot into windows.
as per 2 run disk manager and add the second drive as a software mirror.

Unless you have some poor raid hardware or weird hybrid raid then the problem almost certainly lies in the hardware from which the image was taken not being identical raid hardware to the destination PC. If this is the case then a repair install over the top of the failed two disk re-image with the CORRECT raid drivers for the hardware concerned should fix it. The drivers must be the cortrect ones for the destination hardware though and for the correct OS.

Good luck.
0
 
symbian1942Author Commented:
Thank you for your (GardmanIT) help, but it seem your solution is based on a RAID1(Mirrored) setup. I want the 2 HDD to be setup as a RAID0(Striped). I did try to put the image onto 1 disk and then boot into windows, then to disk management, set the disk to dynamic but it wouldn't allow me to extend the disk size.
i think it could be the correct raid/sata drivers are not being loaded onto that machine after the image has been pushed out. would that be the case? also how would I add the correct drivers after an image has been pushed out? thanks
0
 
gardmanITCommented:
Hi,

if its that the machine has the worng drivers for the hardware raid card loaded the only possible way to change these and get it booted might be to...

First find out precisely what Hardware RAID controller you have, it may be built in to the motherboard in which case go to the makers website or a thrid party seperate raid controller in a PCI slot if so go to their webiste. Download the Raid chipsets drivers for Widnows XP and put them on a disk or media source available from boot. USB key if the machine bios support USB at boot else a floppy disk or cd if not.

1 Setup disks Raid 0 Performance striped as required.
2. Put the image onto the raid set.
3. Insert and boot from your OS XP installation disk and boot from it.
4. When prompted select the location for your hardwares Windows XP RAID drivers (e.g. floppy, USB key, CD etc that you put them on earlier.
4. Try a repair installation of windows.
5. See if it works now.

The windows XP setup disk asks you to fress F6 early in its boot process if you want to load addiitional RAID drivers, this is what allows the install to use drives for newer cards that aren't built in. Having loaded the correct drivers to get itslef booted and let it access the RADI 0 disk if you then run a repair install it basically replaces the windows main files (including the RAID drivers) with the original files.

Please note if this works your OS and installed software will be preserved from the original image but windows will be back to the update level of the original Install CD used so you will probably need to update windows to the latest Service Pack and security updates after you have done this.

Good luck.

0
 
sifueditionCommented:
One way I have seen to add the driver after the install is to boot to the OS disk, F6 the correct driver and do a repair install.
0
 
gardmanITCommented:
I think their is an echo, echo, echo in here
0
 
symbian1942Author Commented:
Ok...the problem was with incorrect drivers loaded after the image has been pushed out. Using the LINUX PXE boot in Altiris Deployment server, it didnt have the correct/updated drivers for the chipset(Intel 5400). i have changed the PXE boot to DOS(which did contain the correct drivers) and then reapplied the XP image that i was using before and long and behold it worked!! :) there must be a problem with Linus PXE boot and Raid controllers. thanks for your help guys, i have learned something new here. Cheers
0
 
symbian1942Author Commented:
Ok...the problem was with incorrect drivers loaded after the image has been pushed out. Using the LINUX PXE boot in Altiris Deployment server, it didnt have the correct/updated drivers for the chipset(Intel 5400). i have changed the PXE boot to DOS(which did contain the correct drivers) and then reapplied the XP image that i was using before and long and behold it worked!! :) there must be a problem with Linus PXE boot and Raid controllers.
0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

  • 6
  • 5
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now