安装’mesa’后,Ubuntu无法启动
首先,我删除了/etc/X11/xorg.conf
然后尝试下面的命令在Ubuntu 12.04.2上安装mesa
。
sudo apt-get install libglapi-mesa && sudo apt-get install libosmesa6
重新启动计算机后,Ubuntu无法启动! (留在黑屏)
我做错了什么以及如何修复它?
编辑(更多信息):
[抱歉我的英语不好]
我正在使用scilab。 当我做一些像plot
这样的操作时,Scilab崩溃了。 为了解决这个问题,我在这个链接中做了所有的事情
根据以上部分链接 ,
可能有解决这个问题的解决方法。 一种解决方案是使用软件加速驱动程序。 为此,在/etc/X11/xorg.conf中,查找名为Device的Section并将选项Driver更改为mesa。
我必须编辑/etc/X11/xorg.conf
,但是/etc/X11/
没有xorg.conf给我!
出于这个原因,通过以下命令我创建了xorg.conf: Ctrl + Alt + F1
sudo service lightdm stop Xorg -configure
好吧,我已将/home/xorg.conf
复制到/etc/X11/
。
另外,根据以上链接的以下部分:
Section "Device" Identifier "Your Graphic card" Driver "vesa" [...] EndSection
我必须在"Your Graphic card"
和"vesa"
输入我的显卡模型。 我不知道vesa
究竟是什么! 我已经google了,有人在这里说安装vesa
做的事情,我做了:
sudo apt-get install libglapi-mesa && sudo apt-get install libosmesa6
完成上述所有步骤后,我重新启动计算机,然后Ubuntu无法启动并保持黑屏!
通过LiveDisk,我启动了Ubuntu,我猜想也许是因为xorg.conf
,我将其删除为默认设置并重新启动,Ubuntu不再启动!
安装libgles1-mesa
之后发生了类似的事情。 它删除了ubuntu-desktop
,所以我不得不按Ctrl + Alt + F1并在tty1中重新安装它。
安装libgles1-mesa会弄乱我的系统