Install Ubuntu11.10 on a hard disk in WIN7 to implement dual-System

Source: Internet
Author: User
Tags wubi
Step 1: first, right-click the partition on the computer -- manage -- disk management I use 27 GB to install Ubuntu. Note that ubuntu and windows file systems are completely different, therefore, after partitioning ubuntu, delete the volume. At that time, the installed ubuntu partition will not be visible in windows, but you can access windows disks In ubuntu. This is called a dual system. It is different from wubi. Step 2: Prepare two eastern regions

Step 1: first, right-click the partition on the computer -- manage -- disk management
I installed Ubuntu with 27 GB. Note that ubuntu and windows file systems are completely different, so we have to partition ubuntu and delete the volume. At that time, the installed ubuntu partition will not be visible in windows, but you can access windows disks In ubuntu. This is called a dual system. It is different from wubi.

Step 2: Prepare the EasyBCD software and the iso image (I used easybcd version 2.1, just download the version after version 1.7. to install the version, do not use the green version)

EasyBCD download see the http://www.linuxidc.com/Linux/2007-12/10060.htm

Step 3: Open the EasyBCD software. 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 ),
Select NeoGrub and click Install NeoGrub and Save, 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 text to overwrite the original one.
Title Install Ubuntu
Root (hd0, 0)
Kernel (hd0, 0)/vmlinuz boot = casper iso-scan/filename =/ubuntu-11.10-beta2-desktop-i386.iso ro quiet splash locale = zh_CN.UTF-8
Initrd (hd0, 0)/initrd. lz
PS: ubuntu-11.10-beta2-desktop-i386.iso is your iso name, don't write it as my, this will change to yours.
Disable Save.

The success is only one step away: 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 wait for a while to see our day-and-night-thinking ubuntu.
In fact, the above is just equivalent to doing a PE. Do I feel this when I use winPE? But not as powerful as PE.

By default, there are two documents on the desktop. One is demonstration. We choose to install Ubuntu,

Remember to press Ctrl + Alt + T to open the terminal and enter the code: sudo umount-l/isodevice to unmount the drive where the CD is located, otherwise, partitions cannot be found on the partition page.

Start installation,
Needless to say,
Choose the installation type. We will use a custom one. Do not worry about the windows and ubuntu dual-systems, as long as the options such as ubuntu are used,
Next it should be a partition.
The scheme for attaching data to a partition is as follows:
/20G ext4
SWAP 2G
/Temp 5G ext4
Next, we don't have to say that it's all pediatrics.

After the installation is complete, restart it, but do not think it is finished. ubuntu is installed, but you will find that windows cannot be installed.

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. cfg file. In this way, windows can be restarted.

Then, delete vmlinuz, initrd. lz, and system iso files from drive C.

PS: you also want to set windows as the default startup Item,
Open the terminal and enter sudo gedit/boot/grub. cfg. Then find the relevant windows cut and paste it to the first startup Item and restart it.

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.