[Excerpt] win7 install ubuntu-11.10-desktop Dual System

Source: Internet
Author: User

The installation is successful and can be used properly.

1) format the hard disk partition where Ubuntu is to be installed, right-click on the computer, choose manage> disk management, right-click the partition, and delete the volume. In this way, the installed Ubuntu partition cannot be seen in windows, but you can access windows disks when entering ubuntu.

2) easybcd software and ISO image (I am using easybcd 2.1.2 and ubuntu-11.10-desktop-i386)

3) Open the easybcd software below, and we can see that our computer has only one "entry" to start ",

Let's add one to him and select Add entries (add a mobile entry point ),

Followed by configure,

Then a menu. LST file will appear.

We want to edit this file because the system finds this file in Ubuntu.

Copy the following English

Title install Ubuntu
Root (hd0, X)
Kernel (hd0, x)/vmlinuz boot = Casper iso-scan/filename =/ubuntu-11.10-desktop-i386.iso Ro quiet splash locale = zh_CN.UTF-8
Initrd (hd0, x)/initrd. LZ

Note:

Ubuntu-11.10-desktop-i386.iso is the name of your ISO, don't write it into me, this will change to yours.

X in (hd0, x) is a positive integer (0, 1, 2, 3 ..........) I am an Acer notebook, the first drive letter is not a drive C, I am (hd0, 2 ). You can view the number of your c disk in disk management. If you are not familiar with it, you can try either 0, 1, or 2.

Save and close.

Next: Open the prepared ISO with the compression software or virtual optical drive, find the Casper folder, copy initrd. LZ and vmlinuz to drive C, and then copy the ISO to drive C.

Restart and you will see two boot menus for you to choose from. select 2nd neogrub.

Then, we will see Ubuntu in a short time.

Press CTRL + ALT + T to open the terminal and enterCode: Sudo umount-L/isodevice: unmount the drive where the disc is located. Otherwise, no partition is found on the partition page.

Then install the system. By default, there are two documents on the desktop. One is demonstration. You don't need to install ubuntu,

Select the installation type, which is customized.

The scheme for attaching data to a partition is as follows (taking 30 GB as an example ):

/20g ext4 (root partition can be larger)

Swap 2G

/Home 8g ext4 (the rest to/Home)

Some images:

Note:

(1) When selecting the device for installing the boot guide, you can select a proper/zone or create a new/boot zone.

(2) If you restart Windows, you will find that Windows cannot be accessed.

Open the terminal and enter the command

Sudo gedit/etc/default/GRUB

Modify grub_timeout = "10"
Then enter sudo Update-grub in the terminal
The update command will automatically find the Windows 7 startup Item. And automatically update the/boot/GRUB/grub. cfg file. In this way, windows can be restarted.

(3)

Change the system startup sequence:

Sudo nano/boot/GRUB/grub. cfg

Find default = "0" (check the number of lines in which win7 is started. Remember to change the number from scratch to that number)

Finally, go to window7, open easybcd to delete the menu. LST file changed during installation, and press remove.

Then, delete vmlinuz, initrd. LZ, and system ISO files from drive C.

You can use easybcd to change the boot item menu and press the edit boot menu button. You can choose to set Windows 7 as the default boot option.

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.