reinstalling XP on a Dual Boot system?

By Duck
Mar 5, 2006
  1. ok, so getting my PC to dual boot with a single HDD is relatively painless because the linux installer can set it all up automaticly for you. But there comes a time a few months down the road when windows has fallen to pieces and needs to be reinstalled.

    But if you reinstall windows, wont it rewrite the boot sector part of the disk and you will "loose" Linux? When i say loose, I mean the files will still be there but you wont be able to boot into it because when the PC is turned on, it will go straight into windows.

    So my question is how do you get Linux back after you reinstall windows? Is there anything you can do before hand to make it easier? (like installing Linux first, partitioning the HDD in a perticular way, etc)
  2. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    You just boot from some other media.. It could be something as simple as a generic GRUB floppy or the "recovery" option from the Linux install CD.

    Once inside your Linux installation, you just run "grub-install /dev/hda" (or /dev/whatever) to rewrite the MBR with GRUB.
  3. Duck

    Duck TS Rookie Topic Starter Posts: 16

    Ok, sounds simple enough. I'll try that next time, thanks.
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...