LILO wont boot default Kernel
Cant tell if theres something I did wrong or if its the boot loader. I need it to boot 2.4.25 one but its stull stuck on 2.4.22-ow1
disk=/dev/sda bios=0x80 boot=/dev/sda map=/boot/map install=/boot/boot.b prompt timeout=50 message=/boot/message linear default=linux image=/boot/vmlinuz-2.4.21 label=linux-old read-only root=/dev/sda7 image=/boot/vmlinuz-2.4.22-ow1 label=linux-old2 read-only root=/dev/sda7 image=/boot/vmlinuz-2.4.23-UP_1.0 label=2.4.24 read-only root=/dev/sda7 image=/boot/vmlinuz-2.4.25-UP_1.1 label=linux read-only root=/dev/sda7 |
Well, what happens at the Lilo prompt? Does it give you the option to boot into any of the other kernels you have listed? If so, when you select your 2.4.25 option, what happens? More details please, we can't assume and not psychic you know.. ;)
|
That i have no idea for sure, I could ask the datacenter, but they charge 50 bucks to look at it to see what it says. Its on a colo-ed machine, thought maybe I would inquire and see if anyone might know. Thought maybe my lilo.con isn't correct, I guess it is :D sorry :)
|
Okay, can you confirm that the kernel your trying to boot to as your default is linux and the kernel name is vmlinuz-2.4.25-UP_1.1, is there a kernel named that in your /boot directory.
|
What errors is it giving you?
|
Yep its there
root@lumina [~]# ls -l /boot total 14096 drwxr-xr-x 3 root root 1024 Feb 22 16:16 ./ drwxr-xr-x 22 root root 1024 Feb 25 10:25 ../ -rw------- 1 root root 7168 Aug 8 2003 aquota.user -rw-r--r-- 1 root root 512 Sep 26 2001 boot.0800 -rw-r--r-- 1 root root 5824 Feb 23 2001 boot.b -rw-r--r-- 1 root root 612 Feb 23 2001 chain.b -rw-r--r-- 1 root root 368355 Sep 26 2001 initrd-2.4.2-2.img -rw-r--r-- 1 root root 369886 Sep 26 2001 initrd-2.4.2-2smp.img lrwxrwxrwx 1 root root 14 Sep 26 2001 kernel.h -> kernel.h-2.4 .2 -rw-r--r-- 1 root root 405 Jul 31 2003 kernel.h-2.4.2 drwxr-xr-x 2 root root 12288 Sep 26 2001 lost+found/ -rw------- 1 root root 25088 Oct 11 21:42 map -rw-r--r-- 1 root root 23108 Feb 23 2001 message lrwxrwxrwx 1 root root 19 Sep 26 2001 module-info -> module-in fo-2.4.2-2 -rw-r--r-- 1 root root 13598 Apr 8 2001 module-info-2.4.2-2smp -rw-r--r-- 1 root root 640 Feb 23 2001 os2_d.b lrwxrwxrwx 1 root root 21 Feb 22 16:16 System.map -> System.map -2.4.22-ow1 -rw-r--r-- 1 root root 471686 Nov 20 2001 System.map-2.4.14-ext3 -rw-r--r-- 1 root root 402866 Jul 30 2003 System.map-2.4.21 -rw-r--r-- 1 root root 428049 Oct 11 21:40 System.map-2.4.22-ow1 -rw-r--r-- 1 root root 427752 Apr 8 2001 System.map-2.4.2-2smp -rw-r--r-- 1 root root 515126 Nov 28 23:42 System.map-2.4.23-UP_1.0 -rw-r--r-- 1 root root 517289 Feb 19 17:26 System.map-2.4.25-UP_1.1 -rw-r--r-- 1 root root 440645 Sep 27 23:03 System.map.old -rwxr-xr-x 1 root root 2479102 Apr 8 2001 vmlinux-2.4.2-2smp* lrwxrwxrwx 1 root root 18 Oct 11 21:40 vmlinuz -> vmlinuz-2.4.2 2-ow1 -rw-r--r-- 1 root root 1036540 Nov 20 2001 vmlinuz-2.4.14-ext3 -rw-r--r-- 1 root root 943804 Jul 30 2003 vmlinuz-2.4.21 -rw-r--r-- 1 root root 984231 Oct 11 21:40 vmlinuz-2.4.22-ow1 -rw-r--r-- 1 root root 840884 Apr 8 2001 vmlinuz-2.4.2-2smp -rw-r--r-- 1 root root 1473754 Nov 28 23:42 vmlinuz-2.4.23-UP_1.0 -rw-r--r-- 1 root root 1483298 Feb 19 17:26 vmlinuz-2.4.25-UP_1.1 -rw-r--r-- 1 root root 1062456 Sep 27 23:03 vmlinuz.old root@lumina [~]# Actually I just did notice something, the system.map and vmlinuz isnt pointing to the right places so tahts why i guess, it should look like this right??? drwxr-xr-x 22 root root 1024 Mar 23 09:07 ../ -rw------- 1 root root 7168 Aug 8 2003 aquota.user -rw-r--r-- 1 root root 512 Sep 26 2001 boot.0800 -rw-r--r-- 1 root root 5824 Feb 23 2001 boot.b -rw-r--r-- 1 root root 612 Feb 23 2001 chain.b -rw-r--r-- 1 root root 368355 Sep 26 2001 initrd-2.4.2-2.img -rw-r--r-- 1 root root 369886 Sep 26 2001 initrd-2.4.2-2smp.img lrwxrwxrwx 1 root root 14 Sep 26 2001 kernel.h -> kernel.h-2.4.2 -rw-r--r-- 1 root root 405 Jul 31 2003 kernel.h-2.4.2 drwxr-xr-x 2 root root 12288 Sep 26 2001 lost+found/ -rw------- 1 root root 25088 Oct 11 21:42 map -rw-r--r-- 1 root root 23108 Feb 23 2001 message lrwxrwxrwx 1 root root 19 Sep 26 2001 module-info -> module-info-2.4.2-2 -rw-r--r-- 1 root root 13598 Apr 8 2001 module-info-2.4.2-2smp -rw-r--r-- 1 root root 640 Feb 23 2001 os2_d.b lrwxrwxrwx 1 root root 24 Mar 23 09:12 System.map -> System.map-2.4.25-UP_1.1 -rw-r--r-- 1 root root 471686 Nov 20 2001 System.map-2.4.14-ext3 -rw-r--r-- 1 root root 402866 Jul 30 2003 System.map-2.4.21 -rw-r--r-- 1 root root 428049 Oct 11 21:40 System.map-2.4.22-ow1 -rw-r--r-- 1 root root 427752 Apr 8 2001 System.map-2.4.2-2smp -rw-r--r-- 1 root root 515126 Nov 28 23:42 System.map-2.4.23-UP_1.0 -rw-r--r-- 1 root root 517289 Feb 19 17:26 System.map-2.4.25-UP_1.1 -rw-r--r-- 1 root root 440645 Sep 27 23:03 System.map.old -rwxr-xr-x 1 root root 2479102 Apr 8 2001 vmlinux-2.4.2-2smp* lrwxrwxrwx 1 root root 21 Mar 23 09:05 vmlinuz -> vmlinuz-2.4.25-UP_1.1 -rw-r--r-- 1 root root 1036540 Nov 20 2001 vmlinuz-2.4.14-ext3 -rw-r--r-- 1 root root 943804 Jul 30 2003 vmlinuz-2.4.21 -rw-r--r-- 1 root root 984231 Oct 11 21:40 vmlinuz-2.4.22-ow1 -rw-r--r-- 1 root root 840884 Apr 8 2001 vmlinuz-2.4.2-2smp -rw-r--r-- 1 root root 1473754 Nov 28 23:42 vmlinuz-2.4.23-UP_1.0 -rw-r--r-- 1 root root 1483298 Feb 19 17:26 vmlinuz-2.4.25-UP_1.1 -rw-r--r-- 1 root root 1062456 Sep 27 23:03 vmlinuz.old |
You are correct. The entries in the default section are actually links. But in your case they point to the wrong entries. Is there a graphical boot setup that you can use. This may also change the /usr/src/linux link if you have the kernel source installed. Sometimes there are kernel-version specific directories for libraries that may be changed in the /etc/ld.so.conf file. Using a graphical setup designed for your distro should catch all of these version dependancies. There may be more version dependency issues if you go from a 2.4 default to a 2.6 default.
|
These are monolithic kernels
|
All times are GMT -5. The time now is 08:54 AM. |