FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
as FC4 (I think true for any FC) does not come with NTFS support. As I have a NTFS partition on my PC, I need to recompile the kernel. I know how to do it the 'dirty way', but I would like to do it the distro compliant way.......
Here what I thought I need to do (as I am writing this, you can assume it is not working :-)):
Download the kernel.src.rpm and install it
Changing the SPEC flie slightly (disabeling the smp and xen kernel)
rpmbuild -bp --target i686 <spec-file>
go to the source path 'make gconfig' and configure the kernel the way I need
make bzImage
make modules
rpmbuild -bi --short-circuit --target .....
and than the command to build the actual rpm (not sure about this as I never reached this!
Doing the rpmbuild -bi gives me error messages:
Building target platforms: i686
Building for target i686
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.44076
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd kernel-2.6.11
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd linux-2.6.11
+ /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/kernel-2.6.11
0 blocks
find: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/usr/lib: No such file or directory
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Processing files: kernel-2.6.11-1.1369_FC4.root
Fehler: File not found by glob: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/boot/*-2.6.11-1.1369_FC4.root
Fehler: File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/boot/System.map-2.6.11-1.1369_FC4.root
Fehler: File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/boot/config-2.6.11-1.1369_FC4.root
Fehler: File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/lib/modules/2.6.11-1.1369_FC4.root
Fehler: File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/lib/modules/2.6.11-1.1369_FC4.root/kernel
Fehler: File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/lib/modules/2.6.11-1.1369_FC4.root/build
Fehler: File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/lib/modules/2.6.11-1.1369_FC4.root/source
Processing files: kernel-devel-2.6.11-1.1369_FC4.root
Fehler: File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/usr/src/kernels/2.6.11-1.1369_FC4.root-i686
Processing files: kernel-debuginfo-2.6.11-1.1369_FC4.root
RPM build errors:
File not found by glob: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/boot/*-2.6.11-1.1369_FC4.root
File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/boot/System.map-2.6.11-1.1369_FC4.root
File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/boot/config-2.6.11-1.1369_FC4.root
File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/lib/modules/2.6.11-1.1369_FC4.root
File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/lib/modules/2.6.11-1.1369_FC4.root/kernel
File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/lib/modules/2.6.11-1.1369_FC4.root/build
File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/lib/modules/2.6.11-1.1369_FC4.root/source
File not found: /var/tmp/kernel-2.6.11-1.1369_FC4.root-root/usr/src/kernels/2.6.11-1.1369_FC4.root-i686
Any ideas? (For sure I just could do the make install, but that would be the dirty way, isn't it :-))
I think that is the current kernel driver. So if I want to mount a NTFS file system, I need to change the kernel!
But anyhow, I know how to solve THAT problem, I was more interested in understanding what is the way to recompile the kernel using the rpmbuild command, but still customize the kernel!
no that ntfs module can be included in ur present kernel
also after u inastall the kernel source,then to compile that is same as compiing a normal kernel
u should use the rpm build command after u are sure that the kernel u compiled is fine for u
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.