Solved

Cannot upgrade Smoothwall Kernel

Posted on 2004-09-15
13
437 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 16

Author Comment

by:OliWarner
Comment Utility
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
Comment Utility
Execute 'lilo', then reboot.
0
 
LVL 16

Author Comment

by:OliWarner
Comment Utility
[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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 16

Author Comment

by:OliWarner
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
0
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
All the same, you've helped out and you did kind of help find the source of all the pain... thanks
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now