single,進入單用戶模式,然後在/etc/inittab裡面把啟動模式改為id:3:initdefault:(默認值是5) 就可以了,也就是讓系統以文本方式啟動。。重啟,在到GRUB那選擇系統的時候,我們選擇Fedora Core 6 (2.6.18-1.2798.fc6xen),按下E建,然後你會看到
root (hd0,6)
kernel /boot/xen.gz-2.6.18-1.2798.fc6
module /boot/vmlinuz-2.6.18-1.2798.fc6xen ro root=LABEL=/1 rhgb quiet
module /boot/initrd-2.6.18-1.2798.fc6xen.img
按鍵盤的上下鍵選中 module /boot/vmlinuz-2.6.18-1.2798.fc6xen ro root=LABEL=/1 rhgb quiet 再按E鍵,這時候會出現編輯狀態,你只要在這行的後面,也就是quiet加上linux single
例如:module /boot/vmlinuz-2.6.18-1.2798.fc6xen ro root=LABEL=/1 rhgb quiet linux sigle
OK,回車再按一下B鍵,這時候我們就可以進入單用戶模式了,
進來後,我們用vi編輯器編輯/etc/inittab文件
例如:
#vi /etc/inittab
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <[email protected]>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "ower Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "ower Restored; Shutdown Cancelled"
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5
x:5nce:/etc/X11/prefdm -nodaemon
找到id:5:initdefault:這行,把5改為3就OK,保存退出.
#reboot (重啟)
重啟後,我們再啟動FC6試試,HOHO,終於不黑屏很順利的進去了,不過別高興,路還很長呢!
登錄超級管理員帳號後,第一個要做的就是添加YUN源,這樣我們才能YUN到最新的內核和顯卡驅動哦!這是最辛苦的一步,因為是一個字一個字輸入進去的,大家按照我下面的方法做就可以了
Freshrpms.net 上的Yum 源
[root@localhost~]# rpm -ivh http://ftp.freshrpms.net/pub/fre ... 1.1-1.fc.noarch.rpm
接著我們導入Freshrpms.net 的簽名
[root@localhost~]# rpm --import http://freshrpms.net/RPM-GPG-KEY-freshrpms
Atrpms.net 上的Yum 源
首先,我們要改一下/etc/yum.repos.d目錄中的 fedora-extras.repo 文件,加入下面一段;
[atrpms]
name=Fedora Core 5 - i386 - ATrpms
baseurl=http://dl.atrpms.net/fc6-i386/atrpms/stable/
然後導入 Atrpms.net 的軟件包簽名
[root@localhost~]# rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms
rpm.livna.org 上的Yum源
[root@localhost~]# rpm -ivh http://rpm.livna.org//livna-release-6.rpm
#yum -y install kernel
我們先升級到最新的內核,
之後就是系統自動安裝了
裝好後,繼續
#yum -y install kmod-nvidia
這裡就是顯卡的驅動了,還是一樣,
然他自動安裝完。
兩個都裝好之後,我們重啟系統,在GRUB那選擇最新的內核版本,啟動他,登錄帳號
#startx
^_^ 是不是有驚人的發現呢,YE,X-WINDOWS