PDA

View Full Version : [ubuntu] change the driver file and compile the kernel



cccc
May 10th, 2011, 02:00 AM
hi

I must change the driver file manually and compile the kernel.
Are these steps OK, or pls correct me:

# mkdir ~/newkernel/

# cp /usr/src/linux-source-2.6.35.tar.bz2 ~/newkernel/

# tar xjf linux-source-2.6.35.tar.bz2

# cd linux-source-2.6.35

# cp -vi /boot/config-`uname -r` .config

# make oldconfig

# make localmodconfig

change driver file manually

# fakeroot make-kpkg --initrd --append-to-version=-some-string-here kernel-image kernel-headers