LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Switch from huge-smp-2.6.21.5 to generic-2.6.21.5 (https://www.linuxquestions.org/questions/slackware-14/switch-from-huge-smp-2-6-21-5-to-generic-2-6-21-5-a-573366/)

tronayne 07-30-2007 08:13 AM

Switch from huge-smp-2.6.21.5 to generic-2.6.21.5
 
When I upgraded Slackware 11.0 to 12.0 (following Robby Workman's Changes_and_Hints.txt and a few other documents) the default kernel turned out to be huge-smp-2.6.21.5 and I'd like to change to generic-2.5.21.5 because there are notes here and there that third-party software might not want to work with the huge kernel (well, VMware doesn't want to).

Looking at the /boot directory, there are these files:
Code:

README.initrd -> /usr/doc/mkinitrd-1.1.3/README.initrd
System.map -> System.map-huge-smp-2.6.21.5-smp
System.map-generic-2.6.21.5
System.map-generic-smp-2.6.21.5-smp
System.map-huge-2.6.21.5
System.map-huge-smp-2.6.21.5-smp
System.old
boot.0800
boot_message.txt
config -> config-huge-smp-2.6.21.5-smp
config-generic-2.6.21.5
config-generic-smp-2.6.21.5-smp
config-huge-2.6.21.5
config-huge-smp-2.6.21.5-smp
System.map,1
diag1.img
map
vmlinuz -> vmlinuz-huge-smp-2.6.21.5-smp
vmlinuz-generic-2.6.21.5
vmlinuz-generic-smp-2.6.21.5-smp
vmlinuz-huge-2.6.21.5
vmlinuz-huge-smp-2.6.21.5-smp
vmlinuz.old

It looks like I could just change the links, run lilo, and maybe be good to go; i.e., relink System.map, config, and vmlinuz.

Before I screw the thing up beyond redemption, is that reasonable or do I have to do something else (like initrd)?

synapse 07-30-2007 08:34 AM

just add a new option to your lilo.conf file


image=/boot/vmlinuz-generic-2.6.21.5
root=/dev/hd**
label= LINUX-2.6.21.5-GEN
read-only

you will however have to create an initrd


All times are GMT -5. The time now is 05:15 AM.