Windows 7/8/8.1 HDD Installation method for Ubuntu 14.04 dual system

Source: Internet
Author: User

first, software preparation

1, download Ubuntu system Image: http://www.ubuntu.com/download/desktop/;

The Ubuntu 14.04.1 LTS 64bit version is used here. LTS indicates long term support.

2, download and install diskgenius:http://www.diskgenius.cn/download.php;

Use Diskgenius to perform disk operations.

3, download and install easybcd:http://neosmart.net/easybcd/; here, use EASYBCD to conduct the boot process. BTW,EASYBCD does not have to pay for personal use, but please pay for the purchase of a genuine business use.

Second, Operation preparation 1, in the Diskgenius, select a disk partition processing Ubuntu installation partition, right-click on the target partition, select "Delete the current partition", pop out of the window to tap "Yes (y)", then in the upper left corner click on the "Save Changes" button, and in the confirmation window select "Yes (y) "。 The undefined state of the target partition remains.

Attention:

The Linux target disk is best to be behind the hard disk, because the Windows system does not recognize the Linux EXT4 partition, for example, if Linux is installed in the C drive and the e-drive between the D disk, the D disk will be deleted after the establishment of the Linux partition, the subsequent E-drive letter will be replaced by the system D. The software installed on the E-drive will fail to run if the system registry path is incorrect.

If you have a large number of files on each disk in the machine is inconvenient to format, you can use the "Resize Partition" feature in Diskgenius to pull a partition from a disk with a larger amount of free space. To do this: Right-click on the target disk, tap "Resize Partition", and then do the appropriate action.

2, copy the downloaded ISO system to the current system's C drive (hd0,0) root directory, and the ISO Casper folder Vmlinuz.efi and Initrd.lz Two files are also extracted to the C-drive (hd0,0) root directory (this can be opened using WinRAR).

Attention:

(Hd[n-1],[m-1]): Represents the section M partition of the nth disk. Usually the MBR master boot disk allows up to 4 primary partitions to exist, so generally "0=<m-1<4" represents the primary partition, while "4=<m-1" represents the logical partition.

3, open the EASYBCD. If you do, click "Add New Item" → "Neogrub" → "Install" by the number in the picture.

Clicking "Install" will essentially install a neogrub Bootloader boot loader to the system and write something in the system's packing directory accordingly.

When you are prompted that the Neogrub boot loader has been successfully added to the Boot menu, click Configure.

Click "Configure", will pop up a notepad file, essentially is menu.lst. Menu.lst is a DOS tool-initiated menu interface settings file. With MENU.LST, you can configure Linux boot and boot, or boot a Linux system that is already installed.

Add the following snippet of code in MENU.LST:

1 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-84 initrd (hd0,0)/initrd.lz

Attention:

The MENU.LST format typically has four lines:

--title xxxxx
Title Line: bootloader The menu options you see after you go in. Title is a must-have, it is the syntax of the GRUB tag, you can write to the title after the things you want to add, which can be defined by themselves.

--root (Hd[n-1],[m-1])
Root line: Root, then a space, plus a partition name (Hd[n-1],[m-1]). Represents the absolute path of ISO, Vmlinuz.efi, and Initrd.lz.

--kernel (Hd[n-1],[m-1])/xxxxx

Kernel line: Start with kernel, then add a space, and after the given Vmlinuz.efi file storage path, the purpose of this command line is to tell the computer will use the (Hd[n-1],[m-1]) partition under the Linux directory kernel kernel to boot. RO indicates read-only. The ISO that follows filename must be named in accordance with the target ISO file.

--INITRD (Hd[n-1],[m-1])/xxxxx

INITRD: Similar to the kernel line, it is used primarily to indicate which partition and directory the installed file is placed in, that is, the installation directory of the file specified after the command.

At this point, all preparations are ok!

Third, the installation process restarts. and select the Neogrub boot loader.

After you see the Grub4dos interface, select "Install Ubuntu 14.04.1 LTS", which is the title line of the code in the menu.lst above. Go to Ubuntu Desktop. You can see the Dock bar on the left side of the desktop, the status bar at the top, and an "install" and an "instance" on the desktop. Don't worry about installing it at this point.

Press Ctrl+alt+t to exit the terminal window (or click the top left button to open Dash and enter terminal).

Enter the following command in the terminal, and then return to execute. This instruction function is to uninstall the Isodevice CD-ROM partition when HDD installs Ubuntu. Otherwise there will be mount errors. Performs a silent representation of completion.

1 sudo umount-l/isodevice/

