1. Issue background
The book is Win7 and ubuntu10.04 dual system, with a good, although only in the use of QQ time will also use the Win7, but still keep windows. But a few days ago, Win7 suddenly always blue screen, freezing, more important is the background turned black, require activation. A blue screen may be too hot, black screen there is no way to use all the means to reactivate invalid after the decision to reinstall XP.
2. Implementation process
Find a Carrot Home system disk, boot from CD, choose to install XP original, select the original win7 hard disk partition, format, install, restart. Get into XP, okay. No problem. The problem is, my Ubuntu does not have ~ ~ Of course, the installation of XP on the idea of a solution, previously written blog said the problem.
3. Description of the problem
The boot-up MBR covers grub and cannot be booted by grub.
4. Workaround
Find a ubuntu10.04 (any version can) system disk, boot from CD, choose the Chinese environment, and then select the "Repair damaged system" This menu, all the way next, the last occurrence of the selected partition as the root partition, then in the menu that appears can directly choose to repair grub, Then choose to install the Grub partition (the default is/DEV/SDA, which must be entered manually), the installation successfully restarted. can also be like me, choose to put/dev/sda1 as the root partition into the shell (my system installed in/dev/sda1), enter after using the command
Grub-install/dev/sda
You can also complete the grub installation, prompt after success, and then run
Update-grub
This will enable the newly installed Windows operating system to appear in the boot-up Grub menu.
5. Summary
My system is ubuntu10.04, the file editor is vim, the whole process is about more than 20 minutes just fine. If you have what can not be resolved directly to reply, but also want to www.xinongda.com/osblog more to see, here will introduce more operating system knowledge.