Ubuntu is installed on a hard disk in Windows 7 to form a dual-system.

Source: Internet
Author: User
Many people choose to use wubi to install ubuntu in IPVs. if you have used wubi, you will find that the entire installation package will be downloaded when you run wubi. after the iso file has been downloaded to the local device, wubi will run the file again. I used wubi on the company's network to prompt that it would take 30 hours to complete. okay, I gave up.

Many people choose to use wubi to install ubuntu in IPVs. if you have used wubi, you will find that the entire installation package will be downloaded when you run wubi. after the iso file has been downloaded to the local device, wubi will run the wubi file again. I used wubi in the company's network to prompt that it would take 30 hours to complete. well, I gave up and started to install it on the hard disk. to install the ubuntu dual system.

I. preparations (completed in win7)

1. download the image file
2. download and install easybcd.
3. create an empty disk, format it with the key, and delete the partition (you cannot see this drive letter in windows after this operation)
4. after easybcd2.1.2 is installed, start the software:

 

5. after starting easybcd, click "Add New Entry"> "NeoGrub"> "Install", click "Install" to display the following interface, and click "Configure ".
Click the "Configure" button, a notepad file will appear, paste the following code to the end of the file:
Title Install Ubuntu 12.04 LTS
Root (hd0, 5)
Kernel (hd0, 5)/vmlinuz boot = casperiso-scan/filename =/ubuntu-12.04-desktop-amd64.iso ro quiet splashlocale = zh_CN.UTF-8
Initrd (hd0, 5)/initrd. lz

In the code "ubuntu-12.04-desktop-amd64.iso" for you to download the ubuntu12.04 system image file name, this file name can be modified, but the modified name must be consistent with the written code name, otherwise it will not be able to boot the installation;
(Hd0, 5 )? Disk Partition, hd (), hd () indicates the primary partition, and (hd0, 4) indicates the logical partition, now I only have one primary partition, drive C (hd0, 0), drive D (hd0, 4), and drive e (hd0, 5, my image is placed in the E drive. change (hd0, 5) to your own partition)
6. place the downloaded image file in the root directory of the (hd0, N) disk, ensure that the file name is consistent with the file name of the code written above as a ubuntu-12.04-desktop-amd64.iso, and then open the iso with winrardecompress software, run vmlinuz and initrd in the directory of the casper folder. decompress lz and copy it to the root directory of the (hd0, N) disk. All preparations have been completed !!!

II. installation process

Restart and select the NeoGrubBootloader startup item to enter the ubuntu Desktop. do not click the installation system icon on the desktop. Click application-attachment-terminal in the upper left corner of the desktop, enter "sudoumount-l/isodevice" in the command window, and press enter (note the space key ).
This is mainly to prevent the "unable to unmount mount point" error during installation. Click "Install Ubuntu" on the desktop and follow the prompts to install it step by step.

Three options are available during installation.
Coexistence with Windows 7
Delete the entire disk and install Ubuntu
Other options

Just now, we have created an independent partition to install ubuntu. so select another option.

After the next step, start partitioning and select idle space (if there is no free space, it indicates that there is a problem in formatting and deleting partitions in windows, and you can reformat and delete partitions in windows)
We recommend that you create three partitions: '/', 'swap partition', and '/home'
Create 'swap partition' and '/ home' at the end of the partition '/'
After the settings are complete, go to the next step to install them.

3. 1. modify the boot guide after installation. After the installation is completed, you will find that the default startup system is Ubuntu.

1. enter "sudo mv/etc/grub" in the terminal. d/30_os-prober/etc/grub. d/06_oss-prober ", then you will be prompted to enter the system password. after the input, press enter, and then enter" sudoupdate-grub "and press enter.
2. click restart in the upper-right corner of the desktop. The win7 startup item is already at the top and default. Run easybcd after entering win7 and remove the nerogrub boot item.

You may also like the text.

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.