restore vista - Grub Error 22

gerrymac1943
gerrymac1943 used Ask the Experts™
on
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

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2011

Commented:
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 Man IT Manager
Top Expert 2010

Commented:
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/

Author

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?
11/26 Forrester Webinar: Savings for Enterprise

How can your organization benefit from savings just by replacing your legacy backup solutions with Acronis' #CyberProtection? Join Forrester's Joe Branca and Ryan Davis from Acronis live as they explain how you can too.

Top Expert 2011

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

Author

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?
Top Expert 2011

Commented:
Right. You don't need Windows DVD stuff at this point..

Author

Commented:
Wesly --> i'm getting a 'BOOTMGR is missing' error

Author

Commented:
could you guide me through the steps...
Jackie Man IT Manager
Top Expert 2010

Commented:
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/

Author

Commented:
jackieman --> i do not have a dvd drive
IT Manager
Top Expert 2010
Commented:
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/ 

Author

Commented:
excellent as always!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial