Grub rescue upon Win XP reinstallation

Well..finally this blog starts.Of late,I have become a full fledged Open-Source fan.So,here i am..with my 1st post on the same.

(Please note:Lines written within \\….\\ specify comments)

Without wasting anymore time..i’ll be explaining two ways of Grub rescue.Follow the method you find convenient-

1)Reboot with a Live CD

  • log in as root in the terminal window
  • type: /sbin/grub
  • in the grub promt that comes..type: find /boot/grub/stage2
  • you will get a response like (hd0,?) \\where ? is a number showing where your controlling distro is\\
  • continue typing in the grub prompt: root (hd0,?) \\type in the number returned above by your system corresponding to ?\\
  • type: setup (hd0)

and..your done!!!reboot and enjoy..

2) Reboot with a Rescue CD

For Fedora 8 Rescue CD..follow the link: Fedora 8 Rescue CD ISO

  • when you get the command prompt,type: chroot /mnt/sysimage
  • type: grub-install /dev/hda

and your done…reboot and enjoy!!

Well..So much for my 1st post..Bye All!

1 thought on “Grub rescue upon Win XP reinstallation

  1. A friend of mine needs the way to mount Win XP hard disk partitions in Fedora.So instead of creating a new adding it here only…
    1)type: gedit/etc/fstab
    2)this opens the fstab file which runs at boot time..loading all specified peripherals into the kernel
    3)type at the end of the file:
    /dev/sda1 /media/sda1 ntfs-3g defaults 0 0
    /dev/sda2 /media/sda2 ntfs-3g defaults 0 0
    4)close the edit window and reboot..

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s