How to do not start centos6.4 after reinstalling win7 system

  
 

1. First download the CentOS-6.4 installation CD ISO file;

2. Use UltraISO to burn it to the U disk boot disk.

3. When rebooting, enter the BIOS. Interface, choose to boot from the U disk

4, to the installation CD interface, select Rescue install system to enter the rescue mode

5, follow the requirements of a series of settings, enter the shell mode

6. Execute the following code command to reinstall grub

[php]

# chroot /mnt/sysimage

# /sbin/grub-install /dev /sda

7. View/edit grub configuration files

[php]

#vi /boot/grub/grub.conf

8. If you don't have a Windows startup item, you can add it manually

#Windows

title windows7

root (hd0,0)

makeactive

chainloader +1

9, exit after saving, restart the computer is OK.

[php]

#exit

#reboot

Copyright © Windows knowledge All Rights Reserved