Installation of a CentOS
Using a U disk installation, because my computer has a year, U disk start can only choose Usb-zip boot. And the new version of Ubuntu, although can be made. But it can't be installed. Finally, select CentOS7 's ISO to complete the installation. USB drive boot disk is made using soft disc pass UltraISO to complete. Detailed steps I don't have to say anything. I'm talking about the problem and the solution.
Note: When installing CentOS, select the Chinese environment, encounter a lot of errors, and then can only exit the installation situation. No reason was found. Finally, skip Chinese, install the English environment directly, and then change the Chinese environment and upgrade after successful installation.
Guidance and recovery of two Win7 systems
Because of CentOS, the installation is not the same as Ubuntu recognition of the NTFS format of the letter, resulting in the Win7 system can not be GRUB2 boot, the boot does not win7 the option. We need to deal with it ourselves.
Method:
1 use Vim to edit the Grub.cfg file after entering the/BOOT/GRUB2 directory. :
### BEGIN /etc/grub.d/30_os-prober ###
menuentry ‘Windows 7 (loader) (on /dev/sda1)‘ --class windows --class os $menuentry_id_option ‘osprober-chain-XXX‘ {
insmod part_msdos
insmod ntfs set root=‘hd0,msdos1‘ chainloader +1 }
### END /etc/grub.d/30_os-prober ###
Add in # # # End/etc/grub.d/00_header # # #之后. where xxx is the UUID for your Windows 7 system partition.
Here are 2 points:
2 After the completion, restart the machine, you can see the long-lost Win7.
Conclusion:
It took me 6 hours to complete this short amount of time. In order not to want me to have this kind of problem again next time. Just jot it down. I hope to avoid these unnecessary detours. Although Linux server is stable, but proud to live. Cherish life to write more blog.
Installation of CentOS, boot recovery of win7 system