Nightfall Wiki

Workstation (zulasch)

aus Online Brain, der freien Wissensdatenbank

Inhaltsverzeichnis

Übersicht

Hostname: gentoo
Gentoo Version: 2006.1 i686

Mein Hauptrechner mit einem Dualboot konfiguriertem LILO (gentoo & Windows) Da ich noch ziemlich frisch in der Linux-Welt bin, wird mein gentoo hauptsächlich dafür genutzt um mehr über Linux zu lehrnen, was bei gentoo gezwungenermaßen geschiet, zumindest in manche Aspekte. Unter Windows wird gezockt und mit div. Software gearbeitet die nicht unter Linux läuft.


Hardware

  • Intel Pentium Core 2 Duo E6600 @2400 MHz
  • ASUS P5G
  • 2048MB Corsair Dominator DDR2-800 CL4
  • Saphire ATI 1900GT PCIe
  • 40GB SATA-I HDD (Linux)
  • 120GB SATA-I HDD (Windows)
  • Creative Labs SoundBlaster X-Fi!
  • IDE DVD-RW Lite-On
  • IDE DVD-ROM Pioneer

Kernel, Xorg kde und Treiber


x11-drivers/ati-drivers-0.39.4
x11-base/xorg-server-1.3.0.0
kde-base/kdebase-3.5.7-r3
sys-kernel/gentoo-sources-2.6.22-r5



Systemkonfiguration

package.use

File: nano -w /etc/portage/package.use

media-sound/amarok alsa
sys-fs/ntfsprogs fuse
media-libs/xine-lib mp3 speex vorbis win32codecs dts
x11-libs/qt opengl gif jpeg png


LILO

File: nano -w /etc/lilo.conf

boot=/dev/sda
prompt
timeout=100
default=gentoo
disk=/dev/sda
bios=0x81
disk=/dev/sdb
bios=0x80

image=/boot/vmlinuz
label=gentoo
read-only
root=/dev/sda3

image=/boot/vmlinuz
label=gentoo.rescue
read-only
root=/dev/sda3
append="init=/bin/bb"

other=/dev/sdb
label=Win_XP

LILO alternativ

File: nano -w /etc/lilo.conf

boot=/dev/sda             # Install LILO in the MBR
prompt                    # Give the user the chance to select another section
timeout=50                # Wait 5 (five) seconds before booting the default se$
default=gentoo            # When the timeout has passed, boot the "gentoo" sect$
                          # Only if you use framebuffer. Otherwise remove the following line:
#vga=788                  # Framebuffer setting. Adjust to your own will

image=/boot/vmlinuz
  label=gentoo
  read-only
  root=/dev/ram0
  append="init=/linuxrc ramdisk=8192 real_root=/dev/sda3  doscsi"
  initrd=/boot/initramfs-genkernel-x86-2.6.20-gentoo-r4


make.conf

File: nano -w /etc/make.conf.conf

CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"

MAKEOPTS="-j3"

#ACCEPT_KEYWORDS="amd64 ~amd64"

LINGUAS="de"
LANGUAGE="49"

INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="fglrx"

USE="acpi mmx sse sse2 opengl -gtk -gnome qt3 qt4 kde dvd alsa cdr"

GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"



FSTAB

File: nano -w /etc/fstab

# <fs>                  <mountpoint>    <type>          <opts>             <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1               /boot           ext2            noauto,noatime         1 2
/dev/sda3               /               ext3            noatime                0 1
/dev/sda2               none            swap            sw                     0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro,user         0 0
#/dev/fd0               /mnt/floppy     auto            noauto                 0 0

# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults               0 0
none                    /dev/shm        tmpfs           nodev,nosuid,noexec    0 0

# WINDOWS Partitionen nur lesen
/dev/sdb2               /mnt/windows    ntfs            umask=0222,nls=utf8    0 0
/dev/hdd1               /mnt/musik      ntfs            umask=0222,nls=utf8    0 0


xorg.conf

File: nano -w /etc/X11/xorg.conf

# **********************************************************************
# Module section.
# **********************************************************************
Section "Module"
     Load        "dbe"  	# Double buffer extension
    	SubSection  "extmod"
      		Option    "omit xfree86-dga"   # don't initialise the DGA extension
    	EndSubSection
#    Load        "type1"
     Load        "freetype"
#    Load        "xtt"
     Load        "glx"
     Load        "dri"
EndSection


# **********************************************************************
# Files section.
# **********************************************************************
Section "Files"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/75dpi/"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
EndSection

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc105"
    Option "XkbLayout"	"de"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "Auto"	# Auto detect
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"   "4 5 6 7"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************
Section "Monitor"
    Identifier  "eizo"
    HorizSync   31.5 - 64.3
    VertRefresh 50-70
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
    Identifier	"Standard VGA"
    VendorName	"Unknown"
    BoardName		"Unknown"
    Driver     	"vga"
EndSection

Section "Device"
    Identifier  "1900GT"
    Driver      "fglrx"
    #VideoRam    262144
    # Insert Clocks lines here if appropriate
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
    Identifier  "Screen 1"
    Device      "1900GT"
    Monitor     "eizo"
    DefaultDepth 24

    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection

EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
    Mode 0666
EndSection



MediaWiki