免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1112 | 回复: 5
打印 上一主题 下一主题

SOS好心的兄弟门,救救一个刚入门者,安装时无法进入图形界面??? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-01-20 14:52 |只看该作者 |倒序浏览
Sample TextSample Text
在这里看到一个帖子和我的问题差不多,如下:

我安装的是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部结束后,我就看到了我的图形界面了

可是,可是,在第8步,我看不太懂,不知修改什么?怎样修改???请知道的大哥门,帮帮解释一下

论坛徽章:
0
2 [报告]
发表于 2006-01-20 15:01 |只看该作者
帮帮忙吧,好心的大哥,大姐

论坛徽章:
0
3 [报告]
发表于 2006-01-20 15:21 |只看该作者
sos sos! help!

论坛徽章:
0
4 [报告]
发表于 2006-01-20 15:31 |只看该作者
水平和垂直刷新率有问题

论坛徽章:
0
5 [报告]
发表于 2006-01-20 16:38 |只看该作者
可我都试过呀

论坛徽章:
0
6 [报告]
发表于 2006-01-28 15:30 |只看该作者
我搞定了!!!
在第8步,我经过多次尝试,终于明白了.
它要修改X 服务器文件XF86Config 在/etc/X11/XF86Config 目录中
在此文件的Device section 需要修改语句Driver "nv"    or Driver "vesa"为 Driver "nvidia"  
在Module section删除语句 Load  "dri"     Load  "GLcore"
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP