Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Lenovo T430, with Windows XP (32-bit). I tried to remove Ubuntu from my HDD by deleting the partitions in Disk Management. Now, when I restart my computer, I get the following message:

grub rescue>

I understand that I must use a Windows recovery CD to use Windows again, but I do not have one. How do I regain access to XP?

share|improve this question

Download Hiren's BootCD and boot it from a CD/USB. It contains many MBR tools (full list here), including MBR Fix that you can use as follows:

MbrFix /drive 0 fixmbr

(I assume you have only a single HDD/SSD in your laptop and so its drive number is 0 (zero).)

share|improve this answer
    
First off, thanks for the advice. I know that I am not logged in, but I am Steve McC, I have three hard drives: 10 gb d:65 gb and C: 390 gb, which is where the partition was originally installed. So which one do you think that it would be. – Steven McC. Jun 6 '13 at 0:48
    
Looks to me like you have 3 partitions on a single 500 GB physical drive (would be difficult if not impossible to fit 3 hard drives inside a laptop!) Use the command as shown above and be sure to accept the answer if it worked. If it didn't (though I don't see why it wouldn't), post any error messages displayed. – Karan Jun 6 '13 at 0:52

If you using GRUB2, you can boot up to Windows XP by this commands in GRUB rescue environment:

search --file --no-floppy --set=root /ntldr
ntldr /ntldr
boot

UPD: After booting up to Windows, you can rebuild MBR by EaseUS Partition Manager (http://www.partition-tool.com/easeus-partition-manager/rebuild-mbr.htm).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .