20
2022
12
12:04:38

解决Android-x86无法进入图形界面的问题



推荐点击下面图片,通过本站淘宝优惠价购买:

image.png

在安装Android-x86后,由于nVidia显卡驱动的原因启动过程中可能会卡住无法进入图形界面。此时在需要在启动参数中添加nomodeset选项来禁用显卡。其他Linux系统中遇到同样的问题也可以使用此方法解决。


产生原因


The newest kernels have moved the video mode setting into the kernel. So all the programming 
of the hardware specific clock rates and registers on the video card happen in the kernel 
rather than in the X driver when the X server starts.. This makes it possible to have high 
resolution nice looking splash (boot) screens and flicker free transitions from boot splash 
to login screen. Unfortunately, on some cards this doesnt work properly and you end up with 
a black screen. Adding the nomodeset parameter instructs the kernel to not load video drivers 
and use BIOS modes instead until X is loaded.


某些显卡下Linux内核无法正常工作导致黑屏。


解决方法

方法一:开机后在grub界面选择第二项Debug mode,输入


mount –o remount,rw /mnt

再输入



vi /mnt/grub/menu.lst

在第七行的root前加入quiet nomodeset,修改后内容如下:



title Android-x86 8.1-r5
    kernel /android-8. 1-r5/kernel quiet nomodeset root=/dev/ram0 SRC=/android-8. 1-r5
    initrd /android-8. 1-r5/ initrd. img

按ESC退出编辑,并输入:wq保存退出。

重启后即可进入图形界面。



方法二:开机进入GRUB界面,直接按键盘E键,然后又会进入一个新的选择界面,不用理会,接着按键盘E键。



接着会进入到一个可以编辑的界面,只有一行字符串,然后找到 quiet root字符串,将其增加一个nomodeset,然后回车,按B键,然后自动进入图形界面。

缺点是每次启动都要进行该操作。


本文链接:http://www.hqyman.cn/post/3357.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:





休息一下,本站随机推荐观看栏目:


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

您的IP地址是: