restore vista - Grub Error 22

My laptop originally had Vista installed. I then installed ubuntu.

I have tried to do a full system restore using Vista and have subsequently got an error

'GRUB Loading stage1.5.

GRUB loading, please wait

Error 22'

I don't have the orginal copies of Vista (as these where on a hidden partition) or recovery disk. The dvd-rom drive is also not working.

I presume I need remove GRUB before I can redo the system install??

Thanks
GMac

gerrymac1943Asked:
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.

wesly_chenCommented:
Try testdisk (http://www.cgsecurity.org/wiki/TestDisk) from USB boot drive and fix your MBR
http://www.techsupportforum.com/forums/f149/accidental-format-of-external-usb-drive-151008.html
--- quote ---
1) Download the Test Disk utility

2) Connected the USB Drive to my laptop. (windows kindly offered to reformat the drive as the previous operation had failed... I obviously decilned :-)

3) Ran the TestDisk program and select Analyse disk... takes about 15minutes

4) The analysis results indicated the data was intact but the MBR (aka Master Boot Record) had been deleted.

The TestDisk message went something like "the extrapolated boot record does not match the current boot record"

5) Selected "Rebuild MBR"

6) Selected "Write Boot"

7) Selected "list" (which lists files and folders)

8) Hey Presto!! Files and folders were listed!
-----------
Jackie ManIT ManagerCommented:
Accordingt to CalcProgrammer1, it says:-

"I always use the Vista CD. I don't have a real Vista DVD (stupid Recovery CD's from HP) but I downloaded the "Vista Recovery CD" (it's the Vista DVD with only the files needed to run the recovery console, not the install itself). Pop that in, click Recovery, and it has an automatic fix that repairs the boot process, worked every time I tried it (overwrote GRUB, Windows XP's boot process)."

Source: http://www.tech-forums.net/pc/f9/grub-error-22-a-186647/
gerrymac1943Author Commented:
wesley_chen --> still problems. the steps i followed:

1. configured the boot utility so that USB flash is first on boot priority order
2. Enabled the ability to boot to an external drive
3. downloaded the Test Disk utility and extracted the application to a USB pen drive.
4. however still get grub issue.

jackieman --> apologies if you misunderstand but the DVD drive is not working for the laptop so your solution will not work...any thoughts?
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

wesly_chenCommented:
Hi, you need to create a bootable USB drive
http://www.intowindows.com/bootable-usb/

Then copy DOS version of TestDisk to USB and boot from USB.
Run TestDisk on USB to fix your hard disk.
gerrymac1943Author Commented:
Wesley_Chen -->Thanks for this... i think i'm nearly there!

 I presume steps 5 & 6 of 'How to Make a bootable USB' are not applicable? But in step 7 i add the dos testdisk code?
wesly_chenCommented:
Right. You don't need Windows DVD stuff at this point..
gerrymac1943Author Commented:
Wesly --> i'm getting a 'BOOTMGR is missing' error
gerrymac1943Author Commented:
could you guide me through the steps...
Jackie ManIT ManagerCommented:
Follow the approach below.

Reinstall Your Boot Loader Manually From the Windows DVD

Alternately, if it doesn’t automatically detect anything to fix, you’ll have to choose your own recovery options.  Click the bullet option on the top then click Next to use recovery tools to fix Windows.

Now, select Command Prompt from the available recovery tools.

In the command prompt window, enter the following to repair your boot loader:

    bootrec /rebuildbcd

After a few moments, it should detect your Windows installation and ask if you want to add it to the boot loader.  Enter Y to add it, then exit the command prompt and reboot your computer when you’re finished.

Source: http://www.howtogeek.com/howto/33433/restore-the-windows-boot-loader-after-an-ubuntu-update/
gerrymac1943Author Commented:
jackieman --> i do not have a dvd drive
Jackie ManIT ManagerCommented:
Forget about the CD/DVD Drive. If you cannot boot from it, try another way to boot Vista Recovery Disc to fix your problem.

First Step - Download Vista Recovery Disc or Use your own repairs CD

You need to download a Vista Recovery Disk or use your Vista Setup Disk to start your PC and launch system restore to go back to a restore point when there was no problem.

URL: http://www.vistax64.com/general-discussion/146356-download-vista-recovery-console.html

A tutorial of Vista Windows Recovery is in the URL below.

URL: http://www.bleepingcomputer.com/tutorials/tutorial142.html

Second Step - Burn ISO file of Vista Recovery Disk or your Repair CD to USB thumb drive

USB thumb drive is cheap this days and I think you have plenty of USB thumb drives which are less than 1GB. Right? If yes, backup all data in that USB thumb drive and make it a bootable USB drive to repair your laptop as follows:-

In a working computer, download and install UltraISO and burn the ISO image to the above mentioned USB thumb drive using the guide below.

1) Download the free UltraISO trial by going here (http://www.ezbsystems.com/ultraiso/download.htm) or grab a torrent of it
2) Start UltraISO as administrator
3) "Burn" the iso image to the USB stick by following these steps

With UltraISO:
- Open the image of Vista/Win7 with UltraISO
- Under BOOTABLE tab choose WRITE DISK IMAGE
- Choose your USB stick under "Disk Drive"
- Choose a method (It's recommended to use USB-HDD+)
- Press Write
- Make sure to change your BOOT order in BIOS to boot from your USB drive first

Note:  Make sure your motherboard is capable of booting off a USB drive or this will not work. Also, backup any files on your USB drive because it will be formatted.

Source: http://fr33sp33k.h33t.com/index.php?topic=13778.0

I have tried the above and it works as expected.

Final Step - Boot from USB Thumb Drive and Repair your laptop

Attach the above mentioned USB thumb drive and enter the BIOS and select USB device in the Boot Option.

Final Step - Reinstall Your Boot Loader Manually From the Windows DVD

Alternately, if it doesn’t automatically detect anything to fix, you’ll have to choose your own recovery options.  Click the bullet option on the top then click Next to use recovery tools to fix Windows.

Now, select Command Prompt from the available recovery tools.

In the command prompt window, enter the following to repair your boot loader:

    bootrec /rebuildbcd

After a few moments, it should detect your Windows installation and ask if you want to add it to the boot loader.  Enter Y to add it, then exit the command prompt and reboot your computer when you’re finished.

Source: http://www.howtogeek.com/howto/33433/restore-the-windows-boot-loader-after-an-ubuntu-update/ 

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
gerrymac1943Author Commented:
excellent as always!
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
Windows Vista

From novice to tech pro — start learning today.