win10安装ubuntu黑屏

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: win10安装ubuntu黑屏

#16

帖子 poloshiao » 2017-05-07 21:26

請參閱 你的電腦使用說 UEFI 部份的設定
BlueWinters
帖子: 15
注册时间: 2017-04-22 20:21
系统: win10

Re: win10安装ubuntu黑屏

#17

帖子 BlueWinters » 2017-05-08 14:05

最新的问题:
我参照这个方法去安装http://www.jianshu.com/p/2eebd6ad284d:USB+EasyBCD引导,启动进入系统选择时候,发现无法进入ubuntu系统(黑屏,左上角光标不停闪烁)。
问题猜想,在选择“安装启动引导器的设备”时候,是按照上面所给的方案,没有选择win10的启动区,这可能是问题的原因吗?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: win10安装ubuntu黑屏

#18

帖子 poloshiao » 2017-05-08 14:14

这可能是问题的原因吗?
1. 可能原因很多
其中 最優先考慮
你的顯卡硬件是否受到支援
你的顯卡驅動是否合適安裝
如果是 uefi / secure boot 你的顯卡驅動 是否成功載入

2. 2. 使用同一版本 Ubuntu Live CD/DVD/USB 開機
登入 試用桌面 把下面指令 複製 貼進終端機 執行
2-1. uname -a
2-2. sudo lspci -knn
2-3. sudo lshw -numeric -class video
2-4. sudo ubuntu-drivers devices
2-5. sudo efibootmgr -v
把結果直接 選取/複製 貼上來
目的 要查正確的顯卡 Codename
不要擷圖 方便回文直接引用你貼上來的資料
方便你閱讀
BlueWinters
帖子: 15
注册时间: 2017-04-22 20:21
系统: win10

Re: win10安装ubuntu黑屏

#19

帖子 BlueWinters » 2017-05-08 14:57

如果是 uefi / secure boot 你的顯卡驅動 是否成功載入
这个并不清楚 :em06

下面是命令行的结果
uname -a
Linux ubuntu 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

sudo lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:191f] (rev 07)
Subsystem: Gigabyte Technology Co., Ltd Skylake Host Bridge/DRAM Registers [1458:5000]
Kernel driver in use: skl_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Sky Lake PCIe Controller (x16) [8086:1901] (rev 07)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H USB 3.0 xHCI Controller [1458:5007]
Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Thermal subsystem [8086:a131] (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H Thermal subsystem [1458:8888]
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H CSME HECI [1458:1c3a]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H SATA controller [AHCI mode] [1458:b005]
Kernel driver in use: ahci
Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #5 [8086:a114] (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #9 [8086:a118] (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a148] (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H LPC Controller [1458:5001]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H PMC [1458:5001]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H HD Audio [1458:a182]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H SMBus [1458:5001]
Kernel modules: i2c_i801
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1c03] (rev a1)
Subsystem: Device [1b4c:11d7]
Kernel modules: nvidiafb, nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10f1] (rev a1)
Subsystem: Device [1b4c:11d7]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Gigabyte Technology Co., Ltd Motherboard [1458:e000]
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Non-Volatile memory controller [0108]: Intel Corporation Device [8086:f1a5] (rev 03)
Subsystem: Intel Corporation Device [8086:390a]
Kernel driver in use: nvme
Kernel modules: nvme


sudo lshw -numeric -class video
*-display UNCLAIMED
description: VGA compatible controller
product: NVIDIA Corporation [10DE:1C03]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list
configuration: latency=0
resources: memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:c0000-dffff

sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
vendor : NVIDIA Corporation
modalias : pci:v000010DEd00001C03sv00001B4Csd000011D7bc03sc00i00
driver : nvidia-367 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin

== cpu-microcode.py ==
driver : intel-microcode - distro non-free

