sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ralul
Post subject: Hint for building kernel in five steps  PostPosted: May 10, 2008 - 11:13 PM



Joined: Jan 10, 2008
Posts: 225

Status: Offline
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.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio