Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!
Showing posts with label Omann. Show all posts
Showing posts with label Omann. Show all posts

Friday, May 10, 2013

delete grub2, recover windows mbr

http://www.sevenforums.com/tutorials/20864-mbr-restore-windows-7-master-boot-record.html
If you have been dual booting with Linux, then you probably know one of the Linux boot managers like Grub or LILO has been installed in the MBR of your hard drive. What can you do when you no longer want Linux on that hard drive? This tutorial will show you how to use your 7 DVD and BOOTSECT.EXE to restore the "bootsector code" of the MBR and allow you to begin booting to Windows 7 again.

1. Boot your computer to the Windows 7 DVD (or to a "Repair CD"). At this screen choose to install now. 
2. Select your language and click next.3. Click the button for "Use recovery tools".
Load drivers if you have a SoftRAID

4. Then select "Command Prompt".

5. When open, the command prompt will look like this:

6. The command we will use, bootsect.exe, is in a folder (named boot) on the DVD.
We need to know what drive letter has been assigned the DVD drive to access the folder.
Code:
Type: diskpart
and press Enter
 
Type: select disk 0 (zero)
and press Enter
 
type: list volume
and press Enter
In this screen shot, the 7 DVD is letter: G

7. Use your DVD drive letter and
Code:
Type: exit
and press Enter
 
to close Diskpart
 
Type: G: (use the letter of your DVD drive)
and press Enter
 
Type: cd boot
and press Enter
 
Type: dir
and press Enter
to verify that bootcect.exe is there (if you really need to)

8. To restore the "bootsector code":
Code:
TYPE: bootsect /nt60 SYS /mbr
and press Enter
NOTE: If this method fails to restore the MBR, you can try the bootrec command as it is also a tool for repairing the MBR.
9. When completed successfully,
Code:
Type: exit
and press Enter
This will close the command prompt window.
10. Now select Shut Down or Restart

11. Then you can reboot your computer into Windows.

============================
http://tech.reboot.pro/showthread.php?tid=2145
Insert the win7 recovery disc inside a CD/DVD or flash drive (use YUMI)
after booting the disc, go to the command prompt and type the following:
This part makes sure that "access denied" won't show up when restoring mbr.

Diskpart
list vol
sel vol Z (The Z changes according to what drive letter your WINDOWS installation exists)
act
exit

This part is the actual input to restore mbr. Again, "X" changes depending on your WINDOWS installation

bcdboot D:\windows /s X:
bootsect /nt60 D: /mbr

===========================
http://tech.reboot.pro/showthread.php?tid=1424
If you have a Windows 7 installation disk, or also known as a repair disk, which every Windows 7 user should take the time to burn off to a CD from their Windows 7, you can boot from the disk through your boot menu or changing the boot order to boot from that disk.

In here there's an option for command prompt. It will start you off in a System32 drive for the Windows machine it previously found on the window before it allows you to choose cmd prompt as an option, and it labels this as X but don't be alarmed. 

From here you want to navigate to the boot dir, so using this command, that can be done:
cd Boot

Then in here there's a file called bootsect.exe. This is what our lifesaver is going to be... Since we run (Or I) Windows 7, you need to remember the parameter /nt60, this basically is short for the Windows NT 6.0 and greater. Any earlier, and you would have to use /nt52 which should be anything below Vista if i'm correct.

Here's the command we're going to use:
bootsect /nt60 SYS /mbr

There's a force command, but I would recommend not using it, since it's not really needed for this and it is a little dangerous.

This command basically tells you to repair/update the boot record for the SYSTEM drive allocated to your Windows OS found during the CD's startup. Once this is done, you can use the exit command to close the window, and then choose to Reboot your machine.

You should now be able to get back into Windows, and no more annoying Grub boot menu asking you if you want to boot from Linux or Windows. I never used my Linux is the thing, so I finally decided to get rid of it after some thought, and now I can just use my Windows. :)
===========================
http://askubuntu.com/questions/131168/how-do-i-uninstall-grub

WARNING: EXTREMELY DANGEROUS

