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.
With Slackware 12.1 and KDE 3.5.9, I boot to the full GUI run level 4 or 5, and using only that huge SMP kernel, with no initial RAM disk. So if I do make a initrd, can I boot up with just the smaller generic kernel, and what is better when booting that way ? Is there a readme file for how to do that in the boot folder, right ? Also some kernels have a version with a "PAE" at the end, what is that ? Thanks for any help on this.
With the huge SMP kernel you *can* sometimes get into trouble, e.g. if two drivers claim the same device because as many drivers as possible are in this case "built-in", instead of compiled as modules. On the contrary, in the case of the generic kernel most drivers are compiled as modules. The main reason because you could need an initrd if you use a generic kernel is that as in this case most file systems are compiled as modules, in many cases you need to load at time of booting the driver for your root filesystem's root partition, otherwise you couldn't boot. For instance as I use reiserfs for my root partition I use a initrd wich is so to speak a bundle of the kernel and the reiserfs module.
By the way all that is explained in the file CHANGES_AND_HINTS.TXT at the top level of you installation CD and yes, you will find instructions for making and using an initrd in the file /boot/README.initrd
Sorry for my bad English, I'd better post in French next time
Last edited by Didier Spaier; 02-03-2009 at 01:00 AM.
Reason: Typo
Is there a readme file for how to do that in the boot folder, right ?
Yes, if you look in the /boot directory you will see the README.initrd that explains how to create an initrd.
You then have to edit lilo.conf to boot the generic kernel and then rerun lilo.
Well I see then, and thanks for the replies. So if I need that other type of kernel, (the generic smaller one), I can install it from either my DVD or with the built in package tool or that slackpkg tool, right ?
If you did a full install of Slackware, or at least if you installed everything from the a/ series: http://slackware.oregonstate.edu/sla...2/slackware/a/
...then you already have the generic kernels installed. If not, then yes, you can install the generic kernels from the Slackware DVD with pkgtool. As per the Slackware Changes and Hints.txt you should run the generic-smp kernel unless you have a specific reason to not use the smp kernel.
If you are not sure whether or not you installed the generic kernels, just look for them listed in your /var/log/packages directory or find the kernels in your /boot directory.
I did follow the initial ram disk readme file steps to create a initrd, and then made the changes in my main grub boot menu file, and it booted up just fine. Yes right, I did have all the kernels installed from my full default Slackware install, (2 generic, and 2 huge). I did not really notice any thing different during the boot and load process with initrd. So should it be faster to GUI desktop, and use less system memory too ?
So should it be faster to GUI desktop, and use less system memory too ?
You can try, just keep two entries in Grub, one for the huge-smp and one for the generic-smp.
I do not expect you will find a noticeable difference in memory usage unless you blacklist a lot of "heavy" modules -- but some applications are a lot more memory hungry than the kernel itself anyway.
You should not see any speed difference with GUI desktop either.
As far as I know, the main advantage is the ability you get to choose the driver which will be loaded for a specific device, thus avoiding problems such as the same device claimed by different drivers.
With Slackware 12.1 and KDE 3.5.9, I boot to the full GUI run level 4 or 5, and using only that huge SMP kernel, with no initial RAM disk. So if I do make a initrd, can I boot up with just the smaller generic kernel, and what is better when booting that way ? Is there a readme file for how to do that in the boot folder, right ? Also some kernels have a version with a "PAE" at the end, what is that ? Thanks for any help on this.
initrd is required only if you don't want to compile required modules into kernel. "required modules" mean root filesystem support, maybe something hardware-specific, etc. I believe it is also required if root partition is encrypted. If this is not your case, you don't have to use initrd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.