Complete the above and double click on the "Install Ubuntu 14.04.1 LTS" icon on the desktop. Load a moment, come out a welcome screen, left panel automatically check "Chinese (Simplified)", if not, you can choose the system language according to their own language preferences. Then click "Continue" in the lower right corner.

Check network conditions. The recommended option is "I don't want to link wi-Fi now." Keep out of the network and avoid the need to update the installation in a large number of networked installations time-consuming.

Prepare the installation environment check. Requires enough space, notebook connection power, off the net. Third-party plugins can be installed or not installed. Click "Continue".

Next, ask for the installation type. Install dual system Be sure to select "Other options", do not literally choose "coexistence."

Next go to the disk "Partition" condition. The partition where Ubuntu is installed here is the undefined partition (which shows the "idle" state) that we freed up above. The above "Partition" is quoted, because in the Linux system, there is no concept of hard disk partitioning, Linux is replaced by the concept of the file, which is fundamentally different from Windows.

Attention:

  1. mount point

    in Linux system, "Partition" is called "mount point", simple and clear, "mount point" means:

    put a portion of hard disk capacity, " The form of a folder to do other things. The name of this folder is called "Mount point". So, and windows have the essential difference, you in any Linux distribution system, you will never see C, D, e disk such, you can see, only "folder" in the form of "mount point". Linux organizes and manages all files in the system in a directory way.

    in a Linux system, there are some mount points that have been defined to be used to do certain things, and the common "mount points" are:

    1. / Boot: For the storage System boot file, is also the Vmlinuz core.
    2. /: A symbol that indicates the meaning of the root directory. is also the directory of the system administrator root.
    3. /home: The directory of the system consumer. Used to store user programs, files, documents, and other resources.
    4. Swap: Strictly speaking, swap is not a mount point. It is a virtual memory swap partition that, when you run out of physical memory, uses this portion of the swap partition as virtual memory. Of course swap is the space on the hard disk, even the SSD, the speed is not as fast as physical memory. If you want fast speed, you can not send high hopes for swap, it is better to increase physical memory, swap is only a temporary solution. There are 4G or more machines within the physical, and swap partitions are not required. But if your Linux is used for development and requires some software databases such as Oracle, swap must be retained.

    Other mount points do not expand here.

  2. Linux disk naming

    disk devices are named in the Linux environment and are mounted in the/dev device directory.

    1. IDE Interface's hard disk, displayed as: HD
    2. SATA or SCSI hard disk, shown as: SD. Multiple drives are: SDA,SDB,SDC. The
    3. Optical drive is displayed as: CDROM. Multiple optical drives are arranged numerically: Cdrom0,cdrom1,cdrom2. A
    4. hard disk partition, such as the first and second partitions of the first hard disk, is displayed as: Sda1,sda2.
  3. Common mount point settings
    1. Swap: As stated above, the physical presence of 4G or more of the machine, you can not need swap partition. But if your Linux is used for development and requires some software databases such as Oracle, swap must be retained, giving 1~2gb enough.
    2. /: If it is a personal use, the novice does not need to divide so many partitions, all a root directory on the line.
    3. /boot: Not necessarily to be divided. See you install Linux boot on that device.

      If the device that is installed by default boot loader does not change (that is,/SDA), it is booting the system with grub, and each boot will first go to the Grub 2 boot interface for you to choose Ubuntu or Windows, choose the latter to enter the Windows nt6.x boot interface, because the installed The MBR boot information is overwritten in SDA. This situation does not need to be separated by/boot alone.

      If the/boot is divided, the recommended size is 100m~300m. Installation boot loader can choose/or boot partition, but this way, you can only see the Windows boot menu after loading, you can only start Windows, you need to enter Windows using EASYBCD or Grub4dos and other software to add Ubuntu Kai The dynamic item.

Double-click Show free devices, pop up the Create Partition dialog box, fill in the size, select the partition type, the partition location, and the file system and mount point. The partition mount point order can be swapped, but when one is set to primary, it follows the default primary partition, while the logical partition does not. It is recommended that all be set to logical partitions.

Once set, go back to the Installation Type window and check the installation of each partition and boot boot.

If there are no errors, click "Install Now". If there is no swap partition, there will be a hint like, "continue" just fine.

Next go to the installation process, you will be prompted to select the time zone region, keyboard layout.

Set the name, computer name, user name, and password. The password here will be used as access to the system password, but also as a right password, do not build the speaker password, to avoid each use of sudo and other power commands required to enter the password too cumbersome.

When all of the above is set, go to the silent installation state.

The final installation is complete, prompting for reboot. Installation is complete.

Windows 7/8/8.1 HDD Installation method for Ubuntu 14.04 dual system

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.