What is the problem you encountered ? One way to learn Linux(like building kernels) are at http://www.linuxfromscratch.org
I have allready read the instructions in several threads on how to build a properly patced kernel for knoppix3.1, and i have fialed miserably over and over again. is there anywhere i can just DL the bloody kernel already patched?
What is the problem you encountered ? One way to learn Linux(like building kernels) are at http://www.linuxfromscratch.org
the problem was that I only knew how to do about half of the things that specific commands weren't listed for, and subsiuently only about half the commands that were listed specificaly did anything but retrn an error. Of course, managed to destroy my instalatio everal times and reinstall several times before giving up.
--You *are* doing all this stuff as root, right? What kind of errmsgs are you getting?
Originally Posted by VeeDubb
Of course I'mdoing this as root. goes wthout saying.
Here is the first error I get. I'm tryig to follow the instructions posted by infomania in this thread http://www.knoppix.net/forum/viewtopic.php?t=131 after the first patch that is done with apt-get, he says to aply some other patch, but says NOTHING about how to do this. Of course later int he thread someone gives directions saying to apply the patch by entering "patch < knoppix-kernel.patch" whitch returns "bash: knoppix-kernel.patch: No such file or directory" it's all down hill form there.
Aha, patch.
What 'patch' does is it takes a 'patch file'(a text file) and applies it to the specific source.
Patch < knoppix.kernel.patch
means that it takes the input from 'knoppix.kernel.patch', in this form, it use a relative directory convention meaning it really depends on where the patch files sit and where you are at the time you run the command.
A better way would be to use the absolute path of the patch file you have put.
Assume you have download(I don't know how you did it) the patch files to
/usr/mykernel/knoppix.kernel.patch.gz2(I am assuming it is zipped)
you need to first unzip it through gzip -d
then
patch < /usr/mykernel/knoppix.kernel.patch
That is the best I can help at the moment, without knowing further detail.
PS. Now you know why I said linux is far from user friendly comparing with XP
Originally Posted by VeeDubb
I will try that tommorrow. for tonight my linux partition is once again unusable. I still maintain that once set up, linux is much friendlier, but i think we can all agree that reguardless of what we think about post set-up, the setup processitself is VERY unfriendly, to all but the uberest of linux gods.
it is actualy knoppix-kernel.patch, not knoppix.kernel.patch
It is located in /usr/src
I entered the command you gave me as follows
patch < /usr/src/knoppix-kernel.patch and recieved the following mesage: can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux/arch/i386/kernel/setup.c.orig 2002-10-04 01:02:25.000000000 +0200
|+++ linux/arch/i386/kernel/setup.c 2002-10-04 01:03:24.000000000 +0200
--------------------------
File to patch:
the line "File to patch:" is a prompt, but I don't know what to enter.
If it makes any difference, the entirety of the patch when opened in konquerer is:
--- linux/arch/i386/kernel/setup.c.orig 2002-10-04 01:02:25.000000000 +0200
+++ linux/arch/i386/kernel/setup.c 2002-10-04 01:03:24.000000000 +0200
@@ -195,7 +195,7 @@
#define INITRD_START (*(unsigned long *) (PARAM+0x21)
#define INITRD_SIZE (*(unsigned long *) (PARAM+0x21c))
#define COMMAND_LINE ((char *) (PARAM+204)
-#define COMMAND_LINE_SIZE 256
+#define COMMAND_LINE_SIZE 512 /* The boot commandline in Knoppix can get quite long -KK Oct. 2002 */
#define RAMDISK_IMAGE_START_MASK 0x07FF
#define RAMDISK_PROMPT_FLAG 0x8000
If this is all there actualy is, I'm not opposed to applying it manualy if that's possible. Just tell me what toadd it to and where to add it. If not, hopefully you can tell me how to patch it with the patch command.
I have now successfully applied the patch in question. turns out it's only job is to change one value that can also be changed manualy, so it's done. But I could use some more help. HTe remainder of te instructions are as follows:
Perhaps you want below too;
# mv kernel-source-2.4.20 kernel-source-2.4.20-xfs
# ln -s kernel-source-2.4.20-xfs linux
Then you might want to edit the fourth line of Makefile adding;
EXTRAVERSION =-xfs
# cd linux
# export PATCH_THE_KERNEL=YES
# make-kpkg --added-patches=/usr/src/kernel-patches/all/apply/xfs configure
(you might use the configuration file from /boot/config-2.4.20 Knoppix)
Confirm the following lines in linux/.config
CONFIG_XFS_FS=m
CONFIG_XFS_RT=y
CONFIG_XFS_QUOTA=y
CONFIG_XFS_DMAPI=y
# CONFIG_XFS_DEBUG is not set
# fakeroot make-kpkg kernel-image
If you read through that there are several "you might want to" , "you might use" etc. type remarks. Can you clarify these and tell me what I do or do not need to do? I tried the command mv kernel-source-2.4.20 kernel-source-2.4.20-xfs but it did not do anything for me. I got the mesage "mv: cannot stat `kernel-source-2.4.20': No such file or directory
"
Further assistance would be greatly appreciated.
$199.99
Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black
$32.00
VoIP IP Phone SIP WAN FV6020 Fanvil Gigabit Office Support IAX IAX2
$35.56
Yealink SIP-T41P PoE Ultra Elegant VoIP Phone
$29.95
Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945
$3.00
New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -
$24.95
POLYCOM VVX450 BUSINESS IP PHONE POE HANDSET VOIP 2201-48840-101
$60.00
Cisco CP-8845-K9 5 Line IP Video Phone - Charcoal
$25.00
Cisco 8841 CP-8841-K9 VoIP Business IP Phone (Charcoal)
$49.00
LOT OF 10 Cisco CP-7841-K9 VoIP 4-Line Business Phone w/ Stand Handset Cord
$69.99