Windows 7 + Ubuntu11.10 dual-system installation

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.