无光驱,换机器安装Fedora Core 2
  
无光驱安装Fedora Core 2
兄弟前期曾经在论坛里面问过一个问题就是”在没有光驱的情况下如何安装Linux“,http://bbs.chinaunix.net/forum/viewtopic.php?t=398786%26amp;show_type=%26amp;view=next
但是回答的兄弟比较少,所以兄弟我只有硬者头皮去自己摸索啦

先说说配置吧,兄弟的机器是IBM A21m-2628EDC 的
PIII700/256M/60G/ATI rage mobility-M AGP/EagleTec 10-100网卡

由于兄弟的笔记本光驱出现问题没有办法从光驱直接安装,只有将我的硬盘和网卡拿到其他兄弟的笔记本
上安装,为了避免麻烦,还是找了个IBM的笔记本来安装,安装的过程很简单,反正都是中文界面,
大家安装过一次就知道的。
安装完后将硬盘拆回我的机器,启动Linux
系统自动提示我显卡、声卡、网卡都有改变,反正就按OK下去就可以啦。最主要的不是这些硬件的改动,主要的是Xwindows
在现在这样的情况下Xwin肯定是启动不了的,我们先改/etc/inittab 因为Fedora的缺省启动模式是Xwin的,所以我们要将id:5:initdefault
改为id:3:initdefault: ,这样方便我们以后应用
第二步检查Xwin的配置 vi /etc/X11/Xorg.conf
# XFree86 4 configuration created by pyxf86config

Section %26quot;ServerLayout%26quot;
Identifier %26quot;Default Layout%26quot;
Screen 0 %26quot;Screen0%26quot; 0 0
InputDevice %26quot;Mouse0%26quot; %26quot;CorePointer%26quot;
InputDevice %26quot;Keyboard0%26quot; %26quot;CoreKeyboard%26quot;
EndSection

Section %26quot;Files%26quot;
RgbPath %26quot;/usr/X11R6/lib/X11/rgb%26quot;
FontPath %26quot;unix/:7100%26quot;
EndSection

Section %26quot;Module%26quot;
Load %26quot;dbe%26quot;
Load %26quot;extmod%26quot;
Load %26quot;fbdevhw%26quot;
Load %26quot;glx%26quot;
Load %26quot;record%26quot;
Load %26quot;freetype%26quot;
Load %26quot;type1%26quot;
Load %26quot;dri%26quot;
EndSection

Section %26quot;InputDevice%26quot;

Identifier %26quot;Keyboard0%26quot;
Driver %26quot;keyboard%26quot;
Option %26quot;XkbModel%26quot; %26quot;pc105%26quot;
Option %26quot;XkbLayout%26quot; %26quot;us%26quot;
EndSection

Section %26quot;InputDevice%26quot;
Identifier %26quot;Mouse0%26quot;
Driver %26quot;mouse%26quot;
Option %26quotrotocol%26quot; %26quot;IMPS/2%26quot;
Option %26quot;Device%26quot; %26quot;/dev/input/mice%26quot;
Option %26quot;ZAxisMapping%26quot; %26quot;4 5%26quot;
Option %26quot;Emulate3Buttons%26quot; %26quot;yes%26quot;
EndSection

Section %26quot;Monitor%26quot;
Identifier %26quot;Monitor0%26quot;
VendorName %26quot;Monitor Vendor%26quot;
ModelName %26quot;鏈帰娴嬭繃鐨勬樉绀哄櫒%26quot;
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
Option %26quot;dpms%26quot;
EndSection

Section %26quot;Device%26quot;
Identifier %26quot;Videocard0%26quot;
Driver %26quot;trident%26quot;
VendorName %26quot;Videocard vendor%26quot;
BoardName %26quot;Trident CyberBlade (generic)%26quot;
EndSection

Section %26quot;Screen%26quot;
Identifier %26quot;Screen0%26quot;
Device %26quot;Videocard0%26quot;
Monitor %26quot;Monitor0%26quot;
DefaultDepth 24
SubSection %26quot;Display%26quot;
Viewport 0 0
Depth 24
Modes %26quot;800x600%26quot; %26quot;640x480%26quot;
EndSubSection
EndSection

Section %26quot;DRI%26quot;
Group 0
Mode 0666
EndSection

这个文件肯定是有错误的,否则Xwin就会启动的,如果技术好的兄弟可以运行下,然后去看看/var/log/xorg.0.log文件,里面是
Xwin的提示信息,最后几行就是错误的硬件信息
(EE) xf86OpenSerial: Cannot open device /dev/mouse
No such file or directory.
(EE) Mouse0: cannot open input device
(EE) PreInit failed for input device %26quot;Mouse0%26quot;
(II) UnloadModule: %26quot;mouse%26quot;
(II) Keyboard %26quot;Keyboard0%26quot; handled by legacy driver
(WW) No core pointer registered
No core pointer
大家可以根据这个文件直接更改/etc/X11/Xorg.conf 种对应的Section,我们如果研究过/etc/X11/Xorg.conf
的兄弟都可以发现其实/etc/X11/Xorg.conf很简单的,他是由很多的Section组成的格式为:
Section %26quot;硬件名%26quot;
各种参数
SubSection %26quot;不同厂商硬件的参数%26quot;
子参数
EndSubSection
EndSection

子硬件SubSection可有可无,主要的硬件包括:
Section %26quot;ServerLayout%26quot; 系统概括
Identifier %26quot;Default Layout%26quot;
Screen 0 %26quot;Screen0%26quot; 0 0
InputDevice %26quot;Mouse0%26quot; %26quot;CorePointer%26quot;
InputDevice %26quot;Keyboard0%26quot; %26quot;CoreKeyboard%26quot;
EndSection

