1 Win10 Dual system installation ubuntu16.04 and 18.04 (Problem detail record)

Source: Internet
Author: User
Tags intel core i7

Always windows run deep learning and TensorFlow, some projects source code is under Linux, the last resort, need to install Linux system.

The initial selection is ubuntu16.04, but because of the love of the double display screen, and eventually replaced by the ubuntu18.04, the display effect is higher than the ubuntu16.04 level of N. Because the support for integrated graphics Intel 630 Graphics is after the Linux 14.5 kernel version. The kernel version of ubuntu16.04 is Linux 13.

Successively in the WIN10 under the double system the way successfully installs two Ubuntu system, encountered many problems in the process. Detailed records are as follows.

If friends do not want to see such a tedious process, look directly at the final summary can be.

1 Best Installed Posts

Ubuntu 16.04 and WIN10 dual-system dual-drive installation diagram, see 54183577

Note that the blog post is irrelevant. The original text has the words:

"My is ThinkPad, 1T of mechanical hard disk (more than n disks, all primary partitions), 120G of Solid State Drive (System disk). So I installed in the first time, the Ubuntu installed in a mechanical hard disk of a main partition, and then use EASYBCD to restart the computer after the start-up, the dead and alive are not activated Ubuntu system, plus in the installation process of a mistake, but also grasp the system disk to hang once. The lesson of the dripping blood.
Therefore, for a number of hard disk friends, my advice is: on the current system on the hard disk, leaving an empty primary partition installed Ubuntu system. Never make a fuss on a secondary hard drive like I do, even if you install a Win7 system on a secondary hard drive, it won't start. ”

Therefore, this dual drive is not to install the two systems on different hard disks.

2 I install the full record of the process (from small white to the last success, not interested can directly see the 3rd part Summary), 2.1 Machine main configuration:
    • Motherboard asus ROG STRIX z370-h GAMING (Intel PCI Standard host CPU Bridge-Series chipset FAMILY-A2C9)
    • Processor Intel Core i7-8700k @ 3.70GHz six-core
    • Memory up to GB (Kingston DDR4 2400MHz)
    • Master HDD Samsung SSD 860 EVO 250GB (GB/SSD)
    • Secondary drive Seagate st1000dm010-2ep102 capacity 1 TB
    • Video card Nvidia GeForce GTX Ti (GB/MSI)
    • Monitor 13 star Sam0c19 s24e390
    • Display 2 BenQ bnq7b30 BenQ VW2245

First of all, my win10 system is to divide the main hard disk into 120G. So there's still 120G left, ready to install Ubuntu.

Secondly, in order to avoid using the video memory of the TI card, my two monitors are connected to the integrated graphics card, which is the motherboard's own video card. The video card used by the motherboard is Intel UHD 630.

The installation was successful when the ubuntu16.04 was installed in 54183577 ways. However, it is also possible to boot dual systems. However, you encounter a problem:

The system is running in Low-graphics mode

2.2 The system is running in Low-graphics mode Online Program One:

sudo add-apt-repository Ppa:graphics-drives/ppa

sudo apt-get-update

sudo apt-get-upgrade

sudo reboot

Add a source, and then update the driver to make a series of updates.

Will prompt with

Sudo Apt-get update–fix-missing

And then execute

Sudo Apt-get update–fix-missing

Not even. Because there is no indication of what is the driver of the graphics card. The source is not necessarily added correctly.

Online Program II:

using the Https://www.linuxidc.com/Linux/2017-03/141454p2.htm?from=timeline in the

Intel? Graphics Update Tool 2.0.2 for ubuntu* 16.04, 64-bit

But, Https://m.aliyun.com/yunqi/articles/588720 said

Ubuntu 16.04 kernel version is too low, the general Ubuntu default contains the driver of the Intel graphics card, if not, then determine whether the graphics card is too high, such as the I7 7th generation of CPU in Ubuntu 16.04 is not, resulting in the screen will be very card, The reason is that the Linux 4.4 kernel does not contain Intel HD Graphics 630 drivers, and the solution is only to upgrade the Linux kernel to 4.7 in Ubuntu 16.04.

