Ubuntu: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 19: | Line 19: | ||
make-kpkg clean | make-kpkg clean | ||
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers | fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers | ||
=== Installing Modules to an Alternate Path === | === Installing Modules to an Alternate Path === | ||
make modules_install INSTALL_MOD_PATH=/home/denis/tmproot/ | make modules_install INSTALL_MOD_PATH=/home/denis/tmproot/ | ||
Revision as of 22:42, 26 February 2008
Fixing the Default Editor
Ubuntu defaults to using nano over Vi. To correct this sacrilegious behavior, use the following command:
sudo update-alternatives –config editor
Rebuild X11 Configuration
sudo dpkg-reconfigure -phigh xserver-xorg
Building a Custom Kernel
See How To Compile A Kernel - The Ubuntu Way on HowtoForge for complete details.
Summary:
apt-get update apt-get install linux_source kernel-package libncurses5-dev fakeroot wget bzip2 make-kpkg clean fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
Installing Modules to an Alternate Path
make modules_install INSTALL_MOD_PATH=/home/denis/tmproot/