| Arch Linux Installation Guide |
|
|
|
| Written by axel | |
|
Page 9 of 20
16. fstab Configuration
Now let’s configure our /etc/fstab file. cdrom0 cdrom1
If you have a floppy create also the next directory: floppy0 Now back to fstab. The lines that the installed has placed in there are wrong and so you may delete them. In their place add the following ones: /dev/sr0 /media/cdrom0 udf,iso9660 ro,user,noauto,iocharset=utf8,unhide 0 0 /dev/sr1 /media/cdrom1 udf,iso9660 ro,user,noauto,iocharset=utf8,unhide 0 0 /dev/fd0 /media/floppy0 vfat user,noauto,iocharset=utf8 0 0
Note that your optical drives device names may be different from mine. For your optical drives you may open later k3b and see what the names are. In the top left there will be a list with all your optical drives and their names as well. Save the file and exit. Now, we are finished with fstab as well.
17. Xorg Configuration
Now let’s configure our X Server in order to have a nice refresh rate and 3D acceleration. mkdir /mnt/arch/etc/X11
Our xorg.conf is composed from three parts: a. The first part is common for everyone. Copy and paste this one. Section "Files" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/cyrillic" FontPath "/usr/share/fonts/100dpi/:unscaled" FontPath "/usr/share/fonts/75dpi/:unscaled" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/100dpi" FontPath "/usr/share/fonts/75dpi" FontPath "/usr/share/fonts/TTF" EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us,gr" Option "XkbOptions" "grp:ctrl_shift_toggle,lv3:ralt_switch,eurosign:e" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection
b. The next part depends on our video card: for nVidia σειρά GeForce5 and above Section "Module" Load "dbe" Load "freetype" Load "glx" SubSection "extmod" Option "omit xfree86-dga" EndSubSection EndSection Section "Device" Identifier "My Graphics Card" Driver "nvidia" Option "DynamicTwinView" "false" Option "RenderAccel" "true" Option "CursorShadow" "true" Option "HWCursor" "true" Option "TripleBuffer" "true" # Option "ConnectedMonitor" "DFP" # Option "ConnectedMonitor" "CRT" EndSection Section "Extensions" Option "Composite" "enable" EndSection
for ATi RADEON from X-XXXXX and above Section "Module" Load "dbe" Load "type1" Load "freetype" Load "glx" Load "dri" SubSection "extmod" Option "omit xfree86-dga" EndSubSection EndSection Section "DRI" Mode 0666 EndSection Section "Device" Identifier "My Graphics Card" Driver "fglrx" BusID "PCI:2:0:0" Option "no_accel" "no" Option "no_dri" "no" Option "mtrr" "off" Option "DesktopSetup" "clone" Option "ScreenOverlap" "0" Option "Capabilities" "0x00000800" Option "CapabilitiesEx" "0x00000000" Option "VideoOverlay" "on" Option "OpenGLOverlay" "off" Option "CenterMode" "off" Option "PseudoColorVisuals" "off" Option "Stereo" "off" Option "StereoSyncEnable" "1" Option "FSAAEnable" "no" Option "FSAAScale" "1" Option "FSAADisableGamma" "no" Option "FSAACustomizeMSPos" "no" Option "FSAAMSPosX0" "0.000000" Option "FSAAMSPosY0" "0.000000" Option "FSAAMSPosX1" "0.000000" Option "FSAAMSPosY1" "0.000000" Option "FSAAMSPosX2" "0.000000" Option "FSAAMSPosY2" "0.000000" Option "FSAAMSPosX3" "0.000000" Option "FSAAMSPosY3" "0.000000" Option "FSAAMSPosX4" "0.000000" Option "FSAAMSPosY4" "0.000000" Option "FSAAMSPosX5" "0.000000" Option "FSAAMSPosY5" "0.000000" Option "UseFastTLS" "1" Option "BlockSignalsOnLock" "on" Option "UseInternalAGPGART" "no" Option "ForceGenericCPU" "no" Option "TVFormat" "PAL-G" Option "OverlayOnCRTC1" "1" Option "TexturedVideo" "True" Option "TexturedVideoSync" "True" Option "Textured2D" "True" Option "TexturedXrender" "Off" Option "MaxGARTSize" "256" EndSection Section "Extensions" Option "Composite" "Enable" Option "RENDER" "Enable" Option "DAMAGE" "Enable" Option "XVideo" "Enable" EndSection
for ATi RADEON till 9800XT Section "Module" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "GLcore" Load "glx" Load "int10" Load "record" Load "type1" Load "vbe" SubSection "extmod" Option "omit xfree86-dga" EndSubSection EndSection Section "DRI" Mode 0666 EndSection Section "Device" Identifier "My Graphics Card" Driver "radeon" BusID "PCI:2:0:0" EndSection
BusID "PCI:2:0:0"
lspci | grep VGA
Section "Monitor" Identifier "My Monitor" Option "DPMS" "True" Option "DPI" "96 x 96" EndSection Section "Screen" Identifier "Default Screen" Device "My Graphics Card" Monitor "My Monitor" Option "UseEvents" "true" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x1024" Viewport 0 0 EndSubSection Option "AddARGBGLXVisuals" "true" EndSection
Modes "1280x1024"
for CRT Section "Monitor" Identifier "My Monitor" Option "DPMS" "True" Option "DPI" "96 x 96" HorizSync 30-115 VertRefresh 50-160 #Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017 +hsync +vsync #Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync #Modeline "1024x768@120" 166.71 1024 1056 1688 1720 768 780 795 807 +hsync +vsync #Modeline "1600x1200@85" 300.92 1600 1632 2768 2800 1200 1222 1239 1261 +hsync +vsync EndSection Section "Screen" Identifier "Default Screen" Device "My Graphics Card" Monitor "My Monitor" Option "UseEvents" "true" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x960" "1152x864" "1024x768" Viewport 0 0 EndSubSection Option "AddARGBGLXVisuals" "true" EndSection
Modes "1280x960" "1152x864" "1024x768"
Don’t put in there a resolution that isn’t accepted from your screen. HorizSync 30-115 VertRefresh 50-160
BE CAREFUL!!
If you use wrong values in here you may damage your screen. Umount all the partitions you have previously mounted. cd /
umount /mnt/arch/mnt/repos
umount /mnt/arch
rmdir /mnt/arch
When computer reboots enter BIOS and select hard disk drive as the boot device.
|
|
| Last Updated ( Sunday, 26 October 2008 ) |
| < Prev | Next > |
|---|