sudo efibootmgr -v
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0001
Boot0001* Hard Drive BBS(HD,,0x0)..GO..NO........y.I.N.T.E.L. .S.S.D.P.E.K.K.W.1.2.8.G.7....................A.......................................<..Gd-.;.A..MQ..L.I.N.T.E.L. .S.S.D.P.E.K.K.W.1.2.8.G.7........BO..NO........o.S.T.1.0.0.0.D.M.0.0.3.-.1.S.B.1.0.2....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.W.4.A.1.G.1.3........BO..NO........o.S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.W.6.A.9.S.S.N........BO..NO........s.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .2...0.1...0.0....................A.......................F..Gd-.;.A..MQ..L.6.0.A.4.4.C.4.2.5.6.8.C.F.1.2.1.8.9.8.9.2.6.2.C........BO
Boot0002* UEFI: KingstonDataTraveler 2.01.00, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(7,0)/HD(1,MBR,0x4294967274,0x100,0x1cd52f4)..BO
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: win10安装ubuntu黑屏

#20

帖子 poloshiao » 2017-05-08 16:18

sudo lspci -knn
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1c03] (rev a1)
Subsystem: Device [1b4c:11d7]
Kernel modules: nvidiafb, nouveau
1. 單顯卡
NVIDIA Corporation Device [10de:1c03]
1-1. 合適的驅動 nouveau

2. http://pci-ids.ucw.cz/v2.2/pci.ids
10de NVIDIA Corporation
1c03 GP106 [GeForce GTX 1060 6GB]

3. https://nouveau.freedesktop.org/wiki/CodeNames/
NV136 (GP106) GeForce GTX 1060
3-1. GeForce GTX 1060 在名單內
sudo lshw -numeric -class video
*-display UNCLAIMED
product: NVIDIA Corporation [10DE:1C03]
configuration: latency=0
4. 但是 沒有顯卡驅動 nouveau 發揮作用中

5. lsmod | nouveau
看看 顯卡驅動 nouveau 模組 是否正常被載入 ?
sudo efibootmgr -v
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0001
6. 如果這是在 試用桌面 執行的指令
表示 你是在 UEFI enabled 的情況 開機
而非 UEFI disabled 的情況 開機
BlueWinters
帖子: 15
注册时间: 2017-04-22 20:21
系统: win10

Re: win10安装ubuntu黑屏

#21

帖子 BlueWinters » 2017-05-08 16:51

使用使用桌面,结果如下,发现nouveau模块,但是似乎没发现显卡驱动模组?


Module Size Used by
bnep 20480 2
snd_hda_codec_hdmi 45056 1
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
coretemp 16384 0
kvm_intel 192512 0
kvm 598016 1 kvm_intel
hci_uart 98304 0
snd_hda_codec_realtek 86016 1
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
btbcm 16384 1 hci_uart
btqca 16384 1 hci_uart
joydev 20480 0
input_leds 16384 0
irqbypass 16384 1 kvm
btintel 16384 1 hci_uart
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
snd_hda_intel 36864 5
bluetooth 557056 11 hci_uart,btintel,btqca,bnep,btbcm
ghash_clmulni_intel 16384 0
snd_hda_codec 135168 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
aesni_intel 167936 0
aes_x86_64 20480 1 aesni_intel
snd_hda_core 86016 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
lrw 16384 1 aesni_intel
snd_rawmidi 32768 1 snd_seq_midi
snd_hwdep 16384 1 snd_hda_codec
glue_helper 16384 1 aesni_intel
snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi
snd_pcm 110592 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
ablk_helper 16384 1 aesni_intel
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
cryptd 24576 3 ablk_helper,ghash_clmulni_intel,aesni_intel
mei_me 40960 0
acpi_als 16384 0
snd_timer 32768 2 snd_seq,snd_pcm
intel_cstate 16384 0
intel_lpss_acpi 16384 0
mei 102400 1 mei_me
intel_rapl_perf 16384 0
kfifo_buf 16384 1 acpi_als
snd 86016 21 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
serio_raw 16384 0
shpchp 36864 0
intel_lpss 16384 1 intel_lpss_acpi
industrialio 65536 2 acpi_als,kfifo_buf
soundcore 16384 1 snd
mac_hid 16384 0
tpm_infineon 20480 0
acpi_pad 24576 0
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,parport_pc,ppdev
autofs4 40960 2
aufs 241664 5024
nls_iso8859_1 16384 1
dm_mirror 24576 0
dm_region_hash 24576 1 dm_mirror
dm_log 20480 2 dm_mirror,dm_region_hash
uas 24576 0
usb_storage 73728 2 uas
hid_generic 16384 0
usbhid 53248 0
nouveau 1572864 0
mxm_wmi 16384 1 nouveau
i2c_algo_bit 16384 1 nouveau
ttm 102400 1 nouveau
drm_kms_helper 167936 1 nouveau
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
psmouse 139264 0
fb_sys_fops 16384 1 drm_kms_helper
drm 368640 3 nouveau,ttm,drm_kms_helper
nvme 28672 0
r8169 81920 0
ahci 36864 2
nvme_core 53248 1 nvme
mii 16384 1 r8169
libahci 32768 1 ahci
wmi 16384 2 mxm_wmi,nouveau
video 40960 1 nouveau
i2c_hid 20480 0
hid 122880 3 i2c_hid,hid_generic,usbhid
pinctrl_sunrisepoint 28672 0
pinctrl_intel 20480 1 pinctrl_sunrisepoint
fjes 28672 0
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: win10安装ubuntu黑屏

