live cd/usb--->mount ubuntu partition-->bind the partition dev and proc file to that of live cd-->chroot into the partition-->grub-install --root directory=/some mount point /dev/sdaX-->update-grub
this will install grub...the windows bootloader has overwritten the grub ..u need to reinstall grub On Wed, Apr 14, 2010 at 12:23 PM, Naresh Babu <[email protected]>wrote: > Hi....I am Naresh > > > I am having ubuntu 9.04 and Windows Vista.But yesterday I tried to install > one software in windows(MPLAB) .While installing ,my system gets suddenly > restarted after words I am unable to enter into Windows vista.I don't know > what might be the exact reason ,I tried a lot finally I have Installed > WINDOWS 7 in the Vista partition. Now there is no UBUNTU option in the > grub.I have re-installed grub using LIVE CD using following links. > > http://microdotsagamedev.wordpress.com/2007/06/08/repair-your-grub-loader/ >> > > https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows > > <https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows>Now > the problem is I can able lo log on to my UBUNTU but not into Windows 7. > after re-installing the grub ,the grub menu is same as previous menu(before > installing WINDOWS 7)only .That means still its showing UBUNTU as well as > WINDOWS VISTA (loader) .when i try to click the WINDOWS VISTA option ,its > showing some error number and enter Control+Shift+Delete to restart. > > > here is the output for *$/boot/grub/menu.list : http://textbin.com/07s70* > And also I have attached my Gparted output screenshot. > > Please suggest me how can i enter into my new WINDOWS 7 partition too.... > > Thank in advance. > > -- > l...@iitd - http://tinyurl.com/ycueutm > -- http://sites.google.com/site/agnayelinux/ -- l...@iitd - http://tinyurl.com/ycueutm
