# Rick van der Zwet # 0433373 # OS Assigment 6 # Licence: BSD # $Id: README.txt 619 2008-05-19 19:35:46Z rick $ = Intro = Using Ubuntu server 8.04 in Parallels Desktop under Mac OS X. Will follow the official way of ubuntu of building, compiling and installing kernels as described at https://help.ubuntu.com/community/Kernel/Compile (nb all command below ran as root) Instead of using version 2.6.21.3 I used 2.6.24 (as other version is no longer available in standard set) , indentifier flag has been put in step 3, will be defined using compile time. = Step 1 - preparation = #Prefetch required packages $apt-get install linux-kernel-devel fakeroot build-essential #Get source $apt-get install linux-source $cd /usr/src $tar -xvjf /usr/src/linux-source-2.6.24.tar.bz2 $ln -s linux-source-2.6.24 linux = Step 2 - configure = #Fetch old config and re-use $cd /usr/src/linux $cp -vi /boot/config-`uname -r` .config = Step 3 - compile & install = $fakeroot make-kpkg --initrd --append-to-version=-liacs-os-assignment-5 kernel-image kernel-headers 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 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 #Update grub $ update-grub #Reboot and choose new kernel to boot $ reboot