#22

帖子 poloshiao » 2017-05-08 23:13

发现nouveau模块
1. https://bugzilla.redhat.com/show_bug.cgi?id=1411830
Nvidia GTX 1060 not recognised by nouveau
1-1. https://bugzilla.redhat.com/show_bug.cgi?id=1411830#c5
更新 核心版本 問題解決

2. https://ask.fedoraproject.org/en/questi ... g-gtx1060/
Nouveau not recognising GTX1060

3. 還沒找到 Ubuntu 類似報告 先參閱上述兩篇
b2sun
帖子: 51
注册时间: 2013-09-08 19:01
系统: ubuntu-desktop17.04
来自: 广州天河区
联系:

Re: win10安装ubuntu黑屏

#23

帖子 b2sun » 2017-05-09 4:12

看官
您这么好的配置电脑。不必这玩
1 安装win10后 安装虚拟机 站在虚拟机上安装ubuntu 17.04 我是把系统转移到u 盘 需要就挂起来 方便快捷
随便你怎么折腾 我想你应该不是用ubuntu打游戏吧
2如果 试试ubuntu esktop 17应该没有问题 我试过安装asus p5bv/sas 12 14 16视乎对raid支持不好哦,现在17改进了驱动程序
已经更换了系统 很辣。
希望帮到你。

千万别搞什么双系统。这笔记本固态硬盘没有多大 何必呢
----------------------------
一波未平 一波又起
人生浮动 心随云飘
----------------------------
智能达人
http://b2sun.cc
BlueWinters
帖子: 15
注册时间: 2017-04-22 20:21
系统: win10

Re: win10安装ubuntu黑屏

#24

帖子 BlueWinters » 2017-05-09 13:35

千万别搞什么双系统。这笔记本固态硬盘没有多大 何必呢
首先,感谢回答。
然而,做跑代码使用,不能够用U盘解决问题。而且,电脑是台式,不是笔记本。ubuntu用于跑代码,并且为此专门购买了新的机械1TGB,SSD是win10系统,日常用。

由于,初次使用linux系统,问题较多,叨扰了poloshiao。在此感谢他~~~


以上。
BlueWinters
帖子: 15
注册时间: 2017-04-22 20:21
系统: win10

Re: win10安装ubuntu黑屏

#25

帖子 BlueWinters » 2017-05-09 13:37

千万别搞什么双系统。这笔记本固态硬盘没有多大 何必呢
首先,感谢回答。
然而,做跑代码使用,不能够用U盘解决问题。而且,电脑是台式,不是笔记本。ubuntu用于跑代码,并且为此专门购买了新的机械1TGB,SSD是win10系统,日常用。

