Compile new Kernel in Suse 9 Prof

Link doesn't work :(

This topic was started by ,


data/avatar/default/avatar03.webp

1352 Posts
Location -
Joined 2004-02-01
Hi geeks....

can someone tell me how to compile a new Kernel (exp. 2.6) in Suse
step by step?

Would be nice !!! :hail:

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar02.webp

500 Posts
Location -
Joined 2002-02-09
you can go here http://kerneltrap.org/node/view/925 it has detailed instructions for "installing Kernel 2.6 on Redhat/Fedora machine" they should work for SUSE 9 also .

OR
I found this on SUSE Site http://lists.suse.com/archive/suse-linux/2004-Jan/1711.html for 2.6 on SUSE , but its in GERMAN .

OR

The below are the things i did to install 2.6 on my Fedora Core 1 server.

Before you compile :-

Check/upgrade/download/install the following dependencies with latest builds available.

1) kernel source RPM or tar.
2) gcc compiler rpm
3) binutils cpp rpm
4) binutils
5) glibc-devel rpm
6) kernel headers

now copy the kernel 2.6 folder (untar if its tar) tp "/usr/src/linux" folder.
now go the the kernel2.6 folder.

step by step commands to compile :-

#/usr/src/linux/linux 2.6>make clean (to clean up previously compile kernel files/settings).

#/usr/src/linux/linux 2.6>make menuconfig (for this u will need ncurses-develop rpm installed)

#/usr/src/linux/linux 2.6>press (M) for modular support; like wise (*) for inbuilt, and ( )blank for excluded . (this is mainly for putting drivers and other modules inbuilt in kernel)

here you will have to enter each sub-menu and select/unselect the particular things U want / not want (like NTFS , Network cards , etc/).

now exit and select save

now the command for compiling the kernel with just selected settings

#/usr/src/linux/linux 2.6>make && make modules_install
#/usr/src/linux/linux 2.6>make
#/usr/src/linux/linux 2.6>make bzImage.

once that was finished, i copied the new kernel to my "/boot" dir:

#/usr/src/linux/linux 2.6>cp arch/i386/boot/bzImage /boot/kernel-2.6.0


then update "/boot/grub/grub.conf" file. if you use lilo, you need to appropriately edit your "/etc/lilo.conf" file, then run

#>/sbin/lilo -v


that's it

data/avatar/default/avatar03.webp

1352 Posts
Location -
Joined 2004-02-01
OP
WOW....
that´s great...thanx Kyro !!!
looks like a very good instruction
the german site is no prob... i´m a german newbie :oops:

i hope that my Suse runs great after the new Kernel.

thanx thanx thanx :beer:

data/avatar/default/avatar02.webp

500 Posts
Location -
Joined 2002-02-09
WOW....
that´s great...thanx Kyro !!!
looks like a very good instruction
the german site is no prob... i´m a german newbie :oops:

i hope that my Suse runs great after the new Kernel.

thanx thanx thanx :beer:


No probs , still if you run into another prob, post it here .. i might be late to answer , but will surely solve it.

data/avatar/default/avatar03.webp

1352 Posts
Location -
Joined 2004-02-01
OP
so...there is another prob....
that´s why i want to update my kernel, hope that solve the prob....

my internet is the prob....when i install Suse an do my first session everything is great (internet via t-DSL) and internet works perfectly (maybe faster than in Win) but after rebooting, my internet works no longer !!
it can´t connect only a new install of Suse help !

i don´t use the nforce network, it´s disabled via bios, i use a realtek network card instead

?????

data/avatar/default/avatar02.webp

500 Posts
Location -
Joined 2002-02-09
i also have realtek card and havent had any prob with it on Fedora. the kernel might solve the problem permantly also another reason to encourage you is , you might wanna experience the speed gain after doing kernel 2.6 ; for me it was amazing.

plus you might wanna go on the suse site and/query for the latest realtek driver and also post this issue on the suse-forum and see whether SUSE - Realtek have any issue.

KYRO.

data/avatar/default/avatar01.webp

621 Posts
Location -
Joined 2001-08-26
btw is there any fast mirror where i can download suse or a red hat ?

Great help Kyro ;-)

data/avatar/default/avatar01.webp

621 Posts
Location -
Joined 2001-08-26
Whats the difference between suse, fedora and red hat?

data/avatar/default/avatar02.webp

500 Posts
Location -
Joined 2002-02-09
OK . all are Linux distros with different flavours . SUSE as well know is the german distro , regarded as second to Redhat in terms of enterprise support.

As we all know, Redhat announced they are Discontinuing their Desktop Distro option after Redhat 9.0. So now Suse looks in good position.

But Redhat announced support for FEDORA CORE 1 which was trying to build on Redhat 9.0 source RPMS but with added tools and variations. So fedora is also called as Redhat 10.

But for now Fedora looks a little buggy . Redhat 9 is the stablest version compared to Fedora. But in feb end Fedora CORE 2 will be beta launched soon foolowed by final release , that should be more hardened one.

.

data/avatar/default/avatar03.webp

1352 Posts
Location -
Joined 2004-02-01
OP
And in my opinion, Suse is the easiest one... The Yast2 is soooo good for Win users. You can (un)-install software so easy.
I tried RH9 and Mandrake,too but Suse was definily the best 8)

In Fedora core....puhhh....there are maybe 2 updates a day....crazy as win !!
In Suse there is an integrated updater.....i don´t know Fedora insalled an updater too.

Where do u want to go today?

data/avatar/default/avatar01.webp

621 Posts
Location -
Joined 2001-08-26
And in my opinion, Suse is the easiest one... The Yast2 is soooo good for Win users. You can (un)-install software so easy.
I tried RH9 and Mandrake,too but Suse was definily the best 8)

In Fedora core....puhhh....there are maybe 2 updates a day....crazy as win !!
In Suse there is an integrated updater.....i don´t know Fedora insalled an updater too.

Where do u want to go today?

i think i have to check suse. does "lilo" supports booting from 2 disks that i can select from which disk i can boot ? I would like to have C: for windows and d: for linux

data/avatar/default/avatar03.webp

1352 Posts
Location -
Joined 2004-02-01
OP
i think yes....
u can change boot devices in Suse-Startup via lilo , u can config it easiest at installation, later too

but i didn´t config so....
i have a biiiig wall between win and linux, i change my boot device via bios

data/avatar/default/avatar03.webp

1352 Posts
Location -
Joined 2004-02-01
OP
u can also use the win bootmanager depend on boot device setup in bios