Announcement

Collapse
No announcement yet.

XP reinstall on double boot machine: how to repair GRUB?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    XP reinstall on double boot machine: how to repair GRUB?

    I have a system which has XP and Kubuntu installed. Now I'm faced with the task of reinstalling XP from scratch (damn spyware/trojans). As a result, as a XP reinstall will end up screwing up GRUB I will need to repair that to be able to access my sweet sweet Kubuntu install.

    So, what will I need to do to repair GRUB after a XP reinstall?

    #2
    Re: XP reinstall on double boot machine: how to repair GRUB?

    I'd suggest backing up the master boot record (to the Linux partition, of course) and restore it once XP is up again - approximately as follows:

    - Backup: sudo dd if=/dev/hda of=/root/mbr.bck bs=512 count=1
    - Restore: sudo dd if=/root/mbr.bck of=/dev/hda bs=512 count=1

    But, please, make sure you get the point I'm driving at; deny yourself to merely "copy & paste" (unless you're brave ...).

    Comment


      #3
      Re: XP reinstall on double boot machine: how to repair GRUB?

      I see what you mean. But isn't there some sort of automated way to do that? Like popping in the Install CD and repairing grub?

      Comment

      Working...
      X