View Full Version : [ubuntu] Preemptive preservation of grub during xp install.
March 24th, 2010, 06:50 AM
I have, in the past, installed windows along side my main OS, Ubuntu. Every time I install windows, the grub ends up disappearing and I have always had to re-install Ubuntu to get the grub back. I have a lot of files and it would take a while to back up so would anyone be so kind as to tell me if there is a way to preemptively preserve grub so it doesn't disappear after I install XP on half of my hard drive?
March 24th, 2010, 07:17 AM
Installing windows on the system will continue to do this whenever you install windows AFTER xp. The only thing i could think of to circumvent this is to maybe give grub its own partition to prevent it from being written on but even at the i still believe that windows will take over boot loading as it writes to the MBR.
March 24th, 2010, 02:07 PM
... so would anyone be so kind as to tell me if there is a way to preemptively preserve grub so it doesn't disappear after I install XP on half of my hard drive?
Actually, GRUB does not disappear, at least, not entirely. The files are were written to the Linux partition remain intact.
What does get overwritten is the small amount of stuff written to the MBR -- and there's no way around that.
You will have to reinstall GRUB to put its entries back into the MBR.
March 24th, 2010, 09:24 PM
Would there happen to be an easy way to reinstall grub, and make it point to both ubuntu and windows?
March 24th, 2010, 09:54 PM
Why not just backup the MBR and restore it after you are done with installing Windows?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.