ArchLUG Kwiki - www.archlug.org

Download the RSS XML Feed for this site

Download the RSS XML Feed for this site

Subscribe to this channel with Amphetadesk

Subscribe to this channel with RadioUserland

Add to Google

XandrosKwiki- RecompileKernel


Adapted from the Xandros Forums Compiling Xandros Kernel

Also useful overview and Kernel Build HOWTO.

Xandros 4.0

# Install kernel source package
cd /usr/src
tar -xjf dcc-kernel-source-2.6.15.tar.bz2
cp /boot/config-2.6.15-dcc-uni /usr/src/linux/.config
cd linux
make oldconfig EXTRAVERSION=-dcc-uni
make prepare EXTRAVERSOION=-dcc-uni
make scripts EXTRAVERSION=-dcc-uni

Make any changes, apply patches, new kernel modules, etc.

Use 'make menuconfig' or 'make xconfig' to customize the kernel.

Finish up

make bzImage
make install
make modules
make modules_install

/sbin/mkinitrd

Xandros 3.x

Single CPU Systems

cd /usr/src
tar xjf xandros-kernel-source-2.6.9.tar.bz2
ln -sf xandros-kernel-source-2.6.9 linux
cd linux
make EXTRAVERSION=-x1 mrproper
cp /boot/config-2.6.9-x1 .config
make EXTRAVERSION=-x1 oldconfig
make EXTRAVERSION=-x1 prepare-all

Multiple CPU Systems

cd /usr/src
tar xjf xandros-kernel-source-2.6.9.tar.bz2
ln -sf xandros-kernel-source-2.6.9 linux
cd linux
make EXTRAVERSION=-x1-smp mrproper
cp /boot/config-2.4.19-x1 .config
make EXTRAVERSION=-x1-smp oldconfig
make EXTRAVERSION=-x1-smp prepare-all

Make any changes, apply patches, new kernel modules, etc.

Use 'make menuconfig' or 'make xconfig' to customize the kernel.

Finish up

make bzImage
make install
make modules
make modules_install

/sbin/mkinitrd
/sbin/fooze

Xandros 2.x

Single CPU Systems

cd /usr/src
tar xjf xandros-kernel-source-2.4.19.tar.bz2
ln -sf xandros-kernel-source-2.4.19 linux
cd linux
make EXTRAVERSION=-x1 mrproper
cp /boot/config-2.4.19-x1 .config
make EXTRAVERSION=-x1 oldconfig
make dep

Multiple CPU Systems

cd /usr/src
tar xjf xandros-kernel-source-2.4.19.tar.bz2
ln -sf xandros-kernel-source-2.4.19 linux
cd linux
make EXTRAVERSION=-x1-smp mrproper
cp /boot/config-2.4.19-x1 .config
make EXTRAVERSION=-x1-smp oldconfig
EXTRAVERSION=-x1-smp make dep

Make any changes, apply patches, etc.

Use 'make menuconfig' or 'make xconfig' to customize the kernel.

Finish up

make bzImage
make install
make modules
make modules_install

/sbin/mkinitrd
/sbin/fooze

And from Jammy's Unofficial Xandros HowTo site: http://xandros.jammys.net/

See http://xandros.jammys.net/kernel-recompile.txt

Steps to compile your kernel

  • If you have an nVidia card go to debian.org and download nVidia driver from testing
  • Install kernel-package from debian woody and wget
  • make sure you have installed the xandros kernel source
  • go to where extracted the xandros kernel and edit
    • Makefile: add '-x1' to 'EXTRAVERSION = '
    • should look like this
      • EXTRAVERSION = -x1
    • save the file
/usr/src# ln -sf xandros-kernel-source-2.4.19 linux
/usr/src# cd linux
/usr/src# make mrproper
/usr/src/linux# cp /boot/config-2.4.19-x1 .config
  • 'make xconfig' to make any changes to kernel you want.
  • I suggest making the reiser module compiled in to the kernel.
  • Save your changes.
  • run make-kpkg kernel-image
  • For nVidia driver run 'make-kpkg modules-image' after 'make-kpkg kernel-image' has finished.
  • go to 'lib/modules' and rename 2.4.19-x1 to something else for backup
  • go to '/usr/src' and run 'dpkg -i kernel*.deb' to install your kernel
  • 'dpkg -i nvidia-kernel*.deb' to install your nVidia driver
  • Ignore the warnings for your installing kernel it will work, at least it did for me.

After it is installed reboot.


Back to XandrosKwikis


Valid XHTML 1.0! Valid CSS!
InterTran (www.tranexp.com)
InterTran (www.tranexp.com)

Please MOVE AND HOLD your MOUSE CURSOR over any WORD in the translated web page in order to see a pop-up window with ALTERNATIVE TRANSLATIONS. Translations provided by: www.tranexp.com