On Sun, 2006-05-21 at 16:36 +0200, Per Jessen wrote:
Hugo Garcia wrote:
On 5/21/06, Per Jessen
wrote: Hugo Garcia wrote:
Hi
Just a wild idea but... I would like to use the Cisco VPN sofware but unfortunately it doesn't work with SMP kernels. It is possible to switch kernel at boottime to that I can use the Cisco VPN software and then switch bach to my SMP kernel when I do not need to connect via VPN?
Yep, this can be setup quite easily with lilo or grub.
/Per Jessen, Zürich
Thanks Per for the lead. I will do the required googling but if you or anybody else has the url for how to do this then I thank you in advance.
Hugo, it's not too complicated. Check out /etc/lilo.conf - there you will already see 2 entries for booting Linux - the normal and the failsafe. You just need to add a third entry for your nonsmp kernel for use with cisco VPN.
Copy the first entry:
image = /boot/vmlinuz label = Linux append = "splash=silent showopts" initrd = /boot/initrd root = /dev/hda3
and correct the name of the kernel image you wish to boot. If your nonsmp kernel is called "/boot/vmlinuz-nonsmp-4ciscovpn". you just correct the image= statement.
The easier way. Open YaST-->package Management and make sure that both the smp and default kernels are installed. This automatically add an entry in grub for you to choose which one to boot to. Keep in mind that there will be error messages when booting to the smp kernel that you can ignore (regarding the Cisco VPN not working). I used to do this all the time when I was working. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998