how can i remove GRUB and let Windows load properly?

Hi Experts
I used GParted and made a new partition for installing Ubuntu. I played with it for a while and decided to remove Ubuntu and set everything back to windows-only.

I entered into GParted and removed the linux partition and then resized the windows partition back to the full size of the hard disk. But when i tried to load Windows, i got "GRUB error 22" message and windows wouldn't load.

How can i fix this?
Thanks
Eileen
eileen_fong2001Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chrismanncalgavinCommented:
Ah I had the same issue, as i'm sure lots of people do.

What has been replaced is the MBR (Master Boot Record) on the hard drive.
If you are using Windows XP, best thing is to put the XP CD in and boot up off this.
When the install starts press R to repair I believe.

Use the command "Fixmbr" and press enter.

See the following:
http://support.microsoft.com/kb/314058
0
kryloszCommented:
Or boot with the XP installation CD.
Press R to repair a Windows XP installation when prompted.
Enter the Administrator password.
Type fixmbr <ENTER>
Type y <ENTER> to fix the MBR.
Type exit to leave the recovery console and reboot.
0
chrismanncalgavinCommented:
Also, hirens bootcd is apparently illegal so although it would do the job it contains unlicensed software.

Best to use Windows boot disc first with Recovery console.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

eileen_fong2001Author Commented:
Thanks for all your comments.
Why hirens boot CD is illegal?
0
chrismanncalgavinCommented:
Apparently it contains a lot of unlicensed illegal software, and has since been discontinued.
It is now known as Warez, which I believe is frowned upon on this forum.

Something that would be a good alternative is Ultimate Boot CD, which is entirely free.
http://www.ultimatebootcd.com
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
eileen_fong2001Author Commented:
I gave it a try anyway and after a few attempts it worked.

Thanks for all of your help.
Eileen
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.