Do not do this. The first command will wipe out the partition table (as the OP mentioned), but the second command will cause undefined behaviour if the MBR is not configured properly. 
1 You can use dd command from Linux itself (it removes partition table):
 # dd if=/dev/null of=/dev/sdX bs=512 count=1
2 Just remove MBR, without the partition table (see comment below):
# dd if=/dev/null of=/dev/sdX bs=446 count=1
Replace /dev/hdX with your actual device name such as /dev/hda. Use fdisk -l command to find out device name:
# fdisk -l
Source
  1. http://www.cyberciti.biz/faq/linux-how-to-uninstall-grub/

------------------------------
dump the raw MBR data
sfdisk -d /dev/sdb > sdb.out
-------------------------

you can render the device not bootable simply by making the first few bytes of the disk 0x00.
Typically (and this is true for both grub, grub2 and ntldr iirc) the very first byte of your drive is going to be an x86 jmp instruction. This occurs before even the disklabel, because when passing execution to the device to bootstrap it, it simply sets the CPU to suck in the device information as code. If it has invalid code it triggers an interrupt and the BIOS handles the exception and goes to the next bootable device.
For instance, the beginning of my disk starts with:
00000000  eb 63 90 d0 bc 00 7c fb  50 07 50 1f fc be 1b 7c  |.c....|.P.P....||
The first part is eb 63 which is Jump to offset 0x63.
00000060  00 00 00 00 ff fa 90 90  f6 c2 80 74 05 f6 c2 70  |...........t...p|
00000070  74 02 b2 80 ea 79 7c 00  00 31 c0 8e d8 8e d0 bc  |t....y|..1......|
Execution continues from here.
The end of the sector looks like this:
000001b0  cd 10 ac 3c 00 75 f4 c3  ed db 96 d6 00 00 80 01  |...<.u..........|
000001c0  01 00 83 fe ff ff 3f 00  00 00 c1 07 a6 0e 00 fe  |......?.........|
000001d0  ff ff 83 fe ff ff 00 60  00 11 00 00 38 29 00 fe  |.......`....8)..|
000001e0  ff ff 82 fe ff ff 00 08  a6 0e 00 58 5a 02 00 00  |...........XZ...|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
If your disk is formatted as an MBR partition table then it only needs two things to be present, the partition table which is at offset 0x1be and the MBR signature, 55aa which occurs at the very end of the sector at offset 0x1fe0x1be is decimal 446.
The following will (of course) make the device unbootable. But this is what you want. If you don't want to make your device unable to be booted then don't do this mmm-kay? I'm assuming your device is /dev/sdz, simply because not many people have a /dev/sdz, and this lowers the risk of some idiot newb blindly copy pasting commands.
First, copy the MBR to a file for a backup.
sudo dd if=/dev/sdz of=/some/where/safe/preferably/not/on/dev/sdz/backup.mbr bs=512 count=1
Next, make a copy of that file:
cp backup.mbr backup.mbr.test
Next, we have to create a loopback device (so that the contents don't get truncated.) And apply the changes on our fake sector 0 as a test:
sudo losetup /dev/loop7 backup.mbr.test
sudo dd if=/dev/zero of=/dev/loop7 bs=446 count=1
sudo losetup -d /dev/loop7
Hexdump the file and make sure that the entire partition table is intact:
sudo hexdump -C backup.mbr.test
You should see something like:
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 01  |................|
000001c0  01 00 83 fe ff ff 3f 00  00 00 c1 07 a6 0e 00 fe  |......?.........|
000001d0  ff ff 83 fe ff ff 00 60  00 11 00 00 38 29 00 fe  |.......`....8)..|
000001e0  ff ff 82 fe ff ff 00 08  a6 0e 00 58 5a 02 00 00  |...........XZ...|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200
Now, 0x1be is where you see 80 on the hexdumped output, this can also be 00 and still be valid. (It's the "bootable" flag in the partition table, you can leave it alone, because it's completely ignored by most modern BIOSes...) The byte at 0x1bf though will almost NEVER be 0x00 (it's most commonly 0x01 but it can take other values) you can compare this against your backup.mbr to make sure that nothing past 0x1be is changed.
Once you're satisfied that you applied the change correctly then you can directly copy the file over the first part of the disk. The reason why you want to do the file rather than /dev/zeroagain is for safety against typos. If you accidentally omit count=1 you're gonna have a bad time, copying a file on the other hand will never run past the EOF, ever. So it's safer.
sudo dd if=backup.mbr.test of=/dev/sdz
Next hexdump your disk to make sure that the changes took as expected.
hexdump -C /dev/sdz | head
Compare up to 0x200 against backup.mbr.test to make sure it's what you want.
Finally, if anything screws up for whatever reason you can simply copy the backup of the MBR back onto the drive via:
sudo dd if=backup.mbr of=/dev/sdz
================

After reading the Wikipedia article on the subject I'd like to propose a few additional solutions:
  1. Change boot order in BIOS :)
  2. The best and the safest one: use fdisk to remove "bootable" flag from any partitions on that drive. Most MBRs look for a "bootable" partition to chain-load from, so I would expect GRUB to just do nothing if there are no such partitions. Haven't tested though.
    If the above does not help, try installing a free clone of standard MBR code:
  3. Install mbr package and use install-mbr command like this:
    sudo apt-get install mbr
    sudo install-mbr -i n -p D -t 0 /dev/sda
I mean, from reading the Wikipedia article, I have an impression that the only thing which identifies the MBR is its signature which is at the very end of the sector (bytes 510 and 511). The first 446 bytes of MBR supposed to contain machine instructions. The BIOS is supposed to transfer control to the bootloader regardless of the actual contents of the first 446 bytes, provided that MBR signature is present:
On IBM PC-compatible computers, the bootstrapping firmware contained within the ROM BIOS loads and executes the master boot record.[14]... Thus, the beginning of the MBR is expected to contain real mode machine language instructions.[14] The BIOS reads the MBR from the storage device into physical memory, and then directs the microprocessor to the start of the boot code.
Due to the restricted size of the MBR's code section, it typically contains only a small program that copies additional code (such as a boot loader) from the storage device into memory. Control is then passed to this code, which is responsible for loading the actual operating system.
...
The bootstrap sequence in the BIOS will load the first valid MBR that it finds into the computer's physical memory at address 0x7C00. The last instruction executed in the BIOS code will be a "jump" to that address, to direct execution to the beginning of the MBR copy. The primary validation for most BIOSes is the 0xAA55 signature on the end, although a BIOS implementor may choose to include other checks, such verifying that the MBR contains a valid partition table without entries referring to sectors beyond the reported capacity of the disk.
So my understanding is that MBR always supposed to contain a bootloader, and zeroing the first 446 bytes of it would not stop BIOS from trying to boot from the disk - but it is likely to make the computer hand while trying to execute invalid code.
UPDATE: Also, this article suggests that to make the disk to look "un-bootable" for BIOS you should actually edit the MBR signature at the and of the sector (using any disk editor). I'm not sure if it's going to affect OS seeing the partition table on the disk though... but at least you can always modify those bytes back...

Tuesday, January 15, 2013

stop error 0xc000000e on RAID

