Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-10-2013, 06:43 PM
|
#1
|
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 2,576
Rep:
|
/boot: how do I change the current kernel?
Slackware 14.0
Hi:
I once changed the smp kernel running in my system by another one in /boot. What I did was to relink /boot/System.map, /boot/vmlinuz and /boot/config. But I don't remember if I did something else. Would that alone be OK.
|
|
|
|
01-10-2013, 06:50 PM
|
#2
|
|
Member
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 630
Rep: 
|
You need to rerun lilo so that it reads a new sector list to load the new kernel.
Have you considered adding both kernels into lilo.conf so you can just select the one you want at boot time?
|
|
|
1 members found this post helpful.
|
01-10-2013, 06:50 PM
|
#3
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware, Debian
Posts: 12,522
|
You also have to run lilo to make it aware of the changes.
|
|
|
|
01-10-2013, 07:10 PM
|
#4
|
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 2,576
Original Poster
Rep:
|
ok. An according to CHANGES_AND_HINTS.txt I should make an initrd? I mean, if I use a generic kernel? That thing of the two kernels I like it. I'll do it. Another question.
Code:
Advanced Linux Sound Architecture - Driver
==========================================
Installation guide
Quick install
=============
1) You must have full configured source for the Linux kernel which you
want to use for the ALSA drivers. Note that ALSA drivers are part
of the kernel, so there is necessary to resolve all symbol dependencies
between the used kernel and ALSA driver code. Partly installed kernels
(for example from distributor makers) can be unuseable for this action.
What is the meaning of "full configured source for the Linux kernel"?
Last edited by stf92; 01-10-2013 at 07:17 PM.
|
|
|
|
01-10-2013, 07:21 PM
|
#5
|
|
Member
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 336
Rep: 
|
If you use a generic kernel, yes. The generic kernel doesn't have the filesystems (ext4, ext3, btrfs, etc.) that you (might) use built-in.
|
|
|
1 members found this post helpful.
|
01-10-2013, 07:49 PM
|
#6
|
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 2,576
Original Poster
Rep:
|
Well then, lilo says the ram disk will be loaded above 16M, OK. But what is this token 'large-memory' that can be put in /etc/lilo.conf. I am having trouble booting with a live Linux CD, which is unobjectionable. May it be related to 'large-memory'?
|
|
|
|
01-10-2013, 08:50 PM
|
#7
|
|
Member
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 336
Rep: 
|
I think your /etc/lilo.conf is still using the huge kernel. You can append "large-memory" to /etc/lilo.conf if you want, but I would just recommend using the smaller, generic kernel in your /etc/lilo.conf instead (and then running lilo).
|
|
|
|
01-10-2013, 09:04 PM
|
#8
|
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 2,576
Original Poster
Rep:
|
Oh no. I have just replaced the huge by the generic, precisely. It's in /etc/lilo.conf_example where I saw 'large-memory' used. Would this command (large_memory) be obsolete?
|
|
|
|
01-11-2013, 01:27 AM
|
#9
|
|
Member
Registered: Jul 2004
Distribution: slackware
Posts: 194
Rep:
|
I haven't used it in my lilo confs. Anyway you can always man lilo to see the meanings of config options.
|
|
|
|
01-11-2013, 01:32 AM
|
#10
|
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 2,576
Original Poster
Rep:
|
Of course I've done that. That's why I ask. But if your machine is a modern one, as mine is too, I wound bother to further inquire. Thanks.
|
|
|
|
01-11-2013, 05:05 AM
|
#11
|
|
Member
Registered: Jul 2004
Distribution: slackware
Posts: 194
Rep:
|
After reading this link: http://manpages.ubuntu.com/manpages/...lo.conf.5.html it appears that actually large-memory option specifies that your system is new enough to be able to handle the initrd location beyond 15Mb limit. Without it, the Initrd will be put within the first 15Mb. As I haven't had any problems with loading initrd from the first 15Mb never ever then I haven't investigated about the large-memory option. It is just one of many lilo's capabilities and there might be some special cases where it would be necessary. But usually you can live without it.
|
|
|
|
01-11-2013, 05:14 AM
|
#12
|
|
Member
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 630
Rep: 
|
Loading the initrd after that point is required on some distros that try to do everything in it and bloat it out to the point where it's almost a distro in of itself.
Have not had such a problem with Slackware, though maybe if you forced every module to be in it you might see that problem rear its head.
|
|
|
|
01-11-2013, 05:39 AM
|
#13
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware, Debian
Posts: 12,522
|
The 15MB limit was a problem back in the days of 486 CPUs, if I remember correctly, on modern machines that specific option isn't even available in the BIOS settings. Nonetheless, I only had this message when I misconfigured mkinitrd and it bloated the initrd and when I attempted to run Slackware entirely from the initrd. Usually the initrd shouldn't be that large that you get this message.
What was your command to create the initrd?
|
|
|
|
01-11-2013, 06:32 AM
|
#14
|
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 2,576
Original Poster
Rep:
|
I must tell you I didn't got any message from lilo about the memory limit. I only read /etc/lilo.conf_example and saw that command (large_memory). I suspected it to be obsolete (not deprecated but of little use, I you explained). The command I issued was
Code:
mkinitrd -c -k 3.2.29 -m ext2
where 3.2.29 is my kernel version and ext2 the fs I use in the hard.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:29 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|