Win7 and Ubuntu dual system

refus easily create a USB boot disk

https://rufus.ie/


Open Disk Management, right-click Computer -> Manage -> Storage -> Disk Management to
delete a volume in the partition and use it as an ubuntu system. Under dual systems, windows cannot read ubuntu partitions, but ubuntu can read windows partitions.
[ Attention here, if it used to be win7+ubuntu, then upgrade and reinstall ubuntu, here also delete the previous volume that ubuntu originally had ]

Insert picture description here

Unzip the file and configure the boot.
Unzip the
two files initrd.lz and vmlinuz.efi in the casper of the iso system file to the root directory of the C drive. At the same time, put the iso file in the root directory of the C drive. There is no restriction here. Put it in others Partitions are also possible, but the three files must be put together and under the root directory of the partition.

Insert picture description here

Then open EasyBCD, add a new entry --> NeoGrub, and click Install --> Configure. Will pop up a menu.lst text, replace the content inside

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

Note the bold part, (hd0, 0) this is the partition where the specified resource is located. The first 0 refers to the first disk. I have two disks, that is, the solid state disk. The second 0 refers to the partition, and 0 refers to the first disk. A partition, because I put it on the C drive, it is (hd0, 0). For example, if it is the following picture
Insert picture description here

After restarting, select NeoGrub boot loader, you will enter a trial system, which is quite PE.

The installation of ubuntu.
If you want to install dual systems here, please pay attention, check the "other options"
Insert picture description here

The ubuntu system is installed, boot back to the windows system, open EasyBCD, set the system boot, here is how to boot ubuntu from windows.
Add a new entry -> Linux/BSD, select GRUB2 for the type, fill in the name as you like, and select the partition named /boot just now for the drive. It's about 190M (the 200M that was just divided, there may be 10M for other things). Then click Add Entry.

Insert picture description here

[ Attention, the /boot partition should not be too small, otherwise it will fail to boot and fail to boot ]


1. Download and install EasyBCD in Windows, select Add New Entry, click the Linux/BCD tab, select GRUB2 (Ubuntu's Grub type) in the type, and then write the name of Linux in the Name (whatever you want), and click Add Entry.

2. Click Edit Boot Menu, set the order of the default boot menu and the time to select the system, and then save.


参考 文章 :
1 、 https: //blog.csdn.net/honeyaya/article/details/42457889
2 、 https: //blog.csdn.net/u013760048/article/details/48375579

Guess you like

Origin blog.csdn.net/yangyangrenren/article/details/115056122