Solved

Cannot upgrade Smoothwall Kernel

Posted on 2004-09-15
13
459 Views
Last Modified: 2012-06-27
Hi all, I'm using smoothwall express 2. I install the fixes as told to, but my kernel doesnt upgrade like it should...
If you know of any reasons why a kernel might not upgrade properly in a linux environment please please air your suggestions here...!

Here's a quick link to a few more details about my problem
http://community.smoothwall.org/forum/viewtopic.php?t=9124
0
Comment
Question by:OliWarner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 5
13 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 12071568
According to what you posted on that forum you say that the system is booting 2.4.22, but your lilo.conf doesn't show that kernel as a boot choice. After the updates did you run 'lilo' to install the new boot configuration? Might you have a boot floppy in the drive? Either of those possibilities would explain why it is booting the 2.4.22 kernel when the lilo config doesn't offer that kernel as a choice.
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12071616
the updates install a new boot image in the boot dir and modify the lilo.conf accordingly, apart from even after all the installing and rebooting (this is all i apparently need to do according to the instructions) it still thinks (according to the uname -r command) i'm on 2.4.22
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12071625
Does your lilo.conf show a boot stanza for the 2.4.22 kernel? If it doesn't and you are running that kernel then the MBR hasn't been updated by running lilo after the change to lilo.conf. Well, either that or it is booting from a boot floppy.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 16

Author Comment

by:OliWarner
ID: 12071640
No other boot drive.

The lilo i posted on that forum is exactly how my lilo.conf is... that's all of it...


"If it doesn't and you are running that kernel then the MBR hasn't been updated by running lilo after the change to lilo.conf."
What do I need to do, chief?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12072033
Execute 'lilo', then reboot.
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12074003
[root@smoothwall root]# lilo
Warning: Int 0x13 function 8 and function 0x48 return different
head/sector geometries for BIOS drive 0x81
    fn 08: 1023 cylinders, 64 heads, 63 sectors
    fn 48: 4092 cylinders, 16 heads, 63 sectors
Added old
Added SmoothWall *

I'm glad you know what you're talking about =)
Just time to see if its actually worked...
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12074089
doh...

[root@smoothwall root]# uname -a
Linux smoothwall 2.4.22 #4 Mon Sep 1 17:13:58 BST 2003 i686 athlon i386 GNU/Linux
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12074104
For the record, my /etc/lilo.conf

boot=/dev/harddisk
map=/boot/map
install=/boot/boot-bmp.b
prompt
timeout=100
lba32
default=SmoothWall
read-only
root=/dev/harddisk4
bitmap=/boot/image.bmp
bmp-colors=13,,12;14,,12
bmp-table=100p,348p,1,3,
bmp-timer=74,29,;,,
append="no-scroll panic=30"
image=/boot/vmlinuz-2.4.26
        label=old
image=/boot/vmlinuz-2.4.27
        label=SmoothWall
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12074623
You have checked to make sure that you don't have a boot floppy in the drive, right?

What does 'fdisk -l /dev/hda' show? And what does 'df' show?
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12074791
0
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 12075645
I see that you stumbled on the source of the problem. If you'd said "I've checked and there's no floppy in the drive" my next question would have been "Is there more than one disk drive in the machine".

What was happening here was that the machine was booting from an MBR other than the one lilo was updating.
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12075775
Yeah, i dont know how or why the MBR gor written to that drive tho... its very odd...
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12075795
All the same, you've helped out and you did kind of help find the source of all the pain... thanks
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question