Linux - NewbieThis 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!
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.
It looks like I may need to recompile my kernel to add support for mounting an NTFS partition read-only under Linux. I am not on my box right now, so I can't confirm that I don't have support, but I think the last time I tried I think I followed instructions properly and discovered I don't have NTFS support in my kernel. (I need to do some more checking, so this may not be necessary, but it doesn't alter my core question).
My question in particular is this: when you need to add kernel support for a particular service/action/device/whatever, do you need to recompile the whole thing, or is there a way to "add on" the support?
My main concern is that I currently don't have any way of backing up my system (CD-RW not yet installed, working on it), so I don't want to do anything major that will possibly trash my Linux installation and make me have to start from scratch. (The whirring of the CD drive tends to get boring after a while).
compilation and installation of a new kernel does not prevent you're system from working even if the new kernel doesn't IF you keep a copy of you're old kernel somewhere and make an appropirate entry in you're bootloader.
I for example keep a stable kernel under
/boot/stable/
an bare kernel (in case i mess with the hardware and the currently stable becomes unstable) under
/boot/bare/
and new (experimental) kernels are installed to /boot
I would suggest copy you're kernel to one of those directories and change you're bootmanager. In case something goes wrong you can still boot with a cd and fix it.
build:
When this is done properly I suggest you compile you're new kernel, make an appropirate entry in you're bootmanager and try it out. If it doesn't work boot the old one and goto build.
hope this helps.
btw the kernel is usually called vmlinuz or, if you copy it directly from the kernel source (without make install) it's called bzImage.
You might want copy System.map along with the kernel.
You can safely "test" kernel while still keeping your old one in tact, you just add another entry in your boot loader.
However, yes (assuming you installed kernel sources from your install CD), you can simply fire up make xconfig, skip to the section on whatever you need, change it from N to M, make dep, make modules. Then copy the module over to the /lib/modules directory in the appropriate sub dir. OR, you can make modules_install and hope for the best (I prefer the copy method, however, you can do whatever you feel comfy with).
you dont need to recompile. doing this is very easy as someone explained to me in another thread, here is the link and it explains exactly how to fix this:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.