Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-08-2003, 05:22 PM   #1
LQ Newbie
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
How to patch SuSE 9 kernel source?

I'm a Linux newbie. I have SuSE 9 installed and found patch on SuSE's website kernel-source-2.4.21-144.src.rpm.
<This stupid forum doesn't allow first post to include http link>

I also found this instructions to patch SuSE 9 2.4.21-99 kernel source to -144. I'm trying to recompile 144 kernel myself.
www <dot> suse <dot> de / ~agruen / kernel-doc


$ tar xvfz linux-2.4.21.tar.gz
$ for p in $(./guards $(./arch-symbols) < series.conf) ; do
patch -d linux-2.4.21 -p1 < $p || break

My question is, how do I issue this "$ for p in..." command? When I type them out in bash prompt, it always says:
bash: syntax error near unexpected token 'patch'.

What do I do wrong here? Please help.
Old 12-11-2003, 02:10 AM   #2
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Don't you just download the -144 kernel and the kernel source.. install them both with yast...

Then cd /usr/src/linux and compile whatever you want, cause it'll be 144 in your /usr/src directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse Pro 9.2 Won't boot after kernel patch !Help! distortedstar SUSE / openSUSE 2 08-05-2005 01:37 PM
patch of kernel source ? picticpic Mandriva 2 06-15-2005 04:17 PM
update to patch kernel source lmmix Linux - General 5 02-24-2005 04:33 PM
Kernel question: difference between Patch and "regular" kernel source kopikat Linux - Software 1 01-26-2005 06:24 PM
Patch VS Full Source for kernel demmylls Linux - General 4 10-25-2003 11:16 AM

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration