Install Ubuntu in win7

Source: Internet
Author: User

1. Download the Ubuntu image file. The full name of the file I downloaded is ubuntu-12.04-desktop-i386.iso

2. Download easybcd. This is used to guide the installation of ubuntu.

Step 1: In win7, right-click "my computer"> "manage"> "disk management", select "F", compress the volume, and select "13 Gb. This will free up 13 Gb space for Ubuntu installation.

Step 2:

Open easybcd, click "Add new entry"-> "Neo Grub"-> "Install", and click "Configure ".
After you click "Configure", a notepad file is displayed. paste the following code to the end of the file and save it:

title Install Ubuntu root (hd0,0) kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/ubuntu-12.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8 initrd (hd0,0)/initrd.lz

(The above root (hd0, 0) indicates starting from drive C)
Save the downloaded ubuntu-12.04-desktop-i386.iso under the root directory (for example: C: \), and then use WinRAR to decompress
Open the ISO image file, decompress vmlinuz and initrd. LZ in the Casper folder directory, and copy them to the C root directory.

Step 3:

Restart the computer and select the neogrub bootloader option to go to Ubuntu installation. After entering the Ubuntu interface,

It is found that there is an Ubuntu installation icon on the desktop. Do not rush to click the Installation System icon on the desktop. First point
Click application-attachment-terminal (or CTRL + ALT + T) in the upper left corner of the desktop, enter "sudo umount-L/isodevice" in the Command window, and return
Car (note that the Space key, the L in-L is the lower case of the letter L ). This is mainly to prevent the "unable to unmount mount point" error during installation.

Step 4:

Click "Install Ubuntu" on the desktop, select Simplified Chinese, and continue until three
Options: coexist with Windows 7, overwrite windows, and other options. Because we are already using Ubuntu
So we chose the third option, that is, other options.

Next, you will find many disks and find the partition named "idle,

Option: File System etx4, mount point:/, 9 GB

Right-click "idle" and set the capacity (2 GB). This is mainly used to store your own files (such as movies, materials, music, etc)

Option: file system, etx3, mount point/home.

Right-click "idle", used for swap space (2 GB), mount point/home. OK, click Continue
Just install it.
Then you can install it all the time.
After the installation is complete, we finally enter the UBUNTU World. But there are still some unfinished things, you will find no
You can access windows. Follow the steps below to modify.

1. Modify the boot guide. After the installation is completed, you will find that the default startup system is ubuntu. Go to Ubuntu
Click application-attachment-terminal in the upper left corner of the desktop,

Enter "sudo mV/etc/grub. d/30_os-prober/etc/grub. d/06_os-prober"

Then you will be prompted to enter the password, which is the password you set when installing the system,
Note that * the encryption flag does not appear after the input, but does not display it directly. After the input is complete, press enter and enter

"Sudo Update-Grub" (very important, you need to update grub), and press Enter.

The above effect is that grub will be advanced each time the system is selected, and then the Windows boot will be performed. If this is inconvenient for normal use, you can enter windows, open easybcd, and click

Edit boot menu to delete all entries. Then click Add new entry to reset and guide Windows and Linux.

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.