======================
======================
I got 3 drives on my PC, both connected to a Intel ICH9R. 2 are RAID-1 which is Vista C: system drive. 1 is a JBOD D: drive.
Strangely, when I unplug D: drive, system will fail to boot on winload fail, status 0xc00000e.
There is no page file on D: drive, but I can't remove it via Disk Manager.
However, from disk manager, D: drive is Disk 0: and C: drive is Disk 1:
I did a bcdedit to change all reference to C: disk, but no luck
--------------------------------
Note: Please ensure that the DVD-ROM is the first booting device.
1. Please insert the Windows Vista DVD and reboot the computer.
2. When we are prompted to press a key to boot from the DVD, please press Enter or the space bar.
3. Choose your language settings, and then click Next.
4. Click Repair your computer.
5. Select the operating system you want to repair, and then click Next.
6. On the System Recovery Options menu, click Startup Repair. Startup Repair might prompt you to make choices as it tries to fix the problem, and if necessary, it might restart your computer as it makes repairs.
En pos del eterno upgrade, parece que muchas veces se termina haciendo complejo lo que antes no lo era y funcionaba bien. Así como GRUB en  su última encarnación abandonó su simple configuración mediante un sencillo archivo de texto para pasar a ser un conjunto de complicados archivos con scripts, en el Windowverse atrás quedaron esas épocas en las que el menú de arranque se definía desde un minimalista archivo de texto llamado boot.ini. Desde Windows Vista en adelante toda la información de arranque se guarda en una carpeta llamada boot ubicada en la unidad del sistema, y la información de los sistemas a bootear, es decir, los datos que antes figuraban cargados en el boot.ini de Windows XP y anteriores,  ahora residen codificados en el archivo binario oculto bcd.log, al cual por ende no podemos modificar exitosamente con un simple editor de texto.
image
Pero lo que es peor de todo este nuevo esquema es lo caprichoso que es el nuevo Windows Boot Manager. Mientras que clonar un Windows pre-Vista era una tarea bastante directa y sin sobresaltos, cuando clonamos una unidad que contiene un Windows Vista, 2008 o 7 y luego deseamos arrancar desde tal casi seguro nos vamos a encontrar con el famoso error con status 0xc000000e, y en particular con uno de los mensajes correspondientes al mismo que aprendí a odiar: The Boot Selection failed because a required device is inaccesible (puede estar también en el idioma de nuestra instalación), el cual nos apunta confusamente a un problema de controladores, llegando incluso al descarado extremo de no encontrar nuestra instalación de Windows desde la sugerida opción de reparación del DVD de instalación.
Pero el problema es más simple de lo que el nuevo boot manager de Windows nos quiere hacer creer, y es que simplemente ya no sabe donde está la partición que debe bootear. Para repararlo debemos ingresar a la línea de comandos desde la mencionada opción de recuperación del DVD de Windows 7 o Vista, y utilizar la única herramienta autorizada a modificar la configuración de arranque, bcdedit. ¿Alguien dijo que es una forma más de MS para joder a los que tienen un Windows trucho? Puede ser, aunque ciertamente también jode a quien quiera hacer un upgrade de disco rígido en un equipo de marca de los que no traen el DVD original del SO sino una partición o DVD de recuperación.
Lo primero que debemos hacer, una vez que llegamos a la línea de comandos desde la opción de recuperación, es ingresar el comando bcdedit sin ningún parámetro y observar la salida. Una instalación de Windows 7 normal y sin problemas debería entregar una salida como la siguiente:
image
Dentro de esta serie de líneas, las que les debemos prestar especial atención en este caso son las que dicen device y osdevice. Como ven, en el caso del ejemplo existen tres ocurrencias en total de las mismas, y vemos como en el caso del Administrador de arranque de Windows apuntan a la partición identificada como C:, mientras que en el Cargador de arranque de Windows lo hace a la D:. Esta situación, en la que cuando entramos desde el Entorno de Recuperación de Windows (Windows RE) vemos dos particiones distintas mientras que cuando ingresamos desde el sistema operativo en sí vemos sólo una, es otra característica nueva que existe desde Windows Vista, pero que recién en Windows 7 se volvió el esquema de instalación por defecto en todo disco sin formatear. En las ediciones Bussines, Enterprise y Ultimate de estos sistemas es posible separar los archivos de arranque del sistema en una pequeña partición al inicio del disco, llamada justamente partición de arranque, separada de la principal donde se contiene al resto del SO, y que vista desde el administrador de unidades de Windows nos figurará comoreservada por el sistema. Este es un escenario que requiere el sistema de cifrado Bitlocker de Windows para funcionar, y que también es útil para incluir herramientas de recuperación como Windows RE y hacer un poco más difícil la infección del sistema por parte de ciertos tipos de malware que sólo están preparados para infectar la unidad del sistema principal. Además, este es el caso del ejemplo de la imagen; lo que hay que tener en cuenta es que para Windows 7 en particular a la partición de arranque no se le asigna una letra de unidad cuando el SO está en línea. Por lo que la partición D: que vemos desde el entorno de recuperación es en realidad nuestro disco C:, mientras que la de arranque figura como C: en este caso. Si no existe partición de arranque y todos los archivos del sistema residen en la misma partición principal, sólo deberíamos ver la letra correspondiente a la misma en todos los casos.
Ahora bien, ¿que es lo que pasa en esta configuración de arranque cuando obtenemos el status code 0xc000000e y nos dice que “el arranque falló porque un dispositivo requerido es inaccesible”? Normalmente veremos que en las variables device y osdevice habrá un valor identificado como unknown, lo que equivale a decir que el administrador de arranqué de Windows olvidó donde estaba la partición que debía arrancar. Para solucionarlo primero debemos saber cuáles son las letras asignadas a nuestras particiones de arranque y/o de sistema desde el entorno de recuperación, lo cual lo podemos hacer invocando al Bloc de Notas, para lo cual tecleamos notepad desde la línea de comandos de Windows RE y luego elegimos la opción Guardar; desde ahí podemos ver todas las unidades del sistema y cuáles son las letras que les fueron asignadas. Luego debemos tener en cuenta que en el Administrador de arranque de Windows deberá ir la letra de la partición de arranque, mientras que en el Cargador de arranque de Windows la del sistema, y en caso de existir sólo la última, por supuesto, la misma en todos los casos.
Estos valores debemos corregirlos ingresándolos a través de la herramienta bcdedit, de la siguiente forma:
bcdedit /set {identificador-del-SO} device partition=X:
En el ejemplo de la imagen vemos que el identificador de nuestro Windows 7 es bootmgr para la partición de arranque, y como ya sabemos que la misma está identificada como C: desde el entorno de recuperación, deberíamos ingresar:
bcdedit /set {bootmgr} device partition=C:
Siguiendo con el ejemplo, para luego corregir los valores del Cargador de arranque de Windows deberemos ingresar:
bcdedit /set {default} device partition=D:
bcdedit /set {default} osdevice partition=D:
Hecho esto sólo resta reiniciar y observar si el sistema levanta como corresponde.
============================
I have gone through replacing a System Reserved partition. This assumes a normal install and no other partition modifications have been madeIt will not work on a UEFI install......If you choose not to replace the System Reserved partition, which is probably the best choice, you can make the OS partition active and do the Startup Repair, and it may take several times (2 or 3) to make it work correctly, and running Startup Repair 3 times will repair the Recovery F8 options capability.

