1. Install EasyBCD in Windows 7 (the latest version is 2.1.2 ).
1, Windows 7 installation EasyBCD (the latest version is 2.1.2) download see http://www.linuxidc.com/Linux/2007-12/10060.htm
2. Copy the Ubuntu System File ubuntu-11.10-desktop-i386.iso to the c root directory and use UltraISO to copy the initrd In the Casper directory. the two files lz and vmlinuz are extracted to the desktop and copied to the root directory of the C drive. Why not extract them directly to the root directory? Because it is extracted directly to the root directory, we can't see the file being put. If it is extracted directly in this way, when you restart the computer again, you will not go to the Ubuntu system interface to install the desktop.
3. Run EasyBCD.
-> Add new entry
-> NeoGrub
-> Install
-> Save setting
-> Select NeoGrub Bootloader.
-> Configure
3. In menu. lst notepad, enter
Root
Kernel/vmlinuz iso-scan/filename =/ubuntu-11.10-desktop-i386.iso boot = casper splash
Initrd/initrd. lz
Boot
4. When you restart the computer, you will find that a NeoGrub Bootloader is selected, and you will be taken to the Ubuntu disc system. alt + F2 or ctrl + alt + t, enter sudo umount-l/isodevice
Finally, click the Ubuntu installation icon on the desktop and start normal installation.
After the installation is successful, restart the computer and enter Ubuntu 11.10. Open the terminal and enter the following command:
Sudo update-grub
Restart again and the Windows 7 boot menu appears
5. Modify the startup Item and set win7 to the first startup option.
Enter the Ubuntu terminal and enter a command
# Sudo chmod + w/boot/grub. cfg modify the grub. cfg file to writable state.
# Sudo gedit/boot/grub. cfg
6. I found several
### BEGIN **************** ### start
### END ****************** ### END code
We cut the code that contains win7
{Set timeout = 10
Fi
### End/etc/grub. d/00_header ###}
Confirm that set default = "0"
Save and exit. the restart menu item will change Windows7 to the first item, so that you can normally enter window7. If you need to access other systems, select the startup Item.