ubuntu 不能启动,怀疑显卡设置问题.直接删掉xorg.conf可以么
启动黑屏后可以按Ctrl-Alt-F1进入命令行界面。这个是基础知识,需连网。进入cli模式后,sudoapt-getinstallppa-purgesudoppa-purgexorg-edgerssudoapt-getpurgenvidia-*创建一个临时文件夹如mkdir~/tmpcp/etc/X11/xorg.conf*~/tmpsudoapt-getautoremovesudoapt-getupdatesudoapt-getupgradesudoreboot重启后还是C+A+F1进命令行sudoapt-getinstallnvidia-331nvidia-primesudocp~/tmp/xorg.conf.nvidia-xconfig-original/etc/X11/xorg.confsudovi/etc/X11/xorg.conf确保内容如下Section"ServerLayout"Identifier"layout"Screen0"nvidia"Inactive"intel"EndSectionSection"Device"Identifier"intel"Driver"intel"BusID"PCI:0@0:2:0"Option"AccelMethod""SNA"EndSectionSection"Screen"Identifier"intel"Device"intel"EndSectionSection"Device"Identifier"nvidia"Driver"nvidia"BusID"PCI:1@0:0:0"Option"ConstrainCursor""off"EndSectionSection"Screen"Identifier"nvidia"Device"nvidia"Option"AllowEmptyInitialConfiguration""on"Option"IgnoreDisplayDevices""CRT"EndSection最后重启,解决。最后启动完成可能会报错,这个用一下dpkg-reconfigurenvidia-331nvidia-331-uvmnvidia-settings就可以了。再重启应该就没事了。