[Ilugc] Re: Restore Grub

  • From: f2005180@xxxxxxxxxxxxxxxxx (Karthik Ramgopal)
  • Date: Tue Oct 30 00:28:54 2007

Hi,
        Firstly its GRUB (GRand Unified Boot loader) and not grup :) . To  
restore it, insert your Fedora  DVD/Rescue CD and boot into rescue mode.

You will be in a root shell soon.. Type the following

chroot /mnt/sysimage

grub-install /dev/sda (This installs grub onto the MBR master boot  
record)

exit

System will now restart. Remove the DVD/CD and you should see grub  
loading. If you run into issues, with the above method, post the  
error message generated by the grub-install script and I'll get back  
to you.

Note: Replace hda with sda if you are using an IDE hard disk and a  
Fedora version<F7.
In F7 even if you are using an IDE hard disk use sda
If you are using a SATA/SCSI hard disk always use sda

Regards,

Karthik Ramgopal
BITS Pilani



Message: 7
Date: Mon, 29 Oct 2007 10:07:12 +0530
From: "Ramkumar Govindan" <kumaram.g@xxxxxxxxx>
Subject: Re: [Ilugc] how to repair the grup
To: ILUG-C <ilugc@xxxxxxxxxxxxx>
Message-ID:
      <c72a978a0710282137v5b35c3bam42ace1190bab73eb@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

yes i was  checked  from xp its there linux partition, and then i  
formated c
drive only,

On 10/27/07, Mano <manokaran@xxxxxxxxx> wrote:

On 10/26/07, Ramkumar Govindan <kumaram.g@xxxxxxxxx> wrote:

Dear all

I am having doul boot system winxp and fc4, i had virus an  
windowsxp, so
was
format and reload the xp now i cant able boot to fc i asked my  
friend he
said reinstall the grub i dont know how to install the grub pls  
help me.


Are you sure the linux partitions are intact after you reinstalled  
Win XP?
Am asking because (I think) Win XP by default tries to occupy the  
whole
disk!


regds,
mano
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc




Other related posts:

  • » [Ilugc] Re: Restore Grub - Karthik Ramgopal