KimToms
|
⇤ ← Revision 1 as of 2007-08-26 14:41:35
Size: 1215
Comment:
|
Size: 2432
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 13: | Line 13: |
| * Create a terminal window - Applications -> Accessories -> Terminal * Switch your terminal window to a root shell: {{{ me@me-laptop:~$ sudo bash root@me-laptop:~# }}} * Install packages needed {{{ root@me-laptop:~# apt-get update root@me-laptop:~# apt-get install build-essential kernel-package \ gcc libncurses5 libncurses5-dev libqt3-mt-dev linux-source }}} * Change directory and unpack source {{{ root@me-laptop:~# cd /usr/src root@me-laptop:/usr/src# tar xjvf linux-source-2.6.20.tar.bz2 }}} * Change PS1 so I don't have to type really long strings {{{ root@me-laptop:/usr/src# PS1="# " }}} * Change directory to the source directory and copy config file {{{ # cd linux-source-2.6.20 # cp ../linux-headers-2.6.20-15-generic/.config . }}} * Configure kernel according to .config file {{{ # make oldconfig }}} * Make a kernel. Since my laptop has two CPUs, I use -j3 to make sure they're both used. -j2 would allow some idle time. There's also plenty of memory, so the swap is never hit. This process takes a few minutes to complete. {{{ # make -j3 }}} |
Kim Toms
Email: MailTo(Kim.Toms AT SPAMFREE Gmail DOT Com)
I'm a laptop user; currently using Sony Vaio VGN-SZ470N. I wanted a place to record my experience, hence here.
I started by installing 7.04 (feisty fawn), but I accidently enabled the NVIDIA restricted driver and couldn't figure out how to get it turned off. So, I re-installed, and thought I'd keep a log to help me remember what to do. According to some things I've read on the web, the kernel version in feisty (2.6.20) does not support several features of the VAIO laptop which are supported under 2.6.22. So, the first thing to do is build a new kernel. I started by attempting to duplicate the 2.6.20-generic kernel. From some pages on the [http://ubuntuforums.org/showthread.php?t=56835&highlight=kernel+compilation Ubuntu Forums] I found some instructions for kernel compilation. However, I think these are for an older version of the kernel, so here's what I did: (Please note, I started from an absolutely clean installation, although I'm using the restricted Intel(R) PRO/Wireless 3945 Network Connection Driver for Linux
1. Install needed packages
Create a terminal window - Applications -> Accessories -> Terminal
- Switch your terminal window to a root shell:
me@me-laptop:~$ sudo bash root@me-laptop:~#
- Install packages needed
root@me-laptop:~# apt-get update root@me-laptop:~# apt-get install build-essential kernel-package \ gcc libncurses5 libncurses5-dev libqt3-mt-dev linux-source
- Change directory and unpack source
root@me-laptop:~# cd /usr/src root@me-laptop:/usr/src# tar xjvf linux-source-2.6.20.tar.bz2
- Change PS1 so I don't have to type really long strings
root@me-laptop:/usr/src# PS1="# "
- Change directory to the source directory and copy config file
# cd linux-source-2.6.20 # cp ../linux-headers-2.6.20-15-generic/.config .
- Configure kernel according to .config file
# make oldconfig
- Make a kernel. Since my laptop has two CPUs, I use -j3 to make sure they're both used. -j2 would allow some idle time. There's also plenty of memory, so the swap is never hit. This process takes a few minutes to complete.
# make -j3
KimToms (last edited 2008-08-06 16:39:14 by localhost)