Installed Linux system for many newcomers to the first is always a problem, this site every time a new version of Ubuntu release will be published installation tutorial.
Here again describes the detailed procedure under Windows 7/8 / 8.1 hard drive to install Ubuntu 14.04 dual system.
First, the software ready
1, download the Ubuntu system image:
Here is Ubuntu 14.04.1 LTS 64bit version. LTS represents Long Term Support, long-term support.
2, download and install DiskGenius
Use DiskGenius for disk operations.
3, download and install EasyBCD
As used herein, EasyBCD boot for processing. BTW, EasyBCD for personal use do not have to pay, but please pay when you buy genuine commercial usage behavior.
Second, the operation ready
1, in DiskGenius, select a disk partition processing Ubuntu installation partition, right in front of the target partition, select "Delete the current partition" pop up window, click "Yes (Y)", then in the upper left corner click 'Save Changes "button in the confirmation window and select" yes (Y) ". Remains undefined target partition.
Linux target disk is preferably in the back of the hard drive, because the Windows system does not recognize the Linux Ext4 partition, for example, if the Linux installed in the D drive C and E disk drive between D drive soon after the establishment of the Linux partition deleted behind the E disk drive will be replaced by a system D. The software installed in the E disk will appear in the system registry path does not lead to situations which can not run.
If your machine in each disk there are a lot of convenient file format, you can use the "resize partitions" function DiskGenius pulled out from one of the free space in a larger disk partition. To do is: Right in front of the target disk, click on the "resize partitions", followed by appropriate action.
2, download iso system is copied to the current C drive system (hd0,0) under the root directory, and the iso casper folder vmlinuz.efi and initrd.lz two files extract to the C drive (hd0, 0) in the root directory (this can be opened using WinRAR).
(Hd [n-1], [m-1]): represents the n-th block of the m-th partition of the disk. Generally allow the MBR master boot disk up to four primary partitions exist, so in general (0 = < m-1 < 4) represents the primary partitions, and (4 = < m-1) is indicative of a logical partition.
3. Open EasyBCD. By serial number, click on "Add New Entry" -> "NeoGrub" -> "Install."
Click "Install" after the installation of a system essentially give NeoGrub Bootloader boot loader in the system root directory accordingly write something
When prompted "NeoGrub boot loader has been successfully added to the Start menu", click "Configure."
Click on "Configuration", will pop up a Notepad file, essentially menu.lst. menu.lst is a DOS utility to start menu interface settings file. By menu.lst, you can configure the Linux boot and boot or boot Linux system already installed.
Add the following piece of code in the menu.lst:
1 title Install Ubuntu 14.04.1 LTS x64
2 root (hd0,0)
3 kernel (hd0,0) /vmlinuz.efi boot = casper iso-scan / filename = / ubuntu-14.04.1-desktop-amd64.iso ro quiet splash locale = zh_CN.UTF-8
4 initrd (hd0,0) /initrd.lz
menu.lst format generally have four lines:
title row: bootloader go after seeing the menu options. title must be retained, it is grammar label grub, you can write what you want to add the title back, this can be your own definition.
--root (hd [n-1], [m-1])
root line: the beginning of the root, then a space, plus a partition name (hd [n-1], [m-1]). The absolute path iso, vmlinuz.efi and initrd.lz of.
--kernel (hd [n-1], [m-1]) / xxxxx
kernel line: kernel begin with, and then subsequently given vmlinuz.efi file storage path and a space, and that the command line that tells the computer uses (hd [n-1], [m-1]) partition linux directory of the kernel of the kernel to boot. ro for read-only. Always behind the iso filename and the target iso file naming consistent.
--initrd (hd [n-1], [m-1]) / xxxxx
initrd line: kernel and similar lines, mainly used to indicate the installation files on which partition and the directory in which that file to specify the installation directory after the command.
So far, all the preparatory work OK!
Third, the installation process
Restart. And select NeoGrub boot loader.
See GRUB4DOS interface, select "Install Ubuntu 14.04.1 LTS", which is above the title line of code menu.lst content. Into the Ubuntu desktop. You can see the desktop is the Dock on the left top of the status bar, there is a "install" and an "instance" on the desktop. This time not to rush to the installation point.
Press Ctrl + Alt + T exhaled a terminal window (or by clicking on the top left corner of the button to open the Dash and enter the terminal).
Enter the following command in the terminal, and then press Enter to perform. Isodevice sentence directives is to uninstall the hard disk drive partition to install ubuntu. Otherwise, an error will be mounted. Perform a silent representation is complete.
1 sudo umount -l / isodevice /
The above is finished, double-click on the desktop "Install ubuntu 14.04.1 LTS" icon. Load moment, came up with a welcome screen, the left panel is automatically selected, "Chinese (Simplified)," If not, then you can choose the system language preferences based on their language. Then the bottom right corner click "Continue."
Check the network situation. Recommended to select "I do not want to link wifi wireless network." Holding off status to avoid the installation process to install a lot of unnecessary network update time-consuming.
Prepare the installation environment. It requires enough space, connected to the notebook power off the network. Third-party plug-ins can be installed or not installed. Click "Continue."
Next, ask the type of installation. Be sure to install dual system Select "Other Options", chose not to read the surface meaning "coexistence."
Next, enter the disk "partition" situation. Here installed Ubuntu partition is above our vacated undefined partition (shows "idle" state). The above "Partition" in quotes, because the Linux system, there is no concept of a hard disk partition, Linux is a file instead of the concept of this and Windows are essentially different.
In the Linux system inside, "Partition" is called the "Mount point" straightforward, "said Mount Points" means:
A portion of hard disk capacity, "minute" in the form of a folder, used to do other things. The name of this folder is called: "mount point." Therefore, and Windows has a fundamentally different and you are in any Linux distribution system which will never see the C drive, D drive, E drive so that you can see, only the "folders" in the form of " mount point. " Linux in the directory ways to organize and manage all the files in the system.
In the Linux system which, some have defined for specific things dry mount point, common "Mount Points" are:
/ Boot: for storing system boot files, also vmlinuz core lies.
/: On a symbol representing the root meaning. Also a system administrator root directory.
/ Home: the user's system directory. Used to store user programs, files, documents and other resources.
SWAP: Strictly speaking, swap is not a mount point. It is a virtual memory swap partition, when you run out of physical memory the machine will use this part of the swap partition to use as virtual memory. Of course, swap space on the hard disk, even if the SSD, speed is not fast and physical memory. If you want a quick degrees, can not be pinned great hopes on the swap, the best is to increase physical memory, swap is only a temporary solution. 4G or more of physical memory in the machine may not be required swap partition. But if your Linux is used for development, we need some, such as Oracle database software such as, swap or must be retained.
Other mount point here do not expand.
Disk devices in the Linux environment, folders are named, mounted under / dev directory device.
IDE hard disk interface, shown as: HD
SATA or SCSI hard disk, shown as: SD. A plurality of hard disk: sda, sdb, sdc.
Optical drive, is displayed as: CDROM. A plurality of drive Press arrangement: CDROM0, CDROM1, CDROM2.
Hard disk partitions, such as the first and second partitions of the first hard disk, are shown as: sda1, sda2.
Common mount point settings
SWAP: As mentioned above, 4G or more of physical memory in the machine may not be required swap partition. But if your Linux is used for development and need some software such as oracle database, swap or it must be preserved, for 1 ~ 2GB enough.
/: If it is for personal use, so many novice is not necessary to divide the partition, a whole part of the root directory on the line.
/ Boot: do not have to divide it. See you boot Linux installed on the device.
If the default boot loader install equipment that does not change (ie / sda), then with GRUB 2 to boot the system, each boot will first enter the Grub 2 boot screen for you to choose Ubuntu or Windows, choose the latter, then it the NT6.x boot into Windows interface, because there will be installed in the sda rewrite mbr boot information. This situation is no separate division / boot out.
If / boot points out, the proposed size of 100M ~ 300M. You can choose to install the boot loader / or / boot partition, but this way, Bahrain can only see the Windows boot menu, and can only start Windows, you need to enter Windows using software Grub4DOS or the like EasyBCD to add Ubuntu startup items.
Double-click Display idle equipment, pop-up "Create Partition" dialog box, and then click to fill in size, select the partition type, partition location, and the file system and mount point. Partitions Mount Point can change the order, but when there is a primary partition after setting default will follow behind the main partition, logical partition does not. Recommends all set to logical partitions.
After setting, return to the type of installation window, check the installation of equipment in each partition and boot loader.
Such as error, click "Install now." If there is no sub-swap partition, there will be a prompt, click "Continue" just fine.
Next, enter the installation process, in turn prompted to select local time zone, keyboard layout.
Set name, computer name, user name and password. The password will be here as a password to enter the system, as will provide the right password, the password length is not recommended, avoiding the need to enter a password each time you use sudo command too much trouble and so mention the right.
All of the above set up after entering the silent installation state.
Finally, the installation is complete, restart prompt. The installation is complete.