Last change
on this file since 2 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
1.3 KB
|
Line | |
---|
1 | # Rick van der Zwet
|
---|
2 | # 0433373
|
---|
3 | # OS Assigment 6
|
---|
4 | # Licence: BSD
|
---|
5 | # $Id: README.txt 619 2008-05-19 19:35:46Z rick $
|
---|
6 |
|
---|
7 |
|
---|
8 | = Intro =
|
---|
9 | Using Ubuntu server 8.04 in Parallels Desktop under Mac OS X. Will
|
---|
10 | follow the official way of ubuntu of building, compiling and installing
|
---|
11 | kernels as described at https://help.ubuntu.com/community/Kernel/Compile
|
---|
12 | (nb all command below ran as root)
|
---|
13 |
|
---|
14 | Instead of using version 2.6.21.3 I used 2.6.24 (as other version is no
|
---|
15 | longer available in standard set) , indentifier flag has been put in
|
---|
16 | step 3, will be defined using compile time.
|
---|
17 |
|
---|
18 | = Step 1 - preparation =
|
---|
19 | #Prefetch required packages
|
---|
20 | $apt-get install linux-kernel-devel fakeroot build-essential
|
---|
21 | #Get source
|
---|
22 | $apt-get install linux-source
|
---|
23 | $cd /usr/src
|
---|
24 | $tar -xvjf /usr/src/linux-source-2.6.24.tar.bz2
|
---|
25 | $ln -s linux-source-2.6.24 linux
|
---|
26 |
|
---|
27 | = Step 2 - configure =
|
---|
28 | #Fetch old config and re-use
|
---|
29 | $cd /usr/src/linux
|
---|
30 | $cp -vi /boot/config-`uname -r` .config
|
---|
31 |
|
---|
32 | = Step 3 - compile & install =
|
---|
33 | $fakeroot make-kpkg --initrd --append-to-version=-liacs-os-assignment-5 kernel-image kernel-headers
|
---|
34 | dpkg -i linuxlinux-headers-2.6.24.3-liacs-os-assignment-5_2.6.24.3-liacs-os-assignment-5-10.00.Custom_i386.deb
|
---|
35 | dpkg -i linux-image-2.6.24.3-liacs-os-assignment-5_2.6.24.3-liacs-os-assignment-5-10.00.Custom_i386.deb
|
---|
36 | #Update grub
|
---|
37 | $ update-grub
|
---|
38 | #Reboot and choose new kernel to boot
|
---|
39 | $ reboot
|
---|
40 |
|
---|
41 |
|
---|
42 |
|
---|
43 |
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|
48 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.