LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-23-2004, 09:41 AM   #1
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Rep: Reputation: 30
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
 
Old 03-23-2004, 09:58 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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..
 
Old 03-23-2004, 10:02 AM   #3
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Original Poster
Rep: Reputation: 30
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 sorry
 
Old 03-23-2004, 10:04 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 03-23-2004, 10:04 AM   #5
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
What errors is it giving you?
 
Old 03-23-2004, 10:20 AM   #6
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Original Poster
Rep: Reputation: 30
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
 
Old 03-23-2004, 04:44 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.

Last edited by jschiwal; 03-23-2004 at 04:46 PM.
 
Old 03-23-2004, 10:58 PM   #8
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 195

Original Poster
Rep: Reputation: 30
These are monolithic kernels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need dual boot help...LILO..Winxp wont boot Scrag Linux - Hardware 2 09-01-2004 12:26 AM
lilo boot screen wont show windows to boot into!! please help Fear58 Linux - General 3 07-10-2004 09:55 PM
Recompiled kernel and LILO wont boot it! pnh73 Linux - Software 9 04-07-2004 02:06 PM
lilo wont boot windows? spade Slackware 1 03-17-2004 03:53 PM
lilo wont boot winxp razey Linux - Software 6 12-06-2001 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration