Here my suggestion for a short and easy hint building a kernel.
How to build your own Sidux kernel
target audience: Users who are able taking the measures to recover from booting with a non functional kernel. So there are precausions you have to take and these are not discussed here in this Howto. If some of the steps below sound strange to you then do not try it but keep staying with the sidux ready and go kernels from slh!
Needed Debian packages:
kbuild
linux-support-sidux-2.6
sidux-modules
linux-source-sidux-2.6.25
linux-tree-sidux-2.6.25
kernel-package
libncurses-dev
gcc
make
fglrx-kernel-src or nvidia
(Caution: some more?)
If you know the differences of debian upgrades and installs you are allowed to use aptitude for fresh installs of dev-packages. Examine the packages above in aptitude and what other packages depend on them. Then you will see what other packages you need for the job.
five steps to your own Sidux kernel:
1. Install above dev-packages as root
2. As nomal user you do
(Caution: You cannot take this unmodified as a script!)
Code:
mkdir ~/src
cd ~/src && \
tar xjf /usr/src/linux-source-sidux-2.6.25.tar.bz2 && \
tar xjf /usr/src/needed-modul-source-name.bz2 && \
tar xjf /usr/src/other-needed-modul-source-name.bz2 #...
cd ~/src && ln -s -f ~/src/linux-source-sidux-2.6.25 linux
cd ~/src && cp /usr/src/Makefile .
nano ~/src/Makefile #edit to your needs
nano ~/src/linux/Makefile #edit line4: EXTRAVERSION = -2.slh.3-ral2
# apply some patches (for example reiser4 is a moerderisch fast fs)
cd ~/src/linux && make menuconfig #config carefully
cd ~/src && make realfast
3. Go to the nearest coffee shop for an hour!
4. As root or with sudo do
Code:
cd ~/src && sudo dpkg -i *.deb
5. As successful sidux user reboot now!
--- the end ---
Todo:
1. Corrections by a proper english speaker
2. There should be a convinient way to shorten downloads when a new release from slh arrives by just using the patches. |