Download your favorite Linux distribution at LQ ISO.
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 03-17-2003, 03:59 PM   #1
Registered: Feb 2003
Location: Florence, AL
Distribution: Debian
Posts: 157

Rep: Reputation: 30
Kernel Patching

I am trying to patch my linux kernel using the HFS patch so I can read my Mac formatted iPod on it. My problem is that I get this readout when I use the exact instructions I have been given.

What should I do to patch the kernel and then update to 2.4.20 from 2.4.18-14

[root@heath linux]# patch -p1 < hfsplus-patch-20020606
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|diff -urN -x CVS linux-bkppc/Documentation/ linux/Documentation/
|--- linux-bkppc/Documentation/ Tue May 7 03:51:18 2002
|+++ linux/Documentation/ Tue May 7 20:01:27 2002
File to patch:

I think I just don;t get it on recompiling the kernel and adding patches.
Old 03-17-2003, 07:21 PM   #2
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
if the patch is for 2.4.20 , u would want to
get 2.4.20 kernel extract it under /usr/src
and patch the 2.4.20 kernel

hope that answers your question
Old 03-18-2003, 02:04 PM   #3
Registered: Feb 2003
Location: Florence, AL
Distribution: Debian
Posts: 157

Original Poster
Rep: Reputation: 30
I think I understand a little better what I am trying to do now but I have little time at work today so I will reply later with my results.


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
Kernel patching.. new.thing Linux - Hardware 3 07-13-2005 07:36 AM
Patching a 2.6 kernel with a 2.4 kernel keyboard driver..possible? dxx Linux - Laptop and Netbook 3 11-18-2004 05:18 AM
Patching the kernel grazie Fedora 4 11-09-2004 04:29 PM
Patching the Kernel LinuxBlackBox Linux - Software 2 06-16-2004 07:54 AM
Kernel Patching? wr3ck3d Linux - General 4 04-13-2003 04:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:39 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