So, I look at my kernel version and use the Cat/proc/version command to see the kernel version of the Linux version 4.13.0-36-generic. Some people say that only 4.15 versions can support the UHD 630 driver "

The https://www.reddit.com/r/linuxhardware/comments/7v6sdr/intel_uhd_graphics_630_support/?utm_source=reddit-android in this English post are:

chih758

108 days ago

Https://www.reddit.com/r/linuxhardware/comments/7v6sdr/intel_uhd_graphics_630_support/?utm_source=reddit-android
Https://www.phoronix.com/scan.php?page=article&item=coffee-uhd-graphics&num=1
Found two posts, do not know if there is no help.
Intel's Linux graphics drivers have been so rubbish, 8 generation has been released for a long time, has not been adapted. My 6-generation nuclear drive also has problems, and hard solutions occasionally cause the entire system to hanging.
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1710051

This means Intel? Graphics Update Tool 2.0.2 for ubuntu* 16.04, 64-bit does not necessarily support the Intel 630 graphics card effectively. The kernel is not supported either. Linux graphics drivers for various intgel on the web. Windows is doing so well, but Linux is doing poorly.

So I decided to upgrade the kernel.

your solution three:

77668946

There is a detailed kernel upgrade process.

http://kernel.ubuntu.com/~kernel-ppa/mainline/is the kernel directory

I choose

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15.18/

4.15.18 version

Download three deb files using wget

Http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15.18/linux-headers-4.15.18-041518_4.15.18-041518.201804190330_all.deb

Http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15.18/linux-headers-4.15.18-041518-generic_ 4.15.18-041518.201804190330_amd64.deb

Http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15.18/linux-image-4.15.18-041518-generic_ 4.15.18-041518.201804190330_amd64.deb

Even though the CTRL+ALT+F1 directly into the command line mode, the download requires networking. So, still want to enter the interface to network.

Refer to the https://www.cnblogs.com/Undo-self-blog/p/8098104.html in the

Enter the interface. after entering, it will be very lag.

Because there is no Intel UHD 630 graphics driver. This is caused by a kernel version that is too low.

But https://www.cnblogs.com/Undo-self-blog/p/8098104.html is not recommended to update the driver's way inside. or update the kernel directly. Because Intel's graphics driver, written for the Ubuntu 16.04 kernel version, does not support itself.

#下载完成以后, install the kernel file

sudo dpkg-i *.deb

#安装完成以后, reboot the system and verify the kernel version

Uname-sr

Upgrade kernel succeeded. The interface is no longer stalling.

However, you are still always prompted to detect problems with the system program.

To see what the issue is:

Xorg crashed with SIGABRT

2.2 detected a problem with the system program Xorg crashed with SIGABRT

To see what the issue is:

ExecutablePath

/usrlib/xorg/xorg

Then the title is

Xorg crashed with SIGABRT in Rrproviderautoconfiggpuscreen ()

Package is

Xserver-xorg-core-hwe xxxx out of the question.

I suspect it was because before to get into the graphical interface, do the following:

caused later.

I decided to update xserver-xorg-core (that is, the graphical desktop)

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1710051

The web site says the following:

-I upgraded to the Xserver-xorg-video-intel version, is in this PPA: https://launchpad.net/~oibaf/+archive/ubuntu /graphics-drivers --After this, the problem went away, definitively. I has only been running this version for a day, but has had no crashes, and the Facebook WebGL reproduction case is no l Onger a reproduction case.

My suspicion is, which is a bugs deep in the Intel driver and their interaction with certain GPUs, since the hang have Happ Ened in + than one Userland program, and seems to is "repaired" by recent updates in the above-linked PPA.

Https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers said:

Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA by adding ppa:oibaf/graphics-drivers To your system ' s software Sources. (Read about installing)

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update

Supported Architectures:amd64, ARM64, i386

Supported Ubuntu Versions:
-16.04 (xenial)
-17.10 (Artful)
-18.04 (Bionic) <-suggested version
-18.10 (Cosmic)

The key is that if there is a problem after installation, it is suggested that you can use the following method to return to the previous Ubuntu self-brought

1 Win10 Dual system installation ubuntu16.04 and 18.04 (Problem detail record)

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.