青春时代是一个短暂的美梦,当你醒来时,它早已消失得无影无踪了。
 
夜月琉璃Lv46   
解决Android-x86无法进入图形界面的问题     

在安装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键,然后自动进入图形界面。

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


 0  已被阅读了3610次  楼主 2022-08-29 11:29:29
回复列表

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

桂公网安备 45010302000666号 桂ICP备14001770-3号
感谢景安网络提供数据空间
本站CDN由七牛云提供支持
网站已接入ipv6
免责声明: 本网不承担任何由内容提供商提供的信息所引起的争议和法律责任。
如果某些内容侵犯了您的权益,请通过右侧按钮与我们联系
Your IP: 18.222.109.141 , 2024-05-09 16:06:55 , Processed in 0.12531 second(s).
Powered by HadSky 8.3.7
知道创宇云安全