Section %26quot;Files%26quot; :文件系统
RgbPath %26quot;/usr/X11R6/lib/X11/rgb%26quot; -颜色
FontPath %26quot;unix/:7100%26quot; -字体

Section %26quot;Module%26quot;
Section %26quot;InputDevice%26quot; -键盘
Identifier %26quot;Keyboard0%26quot;

Section %26quot;InputDevice%26quot; -鼠标
Identifier %26quot;Mouse0%26quot;
Section %26quot;Monitor%26quot; -显示器类型

Section %26quot;Device%26quot; -显卡类型
Identifier %26quot;Videocard0%26quot;

Section %26quot;Screen%26quot; -显示模式
Section %26quot;DRI%26quot;

如果大家对这些参数不是太了解的话,可以先不用去改这些参数,
大家可以用以下命令重新去生成Xorg.conf文件
Xorg -Configure //建立X初始配置文件
运行完这个命令后系统会在你的目录下生成一个Xorg.conf.new文件,大家一般将Xorg.conf.new文件
拷贝到/etc/X11/Xorg.conf就可以用了,大家如果觉得不放心可以用Xorg -Configure Xorg.conf.new命令
检查Xorg.conf.new是否准确,准确的标准就是屏幕中心出现十字的鼠标
如果还是运行有问题,大家可以将新的Xorg.conf.new和旧的Xorg.conf对比下,同时检查/var/log/xorg.0.log文件
看是哪个硬件有问题。
下面是我的新/etc/X11/Xorg.conf
大家可以对比看一下。我只是改动了鼠标那一块
Section %26quot;ServerLayout%26quot;
Identifier %26quot;X.org Configured%26quot;
Screen 0 %26quot;Screen0%26quot; 0 0
InputDevice %26quot;Mouse0%26quot; %26quot;CorePointer%26quot;
InputDevice %26quot;Keyboard0%26quot; %26quot;CoreKeyboard%26quot;
EndSection

Section %26quot;Files%26quot;
RgbPath %26quot;/usr/X11R6/lib/X11/rgb%26quot;
ModulePath %26quot;/usr/X11R6/lib/modules%26quot;
FontPath %26quot;/usr/X11R6/lib/X11/fonts/misc/%26quot;
FontPath %26quot;/usr/X11R6/lib/X11/fonts/TTF/%26quot;
FontPath %26quot;/usr/X11R6/lib/X11/fonts/Speedo/%26quot;
FontPath %26quot;/usr/X11R6/lib/X11/fonts/Type1/%26quot;
FontPath %26quot;/usr/X11R6/lib/X11/fonts/CID/%26quot;
FontPath %26quot;/usr/X11R6/lib/X11/fonts/75dpi/%26quot;
FontPath %26quot;/usr/X11R6/lib/X11/fonts/100dpi/%26quot;
EndSection

Section %26quot;Module%26quot;
Load %26quot;glx%26quot;
Load %26quot;xtrap%26quot;
Load %26quot;extmod%26quot;
Load %26quot;record%26quot;
Load %26quot;vnc%26quot;
Load %26quot;dbe%26quot;
Load %26quot;dri%26quot;
Load %26quot;type1%26quot;
Load %26quot;freetype%26quot;
Load %26quot;speedo%26quot;
EndSection

Section %26quot;InputDevice%26quot;
Identifier %26quot;Keyboard0%26quot;
Driver %26quot;keyboard%26quot;
EndSection

Section %26quot;InputDevice%26quot;
Identifier %26quot;Mouse0%26quot;
Driver %26quot;mouse%26quot;
# Option %26quotrotocol%26quot; %26quot;auto%26quot;
# Option %26quot;Device%26quot; %26quot;/dev/msmouse%26quot;
#edit by 20040915
Option %26quotrotocol%26quot; %26quot;IMPS/2%26quot;
Option %26quot;Device%26quot; %26quot;/dev/input/mice%26quot;
Option %26quot;ZAxismapping%26quot; %26quot;4 5%26quot;
Option %26quot;Emulate3Buttons%26quot; %26quot;yes%26quot;
EndSection

Section %26quot;Monitor%26quot;
Identifier %26quot;Monitor0%26quot;
VendorName %26quot;Monitor Vendor%26quot;
ModelName %26quot;LCD Panel 1024*768%26quot;
DisplaySize 280 240
HorizSync 50.0 - 70.0
Option %26quot;dpms%26quot;
EndSection

[1] [2]
<
  RH9、RHAS3、RH Fedora我该安装哪个版本?
  哭求如何安装一个cman啊
  在RH Linux 9中下载了RH AS 3的4个ISO文档后,有什么直接安装?
  关于notify命令的问题
  INIT: Id
  新手安装问题
  安装玩Lotus Domino以后配置出以下错误,,高手指教!
  请问Debian的朋友,安装了软件之后如何知道安装在什么地方了?
  安装REDHAT9无法启动,请帮忙。。。。。。
  安装dhcp3.0.1启动不了
  root监视他人在命令终端的活动
  问一个关于who命令的问题
  怎样才能登陆后不被记录输入过的命令?
  怎样才能删除登录后输入过的命令呢?
  哪位老大回答一下安装oracle补丁的问题!
  在suse9.1personal下安装软件,提示缺少libdb.so.2
  作为管理员如何查看所有用户的登陆情况,执行了什么命令。。。
  RadHat linux下如何安装Logitech qucick express 摄像头
  如何用命令实现2台LINUX机器用网线传输文件?
  如何在linux命令行下,查看本机运行了多少~~~~~~~~~~~