Operating Systems > Linux and UNIX
Recompiling Kernel for NTFS Reading
billy_gates:
quote:Originally posted by X11:
You are changing the kernel, and may want the numbering to reflect that. So edit /usr/src/linux/Makefile and change your EXTRAVERSION (e.g. Change -18 to -18ntfs).
--- End quote ---
I don't have a "linux" folder in my /usr/src folder.
here is the ls output for my /usr/src folder:
linux-2.4 linux-2.4.18-14 redhat
[ December 21, 2002: Message edited by: Billy Gates: Mac Commando ]
voidmain:
If you get an "error 2", do not go any farther! You need to figure out what the error is. You'll need to paste in about the last 10-15 lines prior to the error so I can see where it is failing. And if you have an Athlon processor you may have to turn off that SCSI modules. Whether you have SCSI or not the kernel configuration is set up to compile many more modules than you actually need.
Also create a symbolic link "/usr/src/linux" by typing this:
# cd /usr/src
# ln -s linux-2.4 linux
Then
# cd linux
Then follow the directions on my web page. Trust me they work. If you have an error, let me know what the error is and I'll tell you how to fix it. Do *not* install the kernel if the compile is not successful. I probably should add that note to the HOWTO about not going any farther if one of the make's fail with an "error 2". To me it is obvious, but apparently it is not obvious to everyone.
[ December 21, 2002: Message edited by: void main ]
billy_gates:
Sry. I was mistaken, the error came during make bzImage
here are a couple of the lines prior to the errors
--- Code: ---
--- End code ---
it doesn't seem to like my PCI drivers?
also is there any way I can disable all scsci support in my kernel, I might as well since I'm recompiling it anyway?
billy_gates:
I just went with void's installing kernel 2.4.20 and configured it to not support scsi and enabled ntfs reading. It configured poerfectly and I'm running it right now. Thanks for all you help guys, I appreciate being helped (being new at this and all). Now I have to test my ntfs reading and see if installing nvidia drivers works on this kernel.
voidmain:
Did you change anything with the "make xconfig"? If so you have to rerun the:
# make dep
# make clean
prior to doing the "make bzImage" and "make modules". Watch very closely at each step to make sure they don't end with an error. That message indicates to me you didn't do the previous steps. "devlist.h" should get created during the "make modules" stage if all the previous makes went alright.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version