But if you want to replace the System Reserved Partition, you can only have 4 primary partitions or 3 primary partitions and one Extended partition in Windows 7. So, if you already have those, you will not be able to add another. Any questions, ask before you start.

In Diskpart, you can use the first 3 letters instead of typing out the entire word. For instance, par can be used instead of partition

A command window can be opened from the Select Language page of the Install/Repair. Hit Shift+F10 to open the window and type Diskpart.

With Diskpart open type the following:

list disk

select disk 0
 < this will depend on which disk is your boot disk from above.

lis par

Sel par 1
 < this will probably be your OS partition if you deleted the System Reserved partition, but make sure.

detail par

Now look at the results. If the partition is active, it will indicate it as such here. (Active: Yes)

If you do not want to recreate the System reserved partition, you can make the partition active by:

active <** See Info below

Then check it again to make sure.

exit
exit


to close the Command window and continue with the repair.

**If you want to replace the System Reserved partition, then do not set the other partition as active. Instead follow these instructions to replace the partition and set it to active, then continue with the repair, and it will take 2 or 3 repair attempts with reboots between.

Note: this procedure worked fine on my system, but replacing a partition might lead to the loss of the OS partition if it was mistakenly overwritten, this is why I do not give the new partition a size.

With Diskpart already open, and using the results from the partition listing above (number and type), enter the following.

create par primary offset=1024

If your drive had no space unallocated, except for the deleted System Reserved Partition, you would not need the Offset. But without the offset, the partition will be put in unallocated space behind the other partitions.

