Grub gone after reinstalling windows

Closed
Caesar - Apr 4, 2010 at 06:37 AM
le hollandais volant Posts 4998 Registration date Friday March 7, 2008 Status Member Last seen December 23, 2023 - Apr 5, 2010 at 08:10 AM
Hi,

I had a system with windows xp on c drive and ubuntu installed within windows in g drive.
Then i reformatted c drive and reinstalled xp
Now i don't get the grub.
I tried the standard solution of booting from live cd and then sudo grub, root (hd0,0), setup (hd,0).
Gives error 17: cannot mount selected partition.
How do i know which partiton my ubuntu was in (if not hd0) ? And what should i do to restore the grub?
Thanks
Related:

1 response

le hollandais volant Posts 4998 Registration date Friday March 7, 2008 Status Member Last seen December 23, 2023
Apr 5, 2010 at 08:10 AM
Hi !

Boot on live CD and follow this tread : http://ubuntuforums.org/showthread.php?t=224351
0