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.
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.
|
|
08-06-2015, 06:54 AM
|
#1
|
Member
Registered: Jul 2015
Location: Pittsburgh, PA, US
Distribution: Slackware
Posts: 120
Rep:
|
Switching to generic-kernel with initrd.gz
I'm using Slackware 14.1 with the 3.10.17 kernel and had a question how to proof that system uses generic-kernel for booting. After I had created an initrd.gz with /usr/share/mkinitrd/mkinitrd_command_generator.sh command and add line initrd = /boot/initrd.gz to /etc/lilo.conf is it necessary to substitute image = /boot/vmlinuz line with image = /boot/vmlinuz-generic-3.10.17? Or should I leave image = /boot/vmlinuz untouched?
|
|
|
08-06-2015, 07:00 AM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792
|
You need to have your lilo.conf entry point to the correct kernel. /boot/vmlinuz is just a symlink, so you can either change the symlink to point it to the generic kernel or you can change the image line in lilo.conf to point to the actual kernel instead of vmlinuz. Don't forget to run lilo afterwards.
I'd keep an entry in there for the huge kernel until you know you have it working properly.
|
|
|
08-06-2015, 07:12 AM
|
#3
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
|
It's generally a good idea to replace the /boot/vmlinuz symlink in /etc/lilo.conf by the "real thing", e. g. /boot/vmlinuz-huge-3.10.17, /boot/vmlinuz-smp-3.10.17-smp, /boot/vmlinuz-generic-3.10.17, etc.
Here's a little HOWTO based on Slackware 14.0:
http://www.microlinux.fr/microlinux/...rnel-HOWTO.txt
Cheers,
Niki
|
|
|
08-06-2015, 07:13 AM
|
#4
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,438
|
Our BDFL is now distributing generic kernel packages that, when installed, create a symlink in /boot so that /boot/vmlinuz points to the generic kernel.
If you use slackpkg to perform upgrades, and have the huge kernel packages blacklisted, then you can safely use the /boot/vmlinuz entry in lilo.conf
Warning! - You need to create a new initrd and rerun lilo after a kernel upgrade if you do this.
http://www.linuxquestions.org/questi...0/#post5327847
Last edited by allend; 08-06-2015 at 07:18 AM.
|
|
|
All times are GMT -5. The time now is 03:22 AM.
|
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
|
|