|
楼主 |
发表于 2006-10-10 08:42:32
|
显示全部楼层
配置文件:
# grub.conf generated by MagicInstaller.
# Note that you do not have to rerun grub after making changes to this file.
default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
title MagicLinux
root (hd0,0)
kernel /vmlinuz-2.6.15.3 ro root=/dev/hda2 vga=792 splash=silent
initrd /initrd-2.6.15.3.img
title MagicLinux (Graphics Mode)
root (hd0,0)
kernel /vmlinuz-2.6.15.3 init 5 ro root=/dev/hda2 vga=792 splash=silent
initrd /initrd-2.6.15.3.img
title MagicLinux (Console Mode)
root (hd0,0)
kernel /vmlinuz-2.6.15.3 init 3 ro root=/dev/hda2 vga=792 splash=silent
initrd /initrd-2.6.15.3.img
title MagicLinux (Single Mode)
root (hd0,0)
kernel /vmlinuz-2.6.15.3 init 1 ro root=/dev/hda2 vga=792 splash=silent
initrd /initrd-2.6.15.3.img
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/share/fonts/default/Type1"
FontPath "/usr/share/fonts/ttf/zh_CN"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XbkModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "CTX PR705F series"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 160.0
EndSection
Section "Device"
Identifier "Videocard0"
Driver "ati"
VendorName "Videocard vendor"
BoardName "ATI Radeon 9100"
VideoRam 65536
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection |
|