John_90

Distinguished
May 5, 2009
2
0
18,510
I have lost the ability to boot back to windows vista. I keep getting grub error 17 how can I get my lap top to boot back to windows thanks
 

MrLinux

Distinguished
Dec 28, 2007
1,036
0
19,310
Grub error 17 can be caused by several things...
Incorrect disk geometry, incorrect disk format, a format change (changing FAT to NTFS for example), a damaged/corrupted Grub...

Was it working OK? Have you changed anything recently? Which distro of Linux are you using and how was it installed?
 

randomizer

Champion
Moderator
You probably installed GRUB in the wrong location. I had that error and if it wasn't for a Live CD and linux_0 I'd have lost all my data because nothing was going to boot in the state I left my PC. :lol:
 

John_90

Distinguished
May 5, 2009
2
0
18,510
Hi guys, thanks for the replies so far.

I've been running dual boot for several months now with no problems until, don't ask how, the linux partion on my hardive was reformatted from my VIsta install without any GRUB modifications. Until I tried to boot after shutting down the PC i didn't realise a problem was there but obvisouly now, GRUBS trying to laod into a partition that doesn't exist : /

The only access to the laptop I have is by a Ubuntu 7.10 Live CD, and I was running a dual bootwith Ubuntu (reguarly updated) and Home Premium (Vista)

Somehow, I need to either reinstall GRUB or modify it to boot into Vista, uninstall it completely and use windows boot manager, or, i think, edit my mbr?

Thanks again for all the replies,

Thanks, again
 

linux_0

Splendid
I'd suggest very carefully re-installing Linux on the Linux partition and re-installing GRUB on your MBR in the process ( /dev/hda or /dev/sda )

That should fix GRUB and allow you to boot Linux and windows.

You could also run fdisk/mbr from a DOS rescue disk but YMMV.

Good luck :)
 

MrLinux

Distinguished
Dec 28, 2007
1,036
0
19,310
If you boot from the original Vista install CD and get to a recovery console (can't remember how), there is a tool called Bootrec.exe which can repair/reinstall the Vista boot files, if you search MS web site for "Bootrec.exe" there is a full description.