星期三, 7月 27, 2005

Grub on /dev/hdc

/sbin/grub --batch --device-map=/dev/null <<"EOF"
device (hd0) /dev/hda
device (hd1) /dev/hdc
root (hd1,0)
setup (hd1)
quit
"EOF"

grub.conf
---
timeout 2
default 0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
# For booting GNU/Linux
title JT Linux
kernel /boot/vmlinuz root=/dev/ram0 video=vesafb:ywrap,mtrr,1024x768-24@60 quiet splash=silent,theme:emergence ramdisk_size=32768 CONSOLE=/dev/tty1 vga=792
root (hd0,0)
initrd /boot/jt-ramdisk.gz
---

星期六, 7月 09, 2005

Gentoo ati drm driver in X.org 6.8.2

configuration step:

genkernel --udev --menuconfig all
  • Device Drivers - Character devices)
    • add Real Time Clock Support
    • /dev/agpgart (AGP support)
      • Intel
      • SiS chipset support
      • VIA chipset suport
  • modify /etc/modules.autoload.d/kernel-2.6
    • rtc
    • agpgart
    • sis-agp
    • fglrx
wait for compiling finished...
  • ATI-Drivers
    • emerge ati-drivers
    • emerge ati-drivers-extra (contains testing apps.)
    • opengl-update ati
  • X.org setting
    • fglrxconfig
      • do not chose AGPGART support, becasue of already built-in in kernel
      • modify BuisID to fit your VGA card in /etc/X11/xorg.conf
done....