分享
 
 
 

无法进入图形界面的解决过程

王朝other·作者佚名  2008-05-18
窄屏简体版  字體: |||超大  

首先说明,我是一个新手,所有有些地方可能很菜,有不对的地方还请大虾教导。

我安装的是Red Hat Linux 9(另一个系统是Windows Xp),安装时候无法进入图形界面,提示"注意:显示超出范围: H: xx KHz V: xxHz" ,然后黑屏,没有办法,只好使用文字界面安装,不过安装还是能成功的。采用grub登陆。之后进入Linux系统,在进入图形界面的时候,出现同样的提示,然后黑屏。

原因是默认显卡的驱动于显卡不符,我的显卡是GF FX5200 128M,找到驱动程序,但文件6MB多(NVIDIA-Linux-x86 -1.0-5336-pkg1.run),没法用磁盘,因为我有Combo,所以,驱动程序刻在光盘上。(安装的时候参照http: //www.nvidia.com/object/linux_display_ia32_1.0-5336.html)

具体解决过程:

1、在出现选择菜单时按e,然后选择第二行(kernel *那一行)再按e,在结尾处输入空格1.然后回车,按b引导.

2、出现提示符后,vi /etc/inittab把id:5:initdefault的5改成3。 (具体修改方法:用方向键找到要修改的地方,按键盘上的'Insert',向Word编辑一样修改,之后按ESC,再按:W,然后Ctrl-z即可)

3、reboot

4、启动后用root登陆

5、把刻好的光盘放进光驱,mount /mnt/cdrom

cd /mnt/cdrom

6、cp NVIDIA-Linux-x86-1.0-5336-pkg1.run \root

cd /root

7、sh NVIDIA-Linux-x86-1.0-5336-pkg1.run

8、依照驱动程序的说明修改ftp://download.nvidia.com/XFree86/Linux-x86/1.0-5336/README

主要的一步如下:__________________________________________________________________________

(sec-03) EDITING YOUR XF86CONFIG FILE

__________________________________________________________________________

When XFree86 4.0 was released, it used a slightly different XF86Config

file syntax than the 3.x series did, and so to allow both 3.x and 4.x

versions of XFree86 to co-exist on the same system, it was decided that

XFree86 4.x was to use the configuration file "/etc/X11/XF86Config-4"

if it existed, and only if that file did not exist would the file

"/etc/X11/XF86Config" be used (actually, that is an over-simplification

of the search criteria; please see the XF86Config man page for a complete

description of the search path). Please make sure you know what

configuration file XFree86 is using. If you are in doubt, look for a

line beginning with "(==) Using config file:" in your XFree86 log file

("/var/log/XFree86.0.log"). This README will use "XF86Config" to refer

to your configuration file, whatever it is named.

If you do not have a working XF86Config file, there are several ways

to start: there is a sample config file that comes with XFree86,

and there is a sample config file included with the NVIDIA driver

package (it gets installed in /usr/share/doc/NVIDIA_GLX-1.0/).

You could also use a program like 'xf86config'; some distributions

provide their own tool for generating an XF86Config file. For more

on XF86Config file syntax, please refer to the man page.

If you already have an XF86Config file working with a different driver

(such as the 'nv' or 'vesa' driver), then all you need to do is find

the relevant Device section and replace the line:

Driver "nv"

(or Driver "vesa")

with

Driver "nvidia"

In the Module section, make sure you have:

Load "glx"

You should also remove the following lines:

Load "dri"

Load "GLcore"

if they exist. There are also numerous options that can be added to

the XF86Config file to fine-tune the NVIDIA XFree86 driver. Please see

Appendix D for a complete list of these options.

Once you have configured your XF86Config file, you are ready to restart

X and begin using the accelerated OpenGL libraries. After you restart X,

you should be able to run any OpenGL application and it will automatically

use the new NVIDIA libraries.

(用vi 命令,和vi /etc/inittab一样用)

9、reboot

10、再在出现选择BOOT OS菜单时按e,然后选择第二行(kernel *那一行)再按e,在结尾处输入空格1.然后回车,按b引导.

11、出现提示符后,vi /etc/inittab把id:5:initdefault的3改成5。

12、reboot

这12部结束后,我就看到了我的图形界面了

有的地方可能写得太详细,太弱智了,不过是为了方便第一次安装和第一次接触Linux的朋友,请大虾们不要笑我。

再次感谢好好先生和及时帮助我的朋友。 :D

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有