Install Ubuntu under win7

Boot the hard disk installation via EasyBCD .

Refer to https://jingyan.baidu.com/article/e4d08ffdace06e0fd2f60d39.html

Preparation:
Download the latest version of EasyBCD online and install it.
Download ubuntu-12.04-desktop-amd64.iso (64-bit system) (or ubuntu-12.04-desktop-i386.iso (32-bit system) depending on your computer)

1 Open the EasyBCD software, select [Add new entry], Then click "Install" in "NeoGrub".


Then click Configure and replace the contents of the menu.lst file with the following text:

title Install Ubuntu
root (hd0,0)
kernel (hd0,0)/vmlinuz.efi boot=casper iso-scan/filename=/ubuntu-12.04.5 -desktop-i386.iso locale=zh_CN.UTF-8
initrd (hd0,0)/initrd.lz
title reboot
reboot
title halt
halt

Description:
hd0 indicates the number of the hard disk where the c drive is located. Generally, there is only one computer, so they are all hd0 ; If there are multiple hard disks, change them to hd0, hd1, etc. according to the situation.
The number after hd0 indicates the partition order of C drive in the hard disk. Everyone’s system is different. If you don’t know, you can check it in Disk Management. My C drive is the first partition, so it is written as (hd0,0) .


After configuration, there will be an "NST" folder and a NeoGrub file in the c drive.
Next, unzip the system image file, and copy the initrd.lz and vmlinuz.efi files in the casper folder to the root directory of the C drive.
Note that the vmlinuz decompression may not have an extension, be sure to add .efi , otherwise an error will be reported when entering the boot area.


Restart the computer at this time, you can see an additional startup item "NeoGrub boot loader", select the item enter , and then select "install ubuntu", the other two are "restart" and "shutdown", which are set up to prevent installation errors, which have been set in the previous menu.lst configuration file.

After a lot of data is printed, you will enter the Ubuntu system interface. At this time, use the shortcut key ctrl+alt+T to open the terminal, enter: sudo umount -l /isodevice
Note the space and lowercase L, after execution, you can double-click the installation icon installed







Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325890781&siteId=291194637