format fs=ntfs label="System Reserved" quick

Active


You can now check the partitions again if you like, but note the partition for the Reserved partition may not show as Partition 1, so don't worry.

When you are ready, type exit twice to leave the command prompt and continue with the repair.

Thursday, May 3, 2012

AMD fakeRAID 1 -grub2 restore

Software RAID oder fake RAID sind nicht als multiple disk device von Linux erkannt sondern als device im disk mapper
Nach eine reparatur von Windows Sieben oder eine reinstallation von irgendwelches Microsoft Windows wird die Grub entfernt
Mit gparted Live CD starten oder irgendwelches Live CD GNU/Linux Betriebsystem, daß RAID automatisch erkennt und einbindet... sonst ist ein bisschen mehr an Befehle zum einbinden von dem mapper
Einmal alles erkannt und bereit
Hier ist die root-Partition 7 und die boot-Partition 2 (nicht im root-Partition... benutz eine eigene Partition)
Der Partition Manager gparted starten
Die Partitionen erkennen im richtigen Laufwerk und sicher sein, daß die passende Partitionen gewählt werden
Eine root terminal starten
Im Ubuntu [Alt + F2] und eingeben:
gnome-terminal
Dann die folgende Befehle eingeben und Eingabe Taste hinzudrücken
sudo mount /dev/mapper/nvidia_edabbdgc7 /mnt
sudo mount /dev/mapper/nvidia_edabbdgc2 /mnt/boot
Dann wird Grub2 auf die Master Boot Record des Laufwerks re-installiert (nicht auf irgendwelche Partition, deswegen  auf boot- oder root-Partition nicht empfehlenswert)
sudo grub-install --root-directory=/mnt /dev/mapper/nvidia_edabbdgc
reboot 
Nach dem Neustart hat man wieder das Menü mit den verschiedenen Betriebsysteme und zusätzliche Anwendungen
Falls die Windowsinstallationen nicht erkannt wurden:
Im Linux wieder ein TerminalFenster öffnen und
sudo update-grub
eingeben. 
Empfehlenswert ist eine Aktualisierung des Betriebsystems
Der Befeht dafür (ubuntu):

sudo do-release-upgrade
et voilà, Genosse!
====================
Repair grub

The legacy grub (0.97) was used by older versions of Linux. 
Ubuntu is now using grub2. Ubuntu 11.04 is grub2 (1.99) 
Ubuntu 10.04 user grub2 1.97
Error 15 is from grub legacy and is usually a conflict between grub & grub2.

How to restore the Ubuntu/XP/Vista/7 bootloader (Updated for Ubuntu 9.10)
http://ubuntuforums.org/showthread.php?t=1014708
Reinstall grub2 - Short version & full chroot version
https://help.ubuntu.com/community/Gr...ing%20GRUB%202
Grub2 info & full chroot version - see METHOD 3 - CHROOT:
https://wiki.ubuntu.com/Grub2#Recove...20via%20LiveCD
http://bootinfoscript.sourceforge.net/
__________________
No RAID
grub2-bootloader
For those who are having a dual (triple or quad) boot system in your computer, chances are, your bootloader might break when you update one OS to a newer version. If you are using Ubuntu (with the new Grub 2 bootloader) and you installed Windows. The Windows bootloader will erase your Grub 2 and you won’t be able to boot in your Ubuntu. As such, you will need to restore your bootloader to Grub 2.
Note: If you are still using the Grub legacy, check out this post to restore your Grub.
Requirement: Ubuntu (Karmic or Lucid) LiveCD (download it from Ubuntu.com)
Start your computer and boot into your Ubuntu LiveCD.
The first thing that we need to do is to mount your existing Ubuntu partition. If you already know your partition number (of the form sda1, sdb2 etc), you can easily mount using the following command:
sudo mount /dev/sda1 /mnt    #replace sda1 with your partition number
If however, you have completely no idea of your partition number, launch GParted (System -> Administration -> gParted). Locate your Ubuntu partition and record down the partition number.
grub2-gparted
If you are are using different partitions for the root and the home folder, make sure you record the root partition instead of the home.
Close the GParted. Open a terminal and type in the following command:
sudo mount /dev/sda1 /mnt    #replace sda1 with your root partition number
Next, all you need to do is to reinstall Grub 2 with the following command:
sudo grub-install --root-directory=/mnt/ /dev/sdX  
#replace the X in sdX with your partition alphabet
Reboot.
You should be able to boot into your Ubuntu now.
Run the following to update your Grub 2 to include the bootloader of Windows (or other OS).
sudo update-grub
You should be able to boot into your Ubuntu and Windows (or other OS) now.

