!!! Installation Ubuntu Lucid Lynx
[{TableOfContents }]
!! Installed software
* Plain install from live CD (created USB startup disk for that)
* installed extra packages:
** openssh-server
** htop
** sensors-applet
** flashplugin-installer
** gpsbabel
** openjdk stuff
** download and install eclipse
** ''more to come''
!! Kernel compile
Because my HP 6830s laptop has a buggy DSDT, I have to change that. Since Linus decided that kernels no longer accept custom DSDT's I have to recompile the kernel to get this done.\\
I found a useful link here : [http://ubuntuforums.org/showthread.php?t=1341580]
So, what I did is :
{{{
sudo apt-get install fakeroot kernel-wedge build-essential makedumpfile
sudo apt-get build-dep linux
sudo apt-get install qt3-dev-tools libqt3-mt-dev
mkdir src
cd src
tar xjvf /usr/src/linux-source-2.6.32.tar.bz2
cd linux-source-2.6.32/
cp -vi /boot/config-`uname -r` .config
make xconfig .......
}}}
click in left pane on ACPI, and then double click in right pane on custom DSDT and fill in the fullname of your custom dsdt.\\
Then we'll continue:
{{{
export CONCURRENCY_LEVEL=3 # put both intel cores to work :-)
time fakeroot make-kpkg --initrd --append-to-version=dh kernel-image kernel-headers | tee /home/metskem/kernel-compile.log
}}}
see [log|kernel-compile.log]
{{{
.......
real 66m15.850s
user 93m31.899s
sys 14m9.749s
}}}
Now install the kernel :
{{{metskem@gneisenau:~/src$ sudo dpkg -i linux-image-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb
(Reading database ... 151079 files and directories currently installed.)
Preparing to replace linux-image-2.6.32.11+drm33.2dh 2.6.32.11+drm33.2dh-10.00.Custom (using linux-image-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb) ...
Ok, aborting, since modules for this image already exist.
dpkg: error processing linux-image-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb (--install):
subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/postrm.d .
Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32.11+drm33.2dirtyharrykernel
Found linux image: /boot/vmlinuz-2.6.32.11+drm33.2dh
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Recovery Environment (loader) on /dev/sda1
Found Windows Vista (loader) on /dev/sda3
Found Linux Mint 7 Gloria - Main Edition (7) on /dev/sda6
done
Errors were encountered while processing:
linux-image-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb
metskem@gneisenau:~/src$ sudo dpkg -i linux-headers-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb
Selecting previously deselected package linux-headers-2.6.32.11+drm33.2dh.
(Reading database ... 151079 files and directories currently installed.)
Unpacking linux-headers-2.6.32.11+drm33.2dh (from linux-headers-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb) ...
Setting up linux-headers-2.6.32.11+drm33.2dh (2.6.32.11+drm33.2dh-10.00.Custom) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.32.11+drm33.2dh /boot/vmlinuz-2.6.32.11+drm33.2dh
}}}
And finally :
{{{
update-initramfs -c -k 2.6.32.11+drm33.2dh
update-grub
}}}
For the last part (that takes over an hour) I created a small shell [script|kernelcompile.sh]