On Sat, May 22, 2010 at 5:03 AM, Codename62 George <[email protected]>wrote:

> I have been fed up these days since i use both GNU/Linux and Windows XP on
> my PC and if i re install windows in any case, the GRUB bootloader gets
> replaced with the Windows bootloader which dosent detect the GNU/Linux OS.
> So iam unable to bot into my GNU/Linux.
>
> Any way to recover/reinstall GRUB?
>
> Although i found a few methods from the internet, i am not understanding it
> properly.
>
> 1. Install from live cd or from rescue 
> mode<http://www.google.co.in/#hl=en&q=install+grub+rescue+mode&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=37b7d6645d50ecf6>
> .
> 2. Use bootable CDs like SystemRescueCd <http://www.sysresccd.org>, Trinity
> Rescue Kit <http://trinityhome.org>, etc.
> 3. Install some utilities from windows like 
> grub4dos<http://www.google.co.in/#hl=en&source=hp&q=grub4dos&aq=0&aqi=g10&aql=&oq=grub4&gs_rfai=&fp=22e93c1dff322700>
> , auto super grub 
> disk<http://www.google.co.in/#hl=en&q=auto+super+grub+disk&aq=0&aqi=g10&aql=&oq=auto+super&gs_rfai=&fp=37b7d6645d50ecf6>,
> etc.
>
> I think the first method would be good.
>
> Please help me if anybody knows.
>
> for grub legacy( version 0.9x)

do you have a live cd?
boot from a live cd(like ubuntu 8.04 or linux mint7)
in terminal type
sudo  grub
now the grub prompt comes
type

*find  /boot/grub/stage1*

note down the value
it may show something like (hd0,x)
now type

*root (hd0,x) *                # the output of  the earlier command is used.
if it is (hd0,1)  type root (hd0,1)

*setup (hd0)*

*quit*

now reboot

*sudo reboot*


regards
manoj
_______________________________________________
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#[email protected]

Reply via email to