Windows 7 under HDD install Ubuntu 14.04 LTS

Source: Internet
Author: User

1.ubuntu system image,: Http:// choose 64 bit bar, compatibility is better.

2. First or partition, right-click on the computer-manage-Disk Management

The size of the hard disk that can be allocated by Ubuntu is better (20G or more) not too small, I use 70GB to install Ubuntu.

Click on the last hard drive, mine is the F drive, the F drive must have enough blank space. Right-select "Compress volume" and then enter the "amount of compressed space" in the pop-up window by entering 70000, and then go the next step until the end to get about 70GB of green free space. This logical partition is preferably Win7 under the last hard disk, if placed in the middle of the Win7 logical partition, during the installation of the disk partition, there may be unknown errors, affecting the other hard disk data.

Note here that Ubuntu and the Windows file system are completely different, so we zoned to give Ubuntu the partition after deleting the volume. By the time, the installed Ubuntu partition, under Windows is not visible, but into Ubuntu is accessible to Windows disk. It's called a dual system.

3.EasyBCD software because Ubuntu boot and Win7 are different. For Ubguntu is not familiar with, do not use Ubuntu boot to start Win7, use Win7 to guide Ubuntu boot will be better. Install it directly in Windows after downloading.

Preparatory work

(1). After installing the EASYBCD, start the software:

In the direction of the arrow, click "Add New Entry"--"Neogrub"-"Install", then click "Configure".

(2). Click "Configure" to pop up a menu.lst file, then paste the following code at the end of the Menu.lst file:
Title Install Ubuntu 14.04 LTS

Root (Hd0,n)

Kernel (hd0,n)/vmlinuzvmlinuz.efi boot=casper iso-scan/filename=/ubuntu-14.04-desktop-i386.iso ro quiet Splash LOCALE=ZH_CN. UTF-8

INITRD (hd0,n)/initrd.lz

The code "Ubuntu-14.04-desktop-i386.iso" for you to download the Ubuntu 14.04 system image file name, this file name can be modified, but the name must be modified with the name of the code to write the same, otherwise it will not boot installation;
(hd0,n) indicates disk partitioning, HD (0,0), HD (0,1), HD (0,2), HD (0,3) represents the primary partition, (hd0,4) later represents the logical partition, such as I have only one primary partition C disk, then (hd0,0) represents the C drive, (hd0,4) represents the D drive, (hd0 , 5) denotes the e-disk, (hd0,6) represents the F-disk. If the image file is placed in the D disk, then change (hd0,n) to (hd0,4), it is important to remember to change (Hd0,n) to put the image of the partition. Finally click Save.

(3). Place the downloaded image file in the root directory of the (hd0,n) disk, and ensure that the file name and the code written above the filename of the same ubuntu-14.04-desktop-amd64.iso, and then use WinRAR unzip the software to open the ISO, the Casper folder directory Vmlinuz.efi and Initrd.lz unzip and copy to (HD0,N) the packing directory.

Start installation

1. Restart the computer, select Neogrub Bootloader in the boot entry screen, and then enter the Ubuntu desktop. Before installing, press the key combination Alt + Ctrl + T to cut out the terminal,

Enter the following command: $ sudo umount–l/isodevice
2. Double-click "Install Ubuntu14.04 LTS" on the Ubuntu desktop to enter the installation, select the language you want to install in the "Welcome" screen, the next "ready to install Ubuntu" option is the best check "install this third-party software"; Select the installation type, choose another option:
3. Click Continue after the "Partition interface", where you can see the previously compressed space, the front of the "idle" word, we have to do is: in this free space for Ubuntu partition.
Partition order, partition type, file format and space size are as follows:

' Swap partition ' logical partition file format: No space size: (This depends on your computer physical memory large:, <=512MB, can be set to: Actual Size * *, >512MB, can be directly filled with the actual physical size of the memory)

'/home ' logical partition file format: Ext4 Space size: In addition to the ' Swap partition ' and '/' size of the remaining partitions.

'/boot ' primary partition file format: Ext4 space size: 200M~1GB.

'/' primary partition file format: Ext4 space size: 3gb<=space <=10GB


The scenario for hanging in a partition is as follows (in 30G, for example):

/20G Ext4 (the root partition can be a bit larger)


/home 8G Ext4 (left to/home)


Avian Columbia recommended Partition

(Take 40G disks for example)

/boot Ext4 100M

/Ext4 10G

/Home Ext4 5G

Swap 1G


Set the partition, the next step is very key!!!
First, look at the number of the "/boot" partition you created, such as my Sda6 (you may not be sda6, maybe sda5,sda7, etc. depending on your/boot partition number), then select "Sda6" in the "Device to install boot area" drop-down option box below. If this step is ignored, you will use the Ubuntu system to boot Windows.

4. Click Install Now, followed by some general settings, time, keyboard layout, username and password, and then wait for the installation to complete. Then click on the prompt to restart the computer. Installation process if asked, whether with Win7 shared files, etc., according to the actual need to tick, I do not check this side.

5. After the reboot is installed, you will find the direct access to your Windows system because we have booted it into the/boot partition. We're going to use EASYBCD to create a boot-time selection system that is either Windows or Ubuntu, which is simple.

Open EASYBCD, select Add new entry, and select Linux/bsd.
Type this line best choose ' Grub 2 ', if choose the first ' grub (Legacy) ' may appear the problem that can not boot, the symptom is to choose Ubuntu Boot on the black screen, only see the upper left corner has a cursor flashing.
Name this line to fill out, just system nouns, write Ubuntu it.
The Device line selects the "/boot" partition of the 200MB that we just created, with the Linux tag in front of it. such as PS:EASYBCD is very strong, do not understand the mess, bad MBR don't blame me.

6. Then restart the system, choose Ubuntu, the normal will be able to enter the Ubuntu system, the installation process is over.

7. Finally, you can enter WINDOW7, open EasyBCD to remove the Neogrub bootloader boot entry that you installed, press Remove.

Some small settings
1. If the boot screen is too short to start the selection time, you can enter Win7 to modify the EASYBCD settings, the number of seconds to the time you feel appropriate.
2. Reboot should appear two start-up interface, first of all, Win7, choose to go to Ubuntu after the launch of an Ubuntu interface, you also need to choose Ubuntu, or wait for its number of seconds to go into Ubuntu. About this you can set the Ubuntu startup interface to a number of seconds to 1 seconds or a shorter time. Specific settings can be referenced

Reference Links:

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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: and provide relevant evidence. A staff member will contact you within 5 working days.