Archive for the 'Config Files' Category
menu.lst备份
星期六, 05月 31st, 2008pjq@localhost ~ $ cat /media/sda11/boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
gfxmenu (hd0,10)/boot/message.cristal
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify ’saved’ instead of a number. In this case, the default entry
# is the entry saved with the command ’savedefault’.
# WARNING: If you are using dmraid do not use ’savedefault’ or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command ‘lock’
# e.g. password topsecret
# password –md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
## ## End Default Options ##
title Gentoo-2.6.24-r8
root (hd0,7)
kernel /boot/kernel-2.6.24-r8 root=/dev/sda9 plash=silent,fadein,theme:gentoo vga=791 CONSOLE=/dev/tty1 ramdisk=8192
boot
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
title Debian GNU/Linux, kernel 2.6.22-14-386
root (hd0,9)
kernel /boot/vmlinuz-2.6.22-14-386 root=UUID=310fe277-4520-4f33-99cc-53308864bc4a ro quiet splash
initrd /boot/initrd.img-2.6.22-14-386
boot
title Debian GNU/Linux, kernel 2.6.22-14-386 (recovery mode)
root (hd0,9)
kernel /boot/vmlinuz-2.6.22-14-386 root=UUID=310fe277-4520-4f33-99cc-53308864bc4a ro single
initrd /boot/initrd.img-2.6.22-14-386
boot
title Debian GNU/Linux, kernel 2.6.22-14-generic
root (hd0,9)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=310fe277-4520-4f33-99cc-53308864bc4a ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
boot
title Debian GNU/Linux, kernel 2.6.22-14-generic (recovery mode)
root (hd0,9)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=310fe277-4520-4f33-99cc-53308864bc4a ro single
initrd /boot/initrd.img-2.6.22-14-generic
boot
title Debian GNU/Linux, kernel memtest86+
root (hd0,9)
kernel /boot/memtest86+.bin
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
#title Other operating systems:
#root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda8.
#title Debian GNU/Linux, kernel 2.6.22-14-generic (on /dev/sda8)
#root (hd0,7)
#kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sda8 ro
#initrd /boot/initrd.img-2.6.22-14-generic
#savedefault
#boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda8.
#title Debian GNU/Linux, kernel 2.6.22-14-generic (recovery mode) (on /dev/sda8)
#root (hd0,7)
#kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sda8 ro single
#initrd /boot/initrd.img-2.6.22-14-generic
#savedefault
#boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda8.
#title Debian GNU/Linux, kernel memtest86+ (on /dev/sda8)
#root (hd0,7)
#kernel /boot/memtest86+.bin
#savedefault
#boot
title Gentoo-2.6.24
ioot (hd0,7)
kernel /boot/kernel-2.6.24 root=/dev/sda9 splash quiet
boot
#title Gentoo Alsa Sound
#root (hd0,7)
#kernel /boot/kernel-gen root=/dev/sda9 splash quiet
#boot
#
#title Gentoo-gen
#root (hd0,7)
#kernel /boot/kernel-gen root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda9 udev splash quiet
#initrd /boot/initrd-gen
#title Gentoo install
#root (hd0,6)
#kernel /isolinux/gentoo root=/dev/ram0 init=/linuxrc acpi=ht looptype=squashfs loop=/image.squashfs udev nodevfs cdroot=/dev/hda7 doscsi vga=791 dokeymap splash=silent,theme:livecd-2007.0
#initrd /isolinux/gentoo.igz
#boot
title gentoo install
root (hd0,6)
kernel /isolinux/gentoo root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz vga=791 splash=silent,theme:livecd-2006.1 CONSOLE=/dev/tty1 quiet
initrd /isolinux/gentoo.igz
boot
pjq@localhost ~ $ cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
#gfxmenu (hd0,10)/boot/message.cristal
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
default 0
timeout 4
title Gentoo-2.6.24-r8
root (hd0,7)
kernel /boot/kernel-2.6.24-r8 root=/dev/sda9 plash=silent,fadein,theme:gentoo vga=791 CONSOLE=/dev/tty1 ramdisk=8192
boot
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,10)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=310fe277-4520-4f33-99cc-53308864bc4a ro
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,10)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=310fe277-4520-4f33-99cc-53308864bc4a ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,10)
kernel /boot/memtest86+.bin
quiet
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda8.
#title Debian GNU/Linux, kernel 2.6.22-14-generic (on /dev/sda8)
#root (hd0,7)
#kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sda8 ro
#initrd /boot/initrd.img-2.6.22-14-generic
#savedefault
#boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda8.
#title Debian GNU/Linux, kernel 2.6.22-14-generic (recovery mode) (on /dev/sda8)
#root (hd0,7)
#kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sda8 ro single
#initrd /boot/initrd.img-2.6.22-14-generic
#savedefault
#boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda8.
#title Debian GNU/Linux, kernel memtest86+ (on /dev/sda8)
#root (hd0,7)
#kernel /boot/memtest86+.bin
#savedefault
#boot
title Gentoo-2.6.24
ioot (hd0,7)
kernel /boot/kernel-2.6.24 root=/dev/sda9 splash quiet
boot
#title Gentoo Alsa Sound
#root (hd0,7)
#kernel /boot/kernel-gen root=/dev/sda9 splash quiet
#boot
#
#title Gentoo-gen
#root (hd0,7)
#kernel /boot/kernel-gen root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda9 udev splash quiet
#initrd /boot/initrd-gen
#title Gentoo install
#root (hd0,6)
#kernel /isolinux/gentoo root=/dev/ram0 init=/linuxrc acpi=ht looptype=squashfs loop=/image.squashfs udev nodevfs cdroot=/dev/hda7 doscsi vga=791 dokeymap splash=silent,theme:livecd-2007.0
#initrd /isolinux/gentoo.igz
#boot
title gentoo install
root (hd0,6)
kernel /isolinux/gentoo root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz vga=791 splash=silent,theme:livecd-2006.1 CONSOLE=/dev/tty1 quiet
initrd /isolinux/gentoo.igz
boot
Gentoo修改文件默认编辑器
星期六, 05月 3rd, 2008| Gentoo修改文件默认编辑器 | |
|
[Gentoo]Clean up world file
星期六, 05月 3rd, 2008| [Gentoo]Clean up world file | |
|
gentoo 备份之xorg.conf,make.conf,.config
星期一, 03月 24th, 2008cat /etc/X11/xorg.conf
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type “man xorg.conf” at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section “Files”
EndSection
Section “InputDevice”
Identifier “Generic Keyboard”
Driver “kbd”
Option “CoreKeyboard”
Option “XkbRules” “xorg”
Option “XkbModel” “pc105″
Option “XkbLayout” “us”
EndSection
Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”
Option “Device” “/dev/input/mice”
Option “Protocol” “ImPS/2″
Option “ZAxisMapping” “4 5″
Option “Emulate3Buttons” “true”
EndSection
Section “InputDevice”
Driver “wacom”
Identifier “stylus”
Option “Device” “/dev/input/wacom”
Option “Type” “stylus”
Option “ForceDevice” “ISDV4″# Tablet PC ONLY
EndSection
Section “InputDevice”
Driver “wacom”
Identifier “eraser”
Option “Device” “/dev/input/wacom”
Option “Type” “eraser”
Option “ForceDevice” “ISDV4″# Tablet PC ONLY
EndSection
Section “InputDevice”
Driver “wacom”
Identifier “cursor”
Option “Device” “/dev/input/wacom”
Option “Type” “cursor”
Option “ForceDevice” “ISDV4″# Tablet PC ONLY
EndSection
Section “Device”
Identifier “nVidia Corporation G70 [GeForce 7600 GS]”
Driver “nvidia”
Busid “PCI:6:0:0″
Option “AddARGBVisuals” “True”
Option “AddARGBGLXVisuals” “True”
Option “NoLogo” “false”
EndSection
Section “Monitor”
Identifier “Philips 170S”
Option “DPMS”
EndSection
Section “Screen”
Identifier “Default Screen”
Device “nVidia Corporation G70 [GeForce 7600 GS]”
Monitor “Philips 170S”
Defaultdepth 24
SubSection “Display”
Modes “1280×1024″ “1280×960″ “1152×864″ “1024×768″ “832×624″ “800×600″ “720×400″ “640×480″
EndSubSection
EndSection
Section “ServerLayout”
Identifier “Default Layout”
screen “Default Screen”
Inputdevice “Generic Keyboard”
Inputdevice “Configured Mouse”
# Uncomment if you have a wacom tablet
# InputDevice “stylus” “SendCoreEvents”
# InputDevice “cursor” “SendCoreEvents”
# InputDevice “eraser” “SendCoreEvents”
EndSection
Section “Module”
Load “glx”
Load “extmod”
EndSection
cat /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
HTTP_PROXY=”210.29.96.35:80″
CFLAGS=”-O2 -march=i686 -pipe”
CXXFLAGS=”${CFLAGS}”
# This should not be changed unless you know exactly what you are doing. You
# should probably be using a different stage, instead.
LINGUAS=”en”
CHOST=”i686-pc-linux-gnu”
SYNC=”rsync://ftp.tsinghua.edu.cn/pub/mirror/gentoo/gentoo-portage”
GENTOO_MIRRORS=”http://ftp3.tsinghua.edu.cn/pub/mirror/gentoo/ http://ftp.sjtu.edu.cn/gentoo”
USE=”pdf xv dvd opengl xv png real nv jpeg win32codecs mp3 nvidia wma hal avahi xvmc alsa midi -debug -test hda-intel X nptl -ipv6 -fortran unicode svg dbus -kde -qt3 -qt4 -arts -eds gnome gtk firefox”
CCACHE_SIZE=”2G”
ALSA_CARDS=”Intel HD Audio”
VIDEO_CARDS=”nvidia”
cat /usr/src/linux/.config |wgetpaste
Your paste can be seen here: http://rafb.net/p/OsiAOx67.html