SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I have just finished reading all the posts in the HAL with slack 12 sticky and found it extremely helpful. I am running a custom version of the generic SMP kernel using an initrd.gz to load my ext2 filesystem module and HAL works great.
My question is this:
Is it possible to compile the necessary filesystem support into this kernel directly to avoid using the initrd.gz? When I was creating the config file I didn't see an option for ext2 (don't ask me why I chose this partition type) and I don't want to go back to the huge kernel and lose HAL functionality.
On the other hand, is it possible to change the partition type to ext3 without losing data?
Thanks in advance and HI PAPPY_MCFAE if you're out there. I really enjoyed reading your posts.
Last edited by songangel; 03-28-2009 at 11:48 AM.
Reason: Problem solved
I haven't had the experience with Slack, but I have compiled many kernels.
And I never use a initrd. I compile filesystem support directly into the kernel and install any modules separately.
Have you tried any git sources from kernel.org?
My kernel compiles are quick and completely custom to my hardware. I might be totally wrong with what your asking, but it seems in your case, its a matter of creating and compiling a new kernel.
Quote:
e.g.
# cd /usr/src/linux
# make oldconfig
# make menuconfig #Here under filesystems add the filesystem support
# make -j3 && make modules_install
# cp arch/(ARCH x86 or x86_64)/boot/bzimage /boot/whatevernameyouwant
Last edited by manwithaplan; 03-26-2009 at 05:42 PM.
I haven't had the experience with Slack, but I have compiled many kernels.
And I never use a initrd. I compile filesystem support directly into the kernel and install any modules separately.
Have you tried any git sources from kernel.org?
My kernel compiles are quick and completely custom to my hardware. I might be totally wrong with what your asking, but it seems in your case, its a matter of creating and compiling a new kernel.
Thanks for the response but the problem I had was that I didn't see an option to compile the ext2 filesystem into the kernel. Again, I am using a customized version of the generic SMP kernel from the slack CD.
It almost seems that I have to choose between the generic kernel to have HAL but having to use an initrd, or the huge kernel as a base with no initrd and no HAL support.
The configure option for ext2 is the first in the "File systems" sub-menu if you "make menuconfig", it's called "Second extended fs support". Of course you can choose to have it built-in the kernel.
If you prefer "make xconfig", the same apply: highlight "File systems", it's the first option again. Don't go in one of the sub-directories of the sub-tree, it's at the root of it.
EDIT Screenshots added to make it more clear.
Last edited by Didier Spaier; 08-15-2015 at 05:40 PM.
I'm saying is customize your own.... download the source and create your own... and leave the old kernel in place and troubleshoot if there are any problems by using grub.
In make menuconfig you'll see under
Quote:
File systems -->
<> Second extended fs support
put an asterisks in there ... and re-compile
Better yet and get your own sources and compile a new kernel and symlink the source when fully tested
Thanks everyone for the great responses. I probably just missed it when running make xconfig. I haven't compiled too many kernels so I appreciate the responses.
quick posters on this one... before I could repost your answers where there. Though compiling your own kernel and avoiding unnecessary modules, will help with a faster boot and not having to worry about a initrd.gz file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.