Skip to content

Instantly share code, notes, and snippets.

@RickyCook
Last active December 23, 2015 23:29
Show Gist options
  • Save RickyCook/6710614 to your computer and use it in GitHub Desktop.
Save RickyCook/6710614 to your computer and use it in GitHub Desktop.
Things I ALWAYS forget when recompiling my kernel

Kernel Recompile Notepad

  • make menuconfig
  • Networking support -> Networking options -> Network packet filtering framework (Netfilter) -> IP: Netfilter Configuration -> IPv4 NAT
  • make-kpkg clean
  • fakeroot make-kpkg -j8 --initrd kernel_image kernel_headers
  • http://feeds.amd.com/catalystlinux/
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Module"
Load "fglrx"
EndSection
Section "ServerFlags"
Option "Xinerama" "off"
EndSection
Section "InputClass"
Identifier "Keyboard"
MatchIsKeyboard "yes"
Option "XkbLayout" "us"
Option "XkbVariant" "dvp"
EndSection
Section "Monitor"
Identifier "0-DFP4"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "Disable" "false"
Option "PreferredMode" "1920x1200"
Option "TargetRefresh" "60"
Option "Position" "1920 0"
Option "Rotate" "normal"
EndSection
Section "Monitor"
Identifier "0-DFP3"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1920x1080"
Option "TargetRefresh" "60"
Option "Position" "0 109"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
Option "Monitor-DFP4" "0-DFP4"
Option "Monitor-DFP3" "0-DFP3"
BusID "PCI:3:0:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Virtual 3840 1920
Depth 24
EndSubSection
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment