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.
hi
I'm not a linux guru and just installed slackware 14.0 on virtualbox to learning it. according to Slackbook after installation i tried to change my dfault kernel from huge.smp to generic.smp. I made a initrd.gz using mkinitrd and added the corresponding section to lilo.conf by vi editor and saved it. then I installed lilo again by lilo command and reboot slackware. but it seems that nothing has changed. i dont have any option in boot time for switch between huge or generic kernels. is it normal? how can i find out that my slackware is running by generic kernel?
sorry for my english
On top of what sycamorex wrote, keep in mind, if you do have everything set up correctly but have too short of a timeout (or removed prompt) that it won't give you the time to select a different kernel.
I don't know how to copy shell outputs and paste to windows notepad. so I typed it
here is the final section of my lilo.conf
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda1
initrd = /boot/initrd.gz
lable = linux
read-only
# Linux bootable partition config ends
and this is the output of lilo -v command
Code:
Warning: LBA32 addressing assumed
reading boot sector from /dev/sda
using BITMAP secondary loader
Calling map_insert_data
Mapping bitmap file /boot/slack.bmp
Calling map_insert_file
boot image: /boot/vmlinuz -> vmlinuz-huge-smp-3.2.29-smp
Mapping RAM disk /boot/initrd.gz
The initial RAM disk will be loaded in the high memory above 16M.
Added linux + *
writing boot sector.
/boot/boot/.0800 exists - no boot sector backup copy made.
One warning was issued.
as allend stated, the root cause of your problem is the symbolic link on the file /boot/vmlinuz inside your /etc/lilo.conf file
you should point (ln -s command) to the generic one vmlinuz-generic-smp-3.2.29-smp not vmlinuz-huge-smp-3.2.29-smp
or add a new *linux bootable partition config* entry in your /etc/lilo.conf file
It worked, thanks to allend, I added "lba32" and "large-memory" to global section of lilo.conf and changed "image" line from /boot/vmlinuz to /boot/vmlinuz-generic-smp-3.2.29-smp and then removed all of other kernels from /boot/vmlinuz (is it safe?). now I have some questions, forgive me if they are so amateurish.
1- what is lba32?
2- in my previous installations some beautiful sentences appeared before or after login (I don't remember now) but now it just writes "you have mail" how to enable this feature by default? dose it need to instal special packages?
If you have to ask, then you do not need to know, as you have never dealt with the alternative. As you will find in 'man lilo.conf'
Quote:
Use of 'lba32' is recommended on all post-1998 systems. Beginning with LILO version 22, 'lba32' is the default disk addressing scheme
Quote:
2- in my previous installations some beautiful sentences appeared before or after login (I don't remember now) but now it just writes "you have mail" how to enable this feature by default? dose it need to instal special packages?
That sounds like MOTD (message of the day). Many people ask how to turn that off!
Actually, I do not know how you have managed to suppress it.Perhaps search this forum.
2- in my previous installations some beautiful sentences appeared before or after login (I don't remember now) but now it just writes "you have mail" how to enable this feature by default? dose it need to instal special packages?
You miss the package bsd-games. It's included in a full installation of Slackware, in the y series of packages. Install it or reinstall it.
Strictly speaking, you also need the package etc, but you should have it else you couldn't use your system.
Last edited by Didier Spaier; 01-07-2015 at 01:45 AM.
Reason: Last sentence added.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.