由于,初次使用linux系统,问题较多,叨扰了poloshiao。在此感谢他~~~


以上。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: win10安装ubuntu黑屏

#26

帖子 poloshiao » 2017-05-09 13:57

uname -a
Linux ubuntu 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_6
1. 試試 下述兩者 選一種

1-1. 全新安裝 Ubuntu 17.04
https://wiki.ubuntu.com/ZestyZapus/ReleaseNotes
然後
sudo apt update
sudo apt upgrade

1-2. 在 ubuntu 16.04.1 安裝 linux-generic-hwe-16.04 套件 (你也可能已經安裝)
然後
sudo apt update
sudo apt upgrade
sudo apt full-upgrade (選項 意思是 可以執行 也可以不執行
1-2-1. 參閱
https://wiki.ubuntu.com/Kernel/RollingL ... ementStack

2. 完成 1-1 或 1-2
重開機
uname -a
看看 最新核心版本
2-1. sudo lshw -numeric -class video
看看 nouveau 能否辨識 NV136 (GP106) GeForce GTX 1060
BlueWinters
帖子: 15
注册时间: 2017-04-22 20:21
系统: win10

Re: win10安装ubuntu黑屏

#27

帖子 BlueWinters » 2017-05-11 13:47

全新安裝 Ubuntu 17.04
这个完成,但是遇到老问题:可以完成安装,但是无法进入系统。


试用模式下查看了内核和显卡识别情况:
1.uname -a
Linux ubuntu 4.10.0-19-generic #21-Ubuntu SMP Thu Apr 6 17:04:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux


2.sudo lshw -numeric -class video
*-display
description: VGA compatible controller
product: GP106 [GeForce GTX 1060 6GB] [10DE:1C03]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:125 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:c0000-dffff

1-1. https://bugzilla.redhat.com/show_bug.cgi?id=1411830#c5
更新 核心版本 問題解決
内核更新后应该没问题,并且试用模式下的信息显示可以识别1060显卡。但是,依然进不去系统。 :Cry


另:发现一个异常,不知道是否有用,每次进入ubunut试用桌面后再重启到win10,win10的系统时钟都会出现与正常时间不同步的情况。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: win10安装ubuntu黑屏

#28

帖子 poloshiao » 2017-05-11 13:58

另:发现一个异常,不知道是否有用,每次进入ubunut试用桌面后再重启到win10,win10的系统时钟都会出现与正常时间不同步的情况。
1. uefi 雙系統
因為牽涉到 Secure Boot 的原因
最好 把 Secure Boot 設為 disabled
同時 檢查看看 還有什麼設定 使得你關閉電腦以後 並沒有完全斷電 還在耗用電源的機制 比如說 快速啟動 網路遠端喚醒 等等 全部都把它徹底關閉 (斷電)
參閱
https://askubuntu.com/questions/221835/ ... -with-uefi

2. 檢查一下
http://ubuntuhandbook.org/index.php/201 ... indows-10/
How to Fix Time Differences in Ubuntu 16.04 & Windows 10 Dual Boot
BlueWinters
帖子: 15
注册时间: 2017-04-22 20:21
系统: win10

Re: win10安装ubuntu黑屏

#29

帖子 BlueWinters » 2017-05-11 18:02

最好 把 Secure Boot 設為 disabled
检查Bios设置(如图),为关闭状态(不过不知道为什么,该选项并不能更改)

图片


目前还是维持无法进入系统的状态。后续只能慢慢来解决,再次感谢 at.poloshiao~~~
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: win10安装ubuntu黑屏

#30

帖子 poloshiao » 2017-05-11 22:08

目前还是维持无法进入系统的状态。
按下 ctrl + alt + F1
可以登入 tty1 嗎

無法登入的原因 可能很多
需要了解 在哪個過程 無法登入
回复