Quote:
Originally posted by Zaskar
heya guys im installing Debian on a Dual P3, im guessing it doesnt auto detect its a dual and will install a normal kernal by default.
Whats the easiest way to make it supported for a dual processor? (i seem to have trouble with compiling kernals, i always mess something up when making a newer vesion upgrade at the end when it asks for lilo config options >< )
-Krause
|
apt-get install kernel-image-?.?.??-?-686-smp then open /etc/lilo.conf for editing and make sure that you have a line for the initrd in the section for the new kernel it should look similar to this when it is right.
Code:
# Boot up Linux by default.
#
default=Linux
image=/vmlinuz
label=Linux
initrd=/boot/initrd.img-2.4.18-586tsc
read-only
# restricted
# alias=1
image=/vmlinuz.old
label=LinuxOLD
read-only
optional
# restricted
# alias=2
Or you could just use
initrd=/initrd.img in the section which should be a symbolic link to the /boot/initrd.img-?.?.??-?-686-smp that you installed for example what the link looks like for my firewall.
Code:
DoopeyTux:/home/stephen# ls -l /initrd.img
lrwxrwxrwx 1 root root 30 Apr 7 18:18 /initrd.img -> /boot/initrd.img-2.4.18-586tsc
To find the images available to you assuming you have Woody installed like on my firewall use this.
Code:
DoopeyTux:/home/stephen# apt-cache search kernel image smp
kernel-image-2.4.16-686-smp - Linux kernel image 2.4.16 on PPro/Celeron/PII/PIII SMP.
kernel-image-2.4.18-686-smp - Linux kernel image 2.4.18 on PPro/Celeron/PII/PIII/PIV SMP.
kernel-image-2.4.18-1-686-smp - Linux kernel image 2.4.18 on PPro/Celeron/PII/PIII/PIV SMP.
So it looks like you would want be installing kernel-image-2.4.18-1-686-smp. When apt is installing the kernel say ok to the fact you will have to edit lilo to put in the initrd line then no to the question of the boot floppy and yes to using the existing lilo configuration to write to the disk now edit the lilo.conf make the change necessary for the initrd line save the file and exit and don't forget to run the command
/sbin/lilo -v to write the changes to the disk now reboot and you should have both processors used.