boot with live CD

open a terminal

type : sudo grub

find /boot/grub/stage1

note down the partitions

make it root as

root(hd?.?) where hd?,? is the partition noticed earlier

setup (hd0)

this will install grub on MBR

setup(hd0,4)

then

quit

Reboot your system...


Regards....




--- On Thu, 3/26/09, midhun raj <smidhunrajloveslinu...@gmail.com> wrote:
From: midhun raj <smidhunrajloveslinu...@gmail.com>
Subject: [fsug-tvm] bootloader error
To: ilug-tvm@googlegroups.com
Date: Thursday, March 26, 2009, 1:06 AM

yesterday i had windows XP and ubuntu..but my windows got stuck with virus..or 
something and it got hanged.. so i reinstalled windows on c drive..after that 
when i booted i couldnt see the os menu option and so i couldnt get into ubuntu 
and it directly booted intio XP..how can i get my working ubuntu back ...i have 
ubuntu 8.04 live cd with me...








      
--~--~---------~--~----~------------~-------~--~----~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to