Solved

Cannot upgrade Smoothwall Kernel

Posted on 2004-09-15
13
447 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
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

791 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