[CentOS] Reinstall Windows but preserve CentOS

Dan Pritts danno at internet2.edu
Fri Jul 29 14:00:07 UTC 2005


0) make a backup.  
1) unplug the centos drive while you do the install, just to be
sure.  (warning, you may run into master-slave complications due
to this, depending how you've got things configured)
2) install windows.
3) boot from centos disk in rescue mode.  re-install grub.
I think the right syntax for this would be:
 chroot /mnt/sysimage
 /sbin/grub-install
4) you did remember to make a backup, right?

On Fri, Jul 29, 2005 at 10:49:26PM +0900, Dave Gutteridge wrote:
> 
>    I have a computer that dual boots between Windows and CentOS. Each 
> has it's own hard drive.
> 
>    I suddenly have a problem with Windows, and may need to reinstall. I 
> need it for applications like After Effects, Premiere, and other things 
> that I am currently in the middle of a project with.
> 
>   It seems the system has become usnstable, it's preventing me from 
> continuing to work, and I may need to wipe the Windows partition clean 
> and start again.
> 
>    My concern is that if I do that, I will lose the Grub boot loader 
> and not be able to access CentOS again.
> 
>    How can I reinstall Windows with a clean partition, and preserve my 
> dual booting?
> 
> Dave
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos


danno
--
dan pritts - systems administrator - internet2
734/352-4953 office        734/834-7224 mobile



More information about the CentOS mailing list