Wednesday, September 29, 2010

RAID degraded

HDDs, Optical Drives and RAID
HDDs, Optical Drives and RAID
degraded RAID 1
Remember that a 2TB drive will give about 1.6TB of usable space after formatting.
This article explains how to setup a RAID 1.
Windows XP recovery console /p c:" 
For everything since, its "chkdsk /f  C:"
The problem can be two fold:
1. the meta data (sits in a hidden area on the drive) has been removed that identifies it as a member of that raid.
2. possibly some data has been erased off the drive.
In the first case, a raid recovery application will be able to recover the data, in the second case, its going to be a lot more work and you will likely have lost a lot of data.
You can look around for some software to do the recovery (like http://www.diskinternals.com/raid-recovery/ although I am sure there are others, thats the only one I have played with) or you could send it off to professionals to recover (like Seagate or http://www.drivesaversdatarecovery.com/ not used the second one, but have heard some good stories about them) they are not cheap, but if you need your data and don't mind paying, they will get it. 

NVraid takes forever to rebuild, would be much faster to put in the 2 new drives, use something like acronis to duplicate the raid (don't resize it, better to do that in windows sevens drive manager).
To do the rebuild in the BIOS utility you'd probably have to delete the old array and redefine it - watch you don't use the "delete data" which will overwrite the MBR and render your disk empty; to recover from that BTW it's useful to have a floppy with BootitNG (www.bootitng.com) on it to undelete the MBR info. The nVidia BIOS utility is kinda dumb compared with, e.g. Promise' stuff, but if anything is wrong with an array's specs, i.e. it's "broken", you just have to start as if from scratch.
For the Windows software utility, it would surprise me if Gigabyte had deleted it from the nVidia driver pack - it is most definitely in there. At worst, you can DL the same driver set on the Gigabyte CD from nVidia's Archive site, unzip it manually with Winzip and look for the "raidtool" folder, under ...IDE\WinXP\ and copy it to your hard disk. I've seen no way to "install" the software - just run it from the folder; I think it's also necessary to run the .BAT file in the folder first to register the Wizard as a service... at least that worked for me. Then just run NvRaidMan.exe and you'll see how to proceed with a rebuild... which is BLOODY slow: about 12GB/hour and no tuning
Set the drive up without raid turned on, run the seagate Tools tests over it, if it gives you an error number write it down, if it finds bad sectors tell it to repair them (sometimes a lot of times), then if it passes test, its ok, if it still fails, check it for warranty 

Topic has attachmentsRecovering from degraded raid 1
Failed Motherboard with raid1. How move to new Motherboard?
RAID 1 problems
Rather than a 3 drive raid5 (slow under NV raid) why not have a 2 drive stripe (for the speed) and use the 3rd drive externally as a backup? (windows backup works great for this btw)
forums.nvidia.com/index.php?showtopic=177090
You probably forgot to break the RAID before you tried to install Win7 onto the single WD hdd.
Do the following:
  1. Boot into the RAID Utility (where you set the RAID array).
  2. Break the RAID into 2 single non-RAID hdd's.
  3. Enter the BIOS and set the SATA Controllers to "IDE Mode".
  4. Shut down the PC and remove the old hdd.
  5. Boot into the mainboard BIOS and make sure,
    1. that the DVD-ROM is the first and the HDD the secod bootable device and
    2. that the WD HDD is on top of the "HARD DISK BOOT PRIORITY" settings.
  6. After having done that, you can boot off the Win7 DVD and install the OS onto your WD HDD.