SW12. Two kernels howto boot either 1 of 2
Hi. Currently running huge-smp
want to try generic-smp (without overwriting) so I can use lilo to boot huge I currently see 3 symlinks in /boot The vmlinuz and the map symlinks are no problem I know how to handle for these in lilo.conf for the generic (the 2nd) kernel. But in /boot there is a config symlink points to config for huge-smp man lilo.conf does not show a config= option. So, is this a concern? If so, how do I point to the config that matches the kernel I'm booting? -- Alan. |
hello
to boot the two seperate kernels look in /boot and read the README.initrd and make a initrd for the generic smp kernel. my entry in lilo.conf is as follows for the generic smp kernel. image = /boot/vmlinuz-generic-smp-2.6.21.5-smp initrd = /boot/initrd.gz root = /dev/hdc1 label = Linux-Smp read-only you will have to change the root = to point to your hardrive. i have had no problems with symlinks or anything else buy following just the README.initrd,you must make sure though after updating lilo.conf that you run lilo as root to update correctly. regards todders |
Quote:
You will need to edit your bootloader configure file. For '/etc/lilo.conf'; Code:
# Code:
~#lilo -v -t -b /dev/your_device #test the '/etc/lilo.conf' |
Possible problems with applications who were compiled with one kernel or another. This is an example:
This /etc/lilo.conf file work fine: Code:
# Linux bootable partition config begins |
It appears then that I need not concern/worry over the map nor the config symlinks that are in /boot
That is a guess on my part due to I guess that all that is needed is: image = /boot/vmlinuz-generic-2.6.21.5 along with the other that has already already been shared about in the lilo.conf I guess the above image = line suffices due to if any map or config info is needed that the path to correct map and config are in this particular kernel If so, then there's no reason to have map and config symlinks in /boot So, perhaps I should be asking the question: I have a Slack 12 installation running huge-smp Why did it put map and config symlinks in /boot ?? |
I think that both generic and huge smp kernels are installed by default. So you simply need to add an entry to lilo.conf if you went with the default during install, and want to switch over to the generic kernel. You don't need to alter anything in the boot/ directory, as long as the symlinks which are in there match your lilo.conf entries. The 'config' files list the kernel configuration and are not used by lilo.
|
why change to generic kernel? i know its smaller, but what are advantages of smaller kernel? speed? memory consumption?
what runs slower if speed is the factor? bootup? i believe todays computers are fast enough, and there is no big diference in speed between those two kernels... i tried both, and i cant seem to notice the diference in speed |
To answer the OPs original question. You can ignore the config file. It's a copy of the kernel configuration used to build the kernel and modules. I guess Pat put a copy in /boot, just as a "placeholder", as you can only have one copy where it's really needed, in /usr/src/linux, and so, can copy the "correct" one, as .config, when you want to do your own kernel compile.
Cheers. |
All times are GMT -5. The time now is 01:16 AM. |