硬件背景
amd
安裝網絡
我的是動態ip
#dhcpcd
不要忘記chroot後要#emerge
重點是一些配置文件
/etc/nf
代碼:
# These settings were set by the catalyst build script that automatically built
this stage
# Please consult /etc/nf
CFLAGS=
CHOST=
CXXFLAGS=
USE=
GENTOO_MIRRORS=
/mirror/gentoo
配置文件
/etc/fstab:
代碼:
# /etc/fstab: static file system information
# $Header: /var/cvsroot/gentoo
:
#
# noatime turns off atimes for increased performance (atimes normally aren
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency)
# switch between notail / tail freely
#
# See the manpage fstab(
# <fs> <mountpoint> <type> <opts> <dump/pa
ss>
# NOTE: If your BOOT partition is ReiserFS
/dev/hdd
/dev/hdd
/dev/hdd
/dev/cdroms/cdrom
#/dev/fd
# NOTE: The next line is critical for boot!
proc /proc proc defaults
# glibc
# POSIX shared memory (shm_open
# (tmpfs is a dynamically expandable/shrinkable ramdisk
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev
內核配置文件
**************************************************************************
最主要的選項handbook都已經提到了
當然也可以用genkernel
每個人對內核的要求不一樣
**************************************************************************
/boot/grub/nf
**************************************
這個文件默認啟動windows
root(hd
**************************************
代碼:
#default windows
default
timeout
#splashimage=(hd
#gentoo linux
title=gentoo linux
root (hd
kernel /kernel
#windows
title=windows xp
rootnoverify (hd
makeactive
chainloader +
~/
*******************************************************
這個文件的配置基本可以運行scim了
當然需要
#emerge scim
#ACCEPT_KEYWORDS=
小心上面不要寫錯
*******************************************************
代碼:
# /etc/skel/
# $Header: /var/cvsroot/gentoo
#
# This file is sourced by all *interactive* bash shells on startup
# including some apparently interactive shells such as scp and rcp
# that can
# Test for an interactive shell
# past this point for scp and rcp
# outputting anything in those cases
if [[ $
# Shell is non
return
fi
# Shell is interactive
# though this example doesn
# command
# colors for ls
if [[
eval `dircolors
else
eval `dircolors
fi
alias ls=
# Change the window title of X terminals
case $TERM in
xterm*|rxvt*|Eterm)
PROMPT_COMMAND=
HOME/~}\
;;
screen)
PROMPT_COMMAND=
ME/~}\
;;
esac
LANG=
export LC_CTYPE=
export XMODIFIERS=
export GTK_IM_MODULE=
export QT_IM_MODULE=
# uncomment the following to activate bash
#[
~/
(這個是啟動kde的)
代碼:
exec startkde
#exec gnome
#exec wmaker
安裝ati
********************************
#emerge ati
(配置X命令)
#/opt/ati/bin/fglrxconfig
********************************
/etc/X
代碼:
# File: nf
# File generated by fglrxconfig (C) ATI Technologies
# Note by ATI: the below copyright notice is there for servicing possibly
# pending third party rights on the file format and the instance of this file
#
# Copyright (c)
#
# Permission is hereby granted
# copy of this software and associated documentation files (the
# to deal in the Software without restriction
# the rights to use
# and/or sell copies of the Software
# Software is furnished to do so
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software
#
# THE SOFTWARE IS PROVIDED
# IMPLIED
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
# THE XFREE
# WHETHER IN AN ACTION OF CONTRACT
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE
#
# Except as contained in this notice
# not be used in advertising or otherwise to promote the sale
# dealings in this Software without prior written authorization from the
# XFree
#
# **********************************************************************
# Refer to the XF
# this file
# **********************************************************************
#
From:http://tw.wingwit.com/Article/program/Oracle/201